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

cannot install from requirements.txt #15

Open
noheat61 opened this issue Sep 22, 2022 · 6 comments
Open

cannot install from requirements.txt #15

noheat61 opened this issue Sep 22, 2022 · 6 comments

Comments

@noheat61
Copy link

noheat61 commented Sep 22, 2022

when I run "pip install -r requirements.txt", I got a problem as follows.

image

can you give me any feedback? Thank you so much!
I use python 3.8, cuda 11.3.

@noheat61 noheat61 changed the title cannot install from requirements.text cannot install from requirements.txt Sep 22, 2022
@pfeducode
Copy link

you can not use pip to install pytorch3d,you should use conda as follows
conda install pytorch3d=0.6.0 -c pytorch3d

@khakhulin
Copy link
Contributor

From my experience, the best option is to build pytorch3d from the source.

@luchaoqi
Copy link

Does anyone successfully set up the environment with the requirements.txt? It doesn't work for me even with conda install pytorch3d=0.6.0 -c pytorch3d.

@anwoflow
Copy link

Windows machine running conda, and the list of missing packages when using requirements.txt is even longer

  • pymcubes==0.1.2
  • pytorch3d==0.6.0
  • prometheus-client==0.11.0
  • lmdb==1.2.1
  • mkl-fft==1.3.1
  • mkl-random==1.2.2
  • pyqt5_sip==4.19.18
  • face-alignment==1.3.4
  • torchsummary==1.5.1
  • kmeans-pytorch==0.3
  • chumpy==0.70
  • pyqt5==5.12.3
  • pytorch-msssim==0.2.1
  • async-generator==1.10
  • opencv-python-headless==4.5.4.58
  • opencv-python==4.5.4.58
  • torchvision==0.11.1
  • fvcore==0.1.5.post20210915
  • sklearn==0.0
  • torch==1.10.0
  • opencv-contrib-python==4.5.4.58

and specifically with pytorch3d "conda install pytorch3d=0.6.0 -c pytorch3d." didn't help either
and honestly I'm not sure if there's a workable windows version

@pfeducode
Copy link

Windows机器运行conda,使用requirements.txt时丢失的包列表更长

  • pymcubes==0.1.2
  • pytorch3d==0.6.0
  • 普罗米修斯客户端==0.11.0
  • lmdb==1.2.1
  • mkl-fft==1.3.1
  • mkl-随机==1.2.2
  • pyqt5_sip==4.19.18
  • 面部对齐==1.3.4
  • 手电筒摘要==1.5.1
  • kmeans-pytorch==0.3
  • 矮胖==0.70
  • pyqt5==5.12.3
  • pytorch-msssim==0.2.1
  • 异步生成器==1.10
  • opencv-python-headless==4.5.4.58
  • opencv-python==4.5.4.58
  • 火炬视觉==0.11.1
  • fvcore==0.1.5.post20210915
  • sklearn==0.0
  • 手电筒==1.10.0
  • opencv-contrib-python==4.5.4.58

特别是 pytorch3d “conda install pytorch3d=0.6.0 -c pytorch3d”。也没有帮助 ,老实说,我不确定是否有可用的 Windows 版本

You should execute these commands on Ubuntu, there will be errors on Windows.

@trThanhnguyen
Copy link

Hi @noheat61, as the author had suggested, I successfully install pytorch3d from source. You can refer to the process via this link.

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

6 participants