Spotlight not working with Python 3.7 ?
tristaneljed opened this issue ยท 5 comments
tristaneljed commented
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 commented
I am facing exactly the same error, any solution ?
maifeng commented
You can git clone the repo and install it:
python setup.py build
python setup.py install
ucalyptus commented
@salahuddin1234 did solution by @maifeng work?
salahuddin1234 commented
Yes @ucalyptus it worked. Thank you
tgalery commented
Any updates to conda which would make the set up easier ?