Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotlight not working with Python 3.7 ? #165

Open
tristaneljed opened this issue Aug 16, 2019 · 5 comments
Open

Spotlight not working with Python 3.7 ? #165

tristaneljed opened this issue Aug 16, 2019 · 5 comments

Comments

@tristaneljed
Copy link

I'm trying to download spotlight on my Mac with Python 3.7 and I'm getting this error:

bash-3.2# conda install -c maciejkula -c pytorch spotlight=0.1.5
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Initial quick solve with frozen env failed.  Unfreezing env and trying again.
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Initial quick solve with frozen env failed.  Unfreezing env and trying again.
Solving environment: failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

  - spotlight=0.1.5 -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.6,<3.7.0a0']

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to.  Your current python version
is (python=3.7).  Note that conda will not change your python version to a different minor version
unless you explicitly specify that.

The following specifications were found to be incompatible with each other:



Package wheel conflicts for:
spotlight=0.1.5 -> scikit-learn -> scipy -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0,>=1.9.3,<2.0a0'] -> mkl_random -> numpy-base[version='>=1.0.2,<2.0a0'] -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.6,<3.7.0a0'] -> pip -> wheel
python=3.7 -> pip -> wheel
Package certifi conflicts for:
python=3.7 -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
spotlight=0.1.5 -> scikit-learn -> scipy -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0,>=1.9.3,<2.0a0'] -> mkl_random -> numpy-base[version='>=1.0.2,<2.0a0'] -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.6,<3.7.0a0'] -> pip -> wheel -> setuptools -> certifi[version='>=2016.09']
Package pip conflicts for:
spotlight=0.1.5 -> scikit-learn -> scipy -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0,>=1.9.3,<2.0a0'] -> mkl_random -> numpy-base[version='>=1.0.2,<2.0a0'] -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.6,<3.7.0a0'] -> pip
python=3.7 -> pip
Package setuptools conflicts for:
spotlight=0.1.5 -> scikit-learn -> scipy -> numpy[version='>=1.11.3,<2.0a0,>=1.15.1,<2.0a0,>=1.9.3,<2.0a0'] -> mkl_random -> numpy-base[version='>=1.0.2,<2.0a0'] -> python[version='>=2.7,<2.8.0a0,>=3.5,<3.6.0a0,>=3.6,<3.7.0a0'] -> pip -> wheel -> setuptools
python=3.7 -> pip -> wheel -> setuptools
@salahuddin1234
Copy link

I am facing exactly the same error, any solution ?

@maifeng
Copy link

maifeng commented Dec 28, 2019

You can git clone the repo and install it:
python setup.py build
python setup.py install

@ucalyptus
Copy link

@salahuddin1234 did solution by @maifeng work?

@salahuddin1234
Copy link

Yes @ucalyptus it worked. Thank you

@tgalery
Copy link

tgalery commented Aug 25, 2020

Any updates to conda which would make the set up easier ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants