Closed coxjonc closed 7 years ago
I think the issue is that the palantiri.egg-link soft link generated in site-packages
when you run pip install -e .
points to the root of the project, but the root directory is not itself a python package, so the interpreter can't find a module named palantiri
to import.
I thought this was just an issue with trying to install in dev mode, so I tried installing without the -e
flag, but even then pip says the installation requirement is already satisfied and points to the root of the source directory.
Solved this issue by just dropping Anaconda. A lot easier to control environments I've rolled myself with virtualenv
I'm working in a virtual environment created by conda. When I run
pip install -e .
to installpalantiri
from source, it installs all the dependencies correctly, but fails to installpalantiri
itself. Instead of being built to asite-packages
directory within the virtual environment, pip says that palantiri is already installed and points to the location of the source files. As a result, attempts to runpython setup.py test
throw an ImportError when the script tries to import palantiri, I assume because the source file directory isn't on the python PATH.I've attached the full verbose output of pip install to help with debugging.
error.txt