facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.84k stars 1.32k forks source link

install pytorch3d #1822

Open jihyeheo opened 5 months ago

jihyeheo commented 5 months ago

help me.

torch 2.0.0 torchaudio 2.0.0 torchvision 0.15.0

and cuda version 11.8

Why can't I install pytorch3d?

TheOtherRealm commented 2 months ago

Are you getting:

ERROR: Invalid requirement: "'git+https://github.com/facebookresearch/pytorch3d.git@stable'": Expected package name at the start of dependency specifier
    'git+https://github.com/facebookresearch/pytorch3d.git@stable'
    ^

Or

(ai) PS C:\Develop\ai> micromamba install pytorch3d -c pytorch3d
pytorch3d/noarch                                              No change
pytorch3d/win-64                                              No change

Pinned packages:
  - python 3.12.*

error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ pytorch3d does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs

I am getting those messages despite:

Running pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable": gives successfull:

(ai) PS C:\Develop\ai> pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable"
Collecting git+https://github.com/facebookresearch/pytorch3d.git@stable
  Cloning https://github.com/facebookresearch/pytorch3d.git (to revision stable) to c:\users\someone\appdata\local\temp\pip-req-build-sc2x3_j2
  Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/pytorch3d.git 'C:\Users\Someone\AppData\Local\Temp\pip-req-build-sc2x3_j2'
  Running command git checkout -q 89653419d0973396f3eff1a381ba09a07fffc2ed
  Resolved https://github.com/facebookresearch/pytorch3d.git to commit 89653419d0973396f3eff1a381ba09a07fffc2ed
  Preparing metadata (setup.py) ... done
Requirement already satisfied: fvcore in c:\users\someone\micromamba\envs\ai\lib\site-packages (from pytorch3d==0.7.7) (0.1.5.post20221221)
Requirement already satisfied: iopath in c:\users\someone\micromamba\envs\ai\lib\site-packages (from pytorch3d==0.7.7) (0.1.10)
Requirement already satisfied: numpy in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (1.26.4)
Requirement already satisfied: yacs>=0.1.6 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (0.1.8)
Requirement already satisfied: pyyaml>=5.1 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (6.0.1)
Requirement already satisfied: tqdm in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (4.66.4)
Requirement already satisfied: termcolor>=1.1 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (2.4.0)
Requirement already satisfied: Pillow in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (10.4.0)
Requirement already satisfied: tabulate in c:\users\someone\micromamba\envs\ai\lib\site-packages (from fvcore->pytorch3d==0.7.7) (0.9.0)
Requirement already satisfied: typing-extensions in c:\users\someone\micromamba\envs\ai\lib\site-packages (from iopath->pytorch3d==0.7.7) (4.12.2)
Requirement already satisfied: portalocker in c:\users\someone\micromamba\envs\ai\lib\site-packages (from iopath->pytorch3d==0.7.7) (2.10.0)
Requirement already satisfied: pywin32>=226 in c:\users\someone\micromamba\envs\ai\lib\site-packages (from portalocker->iopath->pytorch3d==0.7.7) (306)
Requirement already satisfied: colorama in c:\users\someone\micromamba\envs\ai\lib\site-packages (from tqdm->fvcore->pytorch3d==0.7.7) (0.4.6)