[pip 1.0] No such file or directory: ... installed-files.txt
See original GitHub issue# pip --version
pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)
# pip install --install-option='--root=/tmp/ROOT' --install-option='--prefix=/usr' turbogears
Requirement already satisfied (use --upgrade to upgrade): turbogears in /usr/lib/pymodules/python2.7
Requirement already satisfied (use --upgrade to upgrade): CherryPy>=2.3.0,<3.0dev in /usr/lib/pymodules/python2.7 (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): ConfigObj>=4.3.2 in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): FormEncode>=1.2.1 in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): Genshi>=0.4.4 in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): PasteScript[cheetah]>=1.7 in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): PEAK-Rules>=0.5a1.dev-r2555 in /usr/lib/pymodules/python2.7 (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): simplejson>=1.9.1 in /usr/lib/python2.7/dist-packages (from turbogears)
Requirement already satisfied (use --upgrade to upgrade): TurboJson>=1.2.1 in /usr/lib/python2.7/dist-packages (from turbogears)
Downloading/unpacking tgMochiKit>=1.4.2 (from turbogears)
Running setup.py egg_info for package tgMochiKit
Requirement already satisfied (use --upgrade to upgrade): Paste>=1.3 in /usr/lib/python2.7/dist-packages (from PasteScript[cheetah]>=1.7->turbogears)
Requirement already satisfied (use --upgrade to upgrade): PasteDeploy in /usr/lib/python2.7/dist-packages (from PasteScript[cheetah]>=1.7->turbogears)
Requirement already satisfied (use --upgrade to upgrade): BytecodeAssembler>=0.6 in /usr/lib/pymodules/python2.7 (from PEAK-Rules>=0.5a1.dev-r2555->turbogears)
Requirement already satisfied (use --upgrade to upgrade): DecoratorTools>=1.7dev-r2450 in /usr/lib/pymodules/python2.7 (from PEAK-Rules>=0.5a1.dev-r2555->turbogears)
Requirement already satisfied (use --upgrade to upgrade): AddOns>=0.6 in /usr/lib/pymodules/python2.7 (from PEAK-Rules>=0.5a1.dev-r2555->turbogears)
Requirement already satisfied (use --upgrade to upgrade): Extremes>=1.1 in /usr/lib/pymodules/python2.7 (from PEAK-Rules>=0.5a1.dev-r2555->turbogears)
Requirement already satisfied (use --upgrade to upgrade): SymbolType>=1.0 in /usr/lib/pymodules/python2.7 (from BytecodeAssembler>=0.6->PEAK-Rules>=0.5a1.dev-r2555->turbogears)
Installing collected packages: tgMochiKit
Running setup.py install for tgMochiKit
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 228, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1093, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 593, in install
f = open(os.path.join(egg_info_dir, 'installed-files.txt'), 'w')
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/tgMochiKit-1.4.2-py2.7.egg-info/installed-files.txt'
Issue Analytics
- State:
- Created 12 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
python - pip install misses some generated files when writing ...
txt file generated by pip on an install does not list the generated file. As a result, when I uninstall the distribution, it...
Read more >pip 1.0 - PyPI
Fixed finding of VCS binaries to not be fooled by same-named directories. ... Put the install record in Package.egg-info/installed-files.txt (previously ...
Read more >How to Fix Python `No such file or directory` Compiler Errors ...
Missing Compiler Errors. Python packages are typically installed using the pip package manager with the pip install command. pip will print a ...
Read more >Changelog - pip documentation v22.3.1
When pip is asked to uninstall a project without the dist-info/RECORD file it will no longer traceback with FileNotFoundError, but it will provide...
Read more >Release Notes — pip 10.0.0.dev0 documentation
(#3651); Add --not-required option to pip list , which lists packages that are not ... Fix regression with non-ascii requirement files on Python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that the issue is fixed for the above command. Thanks!
Seeing the trivial nature of the changes in #4495, I think it is safe to assume that it is also fixed the general case.
Any idea when Pip 9.0.2 will hit the mark? So I can make my package depend on it. 😃
I encountered this issue too, when installing to a
--user
withPYTHONUSERBASE
set to a relative directory.