pip install --user fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I want to install a module in ~/.local which pip install --user should do, according to the docs but instead it fails. Here's the output:
$ pip install --install-
Downloading/
Downloading TermRecord-
Running setup.py (path:/
Downloading/
Downloading Jinja2-2.7.3.tar.gz (378kB): 378kB downloaded
Running setup.py (path:/
warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/lib/
Installing collected packages: TermRecord, Jinja2
Running setup.py install for TermRecord
changing mode of build/scripts-
error: could not create '/usr/local/
Complete output from command /usr/bin/python -c "import setuptools, tokenize;
running install
running build
running build_scripts
creating build
creating build/scripts-2.7
copying and adjusting src/TermRecord -> build/scripts-2.7
changing mode of build/scripts-
running install_data
creating /usr/local/
error: could not create '/usr/local/
-------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;
Storing debug log for failure in /home/shock/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-pip 1.5.4-1
ProcVersionSign
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 24 21:47:31 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-05-02 (145 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitec
SourcePackage: python-pip
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in python-pip (Ubuntu): | |
status: | New → Incomplete |
Attached pip log file.