cbcpost requires installation path to be in PYTHONPATH
I would like to install cbcpost in a directory that is not (currently) in my PYTHONPATH, could you please consider relaxing this error message:
meg@nyx:~/local/fenics-dev/src/cbcpost (git:master)$ python setup.py install --prefix=/home/meg/local/fenics-dev running install Checking .pth file support in /home/meg/local/fenics-dev/lib/python2.7/site-packages/ /usr/bin/python -E -c pass TEST FAILED: /home/meg/local/fenics-dev/lib/python2.7/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
/home/meg/local/fenics-dev/lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
'/home/meg/local/lib/python2.7/site-packages:'
Comments (2)
-
-
- changed status to invalid
This is a setuptools issue I suppose, so I'll change this to invalid.
- Log in to comment
Considering the error message comes from setuptools itself, I don't know how to do that?