Code Monkey home page Code Monkey logo

Comments (4)

bottler avatar bottler commented on July 24, 2024 2

I can reproduce the error in continuumio/miniconda3:4.3.27p0 from the docker hub, which matches the version of conda you are using.

Specifically

sudo docker run --rm -i -t continuumio/miniconda3:4.3.27p0
conda create -n h python=3.6
source activate h
conda install -c pytorch pytorch=1.4 torchvision
conda install -c conda-forge -c fvcore fvcore
conda install -c pytorch3d pytorch3d

If I do the same thing in continuumio/miniconda3:4.4.1, which is the next newer version which has an image available, it works.
(There are cudatoolkit discrepancies but I think that's not the main issue.)
My guess is that our installation instructions don't work on conda versions as old as yours. My guess as to why is as follows. When we rely on pytorch we ask for pytorch=1.4, and we rely on the fuzzy matching by which version 1.4.0 satisfies the requirement for 1.4. This fuzziness was introduced in conda 4.4.

from pytorch3d.

bottler avatar bottler commented on July 24, 2024

The list looks healthy - you have all the dependencies right in that list. (I know you are using a 64bit python on Linux because of the ld package.) There isn't an obvious problem.

Can you try conda install -c pytorch3d pytorch3d --verbose or conda install -c pytorch3d pytorch3d --verbose --verbose? Thanks

from pytorch3d.

peterjohnsonhuang avatar peterjohnsonhuang commented on July 24, 2024

when I try conda install -c pytorch3d pytorch3d --verbose, this is what happened:

An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:

https://github.com/conda/conda/issues

Current conda install:

           platform : linux-64
      conda version : 4.3.27
   conda is private : False
  conda-env version : 4.3.27
conda-build version : 3.0.22
     python version : 3.6.2.final.0
   requests version : 2.18.4
   root environment : /home/pj/anaconda3  (writable)
default environment : /home/pj/anaconda3/envs/pytorch3d
   envs directories : /home/pj/anaconda3/envs
                      /home/pj/.conda/envs
      package cache : /home/pj/anaconda3/pkgs
                      /home/pj/.conda/pkgs
       channel URLs : https://conda.anaconda.org/pytorch3d/linux-64
                      https://conda.anaconda.org/pytorch3d/noarch
                      https://repo.continuum.io/pkgs/main/linux-64
                      https://repo.continuum.io/pkgs/main/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
        config file : None
         netrc file : None
       offline mode : False
         user-agent : conda/4.3.27 requests/2.18.4 CPython/3.6.2 Linux/5.3.10-arch1-1 arch/ glibc/2.30    
            UID:GID : 1004:1004

$ /home/pj/anaconda3/envs/pytorch3d/bin/conda install -c pytorch3d pytorch3d --verbose

Traceback (most recent call last):
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 261, in install
    channel_priority_map=_channel_priority_map, is_update=isupdate)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 489, in install_actions_list
    for specs_by_prefix in required_solves]
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 489, in <listcomp>
    for specs_by_prefix in required_solves]
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 634, in get_actions_for_dists
    pkgs = r.install(specs, installed, update_deps=update_deps)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/resolve.py", line 813, in install
    pkgs = self.solve(specs, returnall=returnall)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/resolve.py", line 853, in solve
    reduced_index = self.get_reduced_index(specs)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/resolve.py", line 374, in get_reduced_index
    specs, features = self.verify_specs(specs)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/resolve.py", line 300, in verify_specs
    raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound: 
  - pytorch3d
  - pytorch 1.4

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
    exit_code = args.func(args, p)
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/cli/main_install.py", line 80, in execute
    install(args, parser, 'install')
  File "/home/pj/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 275, in install
    raise PackageNotFoundError(pkg, channels_urls)
conda.exceptions.PackageNotFoundError: Packages missing in current channels:
            
  - pytorch3d -> pytorch 1.4

We have searched for the packages in the following channels:
            
  - https://conda.anaconda.org/pytorch3d/linux-64
  - https://conda.anaconda.org/pytorch3d/noarch
  - https://repo.continuum.io/pkgs/main/linux-64
  - https://repo.continuum.io/pkgs/main/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

from pytorch3d.

peterjohnsonhuang avatar peterjohnsonhuang commented on July 24, 2024

Ok, thank you for the reply and contribution. I will try again with newer versions!

from pytorch3d.

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.