cbcpost requires installation path to be in PYTHONPATH

Issue #2 invalid
Marie Elisabeth Rognes created an issue

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)

  1. Martin Sandve Alnæs

    Considering the error message comes from setuptools itself, I don't know how to do that?

  2. Log in to comment