scikit-tensor icon indicating copy to clipboard operation
scikit-tensor copied to clipboard

setup can't find virtualenv packages

Open jonathanstrong opened this issue 8 years ago • 0 comments

Hey - spent a few minutes trying to track this down but couldn't. When I use various methods to try to install this package, the setup utilities cannot find the dependencies that have definitely been installed.

I'm using a virtualenv. Here's the traceback:

(virtual-env-name)jstrong:~/src/scikit-tensor$ pip install -e .
Obtaining file:///[~]/src/scikit-tensor
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "[~]/src/scikit-tensor/setup.py", line 47, in <module>
        require('numpy', 'scipy', 'nose')
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 648, in require
      File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 546, in resolve
    pkg_resources.DistributionNotFound: numpy

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in [~]/src/scikit-tensor/

numpy definitely installed:

(virtual-env-name)jstrong:~/src/scikit-tensor$ pip freeze | grep numpy
numpy==1.11.1

fwiw also tried python setup.py develop and python setup.py install, same problem.

jonathanstrong avatar Jul 21 '16 22:07 jonathanstrong