Giter VIP home page Giter VIP logo

Comments (12)

maciejkula avatar maciejkula commented on August 16, 2024

What Python version? Which operating system?

from spotlight.

swan815 avatar swan815 commented on August 16, 2024

python 2.7
macOS Sierra 10.12.6

from spotlight.

swan815 avatar swan815 commented on August 16, 2024

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:

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

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.

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

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

from spotlight.

swan815 avatar swan815 commented on August 16, 2024

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.

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

from spotlight.

mszep avatar mszep commented on August 16, 2024

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?

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

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?

from spotlight.

mszep avatar mszep commented on August 16, 2024

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?

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

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.

from spotlight.

maciejkula avatar maciejkula commented on August 16, 2024

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

from spotlight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.