Bug #568
Checking .pth file support error
Status: | Resolved | Start date: | 09/14/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
The following error occured on a new rst checkout:
-- Installing: /homes/mgoettin/projects_x86_64_carbon/rst/include/rst/Image.pb.h running install Checking .pth file support in /homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/ error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 2] No such file or directory: '/homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/test-easy-install-26472.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/ This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option). -- Installing: /homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/. -- Installing: /homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/./rst-0.4.0-py2.6.egg
- My assumption is that /homes/mgoettin/projects_x86_64_carbon/rst/lib/python2.6/site-packages/ is created after the check of the .pth file
Associated revisions
History
#1 Updated by J. Wienke almost 13 years ago
It is not created at all. Python requires a basic structure to exist. I don't know if it makes sense to create it with cmake automatically, because you still wont be able to install. setuptools further checks that this folder is in the PYTHONPATH. So you first have to configure your environment before installing in any case.
This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option).
#2 Updated by J. Wienke almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r127.