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

I ran this command but met problems #106

Closed
swan815 opened this issue Apr 6, 2018 · 12 comments
Closed

I ran this command but met problems #106

swan815 opened this issue Apr 6, 2018 · 12 comments

Comments

@swan815
Copy link

swan815 commented Apr 6, 2018

I ran this command:conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.4
but showed the error
conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.3
Fetching package metadata ...........
Solving package specifications:

PackageNotFoundError: Packages missing in current channels:

  • spotlight 0.1.3* -> pytorch 0.3.0 -> mkl >=2018
@maciejkula
Copy link
Owner

What Python version? Which operating system?

@swan815
Copy link
Author

swan815 commented Apr 6, 2018

python 2.7
macOS Sierra 10.12.6

@swan815
Copy link
Author

swan815 commented Apr 6, 2018

the terminal shows that
conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.3
Fetching package metadata ...........
Solving package specifications:

PackageNotFoundError: Packages missing in current channels:

  • spotlight 0.1.3* -> pytorch 0.3.0 -> mkl >=2018

We have searched for the packages in the following channels:

@maciejkula
Copy link
Owner

maciejkula commented Apr 6, 2018

It looks like you have actually run an installation command for Spotlight 0.1.3 instead of 0.1.4?

Try

conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.4

as per the installation instructions.

@maciejkula
Copy link
Owner

maciejkula commented Apr 6, 2018

Also, please have a look at how to format code on Github: https://guides.github.com/features/mastering-markdown/#

@swan815
Copy link
Author

swan815 commented Apr 6, 2018

Sorry for the format. I ignored that.

conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.4
Fetching package metadata ...
........
Solving package specifications:

PackageNotFoundError: Packages missing in current channels:

spotlight 0.1.4* -> pytorch 0.3.1.* -> mkl >=2018
We have searched for the packages in the following channels:

https://conda.anaconda.org/maciejkula/osx-64
https://conda.anaconda.org/maciejkula/noarch
https://conda.anaconda.org/pytorch/osx-64
https://conda.anaconda.org/pytorch/noarch
https://conda.anaconda.org/peterjc123/osx-64
https://conda.anaconda.org/peterjc123/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/osx-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch

I tried 0.1.4, but showed the same problem.

@maciejkula
Copy link
Owner

maciejkula commented Apr 6, 2018 via email

@mszep
Copy link

mszep commented Apr 17, 2018

FWIW, I'm getting the same thing. Python 3.6.2 (miniconda) on fedora 27

marks@localhost ~/d/n/m/r/model_testing> conda install -c maciejkula -c pytorch -c peterjc123 spotlight=0.1.4                                                         (usecases) 
Fetching package metadata ...............
Solving package specifications: 

PackageNotFoundError: Packages missing in current channels:
            
  - spotlight 0.1.4* -> pytorch 0.3.1.* -> mkl >=2018
  - spotlight 0.1.4* -> pytorch 0.3.1.* -> cudnn 7.0.*

We have searched for the packages in the following channels:
            
  - https://conda.anaconda.org/maciejkula/linux-64
  - https://conda.anaconda.org/maciejkula/noarch
  - https://conda.anaconda.org/pytorch/linux-64
  - https://conda.anaconda.org/pytorch/noarch
  - https://conda.anaconda.org/peterjc123/linux-64
  - https://conda.anaconda.org/peterjc123/noarch
  - https://repo.continuum.io/pkgs/free/linux-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/linux-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/linux-64
  - https://repo.continuum.io/pkgs/pro/noarch
            

marks@localhost ~/d/n/m/r/model_testing> python --version                                                                                                             (usecases) 
Python 3.6.2 :: Continuum Analytics, Inc.
marks@localhost ~/d/n/m/r/model_testing>

No change even after installing latest pytorch release following instructions on pytorch.org.

However, I was able to install spotlight version 0.1.1 by omitting the version specification from the previous command. Is there a reason for it to be set up this way?

@maciejkula
Copy link
Owner

I made a separate repo with a CI build to reproduce this, but everything looks fine. Can you have a look at the installation script and see if that gives you a hint as to what is wrong?

@mszep
Copy link

mszep commented Apr 18, 2018

Interesting; given that a freshly installed conda works, I tried doing conda update conda (outside of any environment) and that resolved the issue. Perhaps one of the other channels relies on a new feature of conda or something?

On a related note, would you accept a PR which would enable users to install with pip as well? Or is that not feasible due to dependencies like CuDNN or MKL?

@maciejkula
Copy link
Owner

Sure, let's try making it work with pip. I think PyTorch used to be only available on conda, but seeing as it's now on pip as well there is no reason Spotlight shouldn't be.

@maciejkula
Copy link
Owner

Closing now but happy to re-open for pip uploading.

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

3 participants