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

can't install pytorch3d following the instruction one by one #1084

Closed
fengyuan1993012 opened this issue Feb 21, 2022 · 2 comments
Closed

can't install pytorch3d following the instruction one by one #1084

fengyuan1993012 opened this issue Feb 21, 2022 · 2 comments

Comments

@fengyuan1993012
Copy link

If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:

🐛 Bugs / Unexpected behaviors

hello! I have followed the instructions one by one to install the pytorch3d, however, I failed. I have seen many issues, finding the problem could be solved by "conda install -c conda-forge -c fvcore fvcore" correctly executed. I didn't come across any problem when I executed the instruction. And I have also seen the issue #235 finding the problem could be solved by repeatedly following the instructions. however, it didn't work. I have no idea how to fix it. I would appreciate it if you could help me out, Thanks a lot
NOTE: Please look at the existing list of Issues tagged with the label 'bug`. Only open a new issue if this bug has not already been reported. If an issue already exists, please comment there instead..

Instructions To Reproduce the Issue:

Please include the following (depending on what the issue is):

  1. Any changes you made (git diff) or code you wrote
> conda activate pytorch3d
> conda install -c pytorch pytorch torchvision cudatoolkit=10.2
> conda install -c conda-forge -c fvcore fvcore
> conda install jupyter
> pip install scikit-image matplotlib imageio
> pip install black isort flake8 flake8-bugbear flake8-comprehensions
> conda install pytorch3d -c pytorch3d
<put diff or code here>
  1. The exact command(s) you ran:
  2. What you observed (including the full logs):
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                          

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.27=0
  - feature:|@/linux-64::__glibc==2.27=0

Your installed version is: 2.27

<put logs here>
my conda list is below:
```_libgcc_mutex             0.1                        main    defaults
_openmp_mutex             4.5                       1_gnu    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0           py38h7f8727e_0    defaults
attrs                     21.4.0             pyhd3eb1b0_0    defaults
backcall                  0.2.0              pyhd3eb1b0_0    defaults
black                     22.1.0                   pypi_0    pypi
blas                      1.0                         mkl    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
bzip2                     1.0.8                h7b6447c_0    defaults
ca-certificates           2021.10.26           h06a4308_2    defaults
certifi                   2021.10.8        py38h06a4308_2    defaults
cffi                      1.15.0           py38hd667e15_1    defaults
click                     8.0.4                    pypi_0    pypi
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cudatoolkit               10.2.89              hfd86e86_1    defaults
cycler                    0.11.0                   pypi_0    pypi
dbus                      1.13.18              hb2f20db_0    defaults
debugpy                   1.5.1            py38h295c915_0    defaults
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
entrypoints               0.3                      py38_0    defaults
expat                     2.4.4                h295c915_0    defaults
ffmpeg                    4.3                  hf484d3e_0    pytorch
flake8                    4.0.1                    pypi_0    pypi
flake8-bugbear            22.1.11                  pypi_0    pypi
flake8-comprehensions     3.8.0                    pypi_0    pypi
fontconfig                2.13.1               h6c09931_0    defaults
fonttools                 4.29.1                   pypi_0    pypi
freetype                  2.11.0               h70c0345_0    defaults
fvcore                    0.1.5.post20220212    pyhd8ed1ab_0    conda-forge
giflib                    5.2.1                h7b6447c_0    defaults
glib                      2.69.1               h4ff587b_1    defaults
gmp                       6.2.1                h2531618_2    defaults
gnutls                    3.6.15               he1e5248_0    defaults
gst-plugins-base          1.14.0               h8213a91_2    defaults
gstreamer                 1.14.0               h28cd5cc_2    defaults
icu                       58.2                 he6710b0_3    defaults
imageio                   2.16.0                   pypi_0    pypi
importlib-metadata        4.8.2            py38h06a4308_0    defaults
importlib_metadata        4.8.2                hd3eb1b0_0    defaults
intel-openmp              2021.4.0          h06a4308_3561    defaults
ipykernel                 6.4.1            py38h06a4308_1    defaults
ipython                   7.31.1           py38h06a4308_0    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                7.6.5              pyhd3eb1b0_1    defaults
isort                     5.10.1                   pypi_0    pypi
jedi                      0.18.1           py38h06a4308_1    defaults
jinja2                    3.0.2              pyhd3eb1b0_0    defaults
jpeg                      9d                   h7f8727e_0    defaults
jsonschema                3.2.0              pyhd3eb1b0_2    defaults
jupyter                   1.0.0                    py38_7    defaults
jupyter_client            7.1.2              pyhd3eb1b0_0    defaults
jupyter_console           6.4.0              pyhd3eb1b0_0    defaults
jupyter_core              4.9.1            py38h06a4308_0    defaults
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1    defaults
kiwisolver                1.3.2                    pypi_0    pypi
lame                      3.100                h7b6447c_0    defaults
lcms2                     2.12                 h3be6417_0    defaults
ld_impl_linux-64          2.35.1               h7274673_9    defaults
libffi                    3.3                  he6710b0_2    defaults
libgcc-ng                 9.3.0               h5101ec6_17    defaults
libgomp                   9.3.0               h5101ec6_17    defaults
libiconv                  1.15                 h63c8f33_5    defaults
libidn2                   2.3.2                h7f8727e_0    defaults
libpng                    1.6.37               hbc83047_0    defaults
libsodium                 1.0.18               h7b6447c_0    defaults
libstdcxx-ng              9.3.0               hd4cf53a_17    defaults
libtasn1                  4.16.0               h27cfd23_0    defaults
libtiff                   4.2.0                h85742a9_0    defaults
libunistring              0.9.10               h27cfd23_0    defaults
libuuid                   1.0.3                h7f8727e_2    defaults
libuv                     1.40.0               h7b6447c_0    defaults
libwebp                   1.2.0                h89dd481_0    defaults
libwebp-base              1.2.0                h27cfd23_0    defaults
libxcb                    1.14                 h7b6447c_0    defaults
libxml2                   2.9.12               h03d6c58_0    defaults
lz4-c                     1.9.3                h295c915_1    defaults
markupsafe                2.0.1            py38h27cfd23_0    defaults
matplotlib                3.5.1                    pypi_0    pypi
matplotlib-inline         0.1.2              pyhd3eb1b0_2    defaults
mccabe                    0.6.1                    pypi_0    pypi
mistune                   0.8.4           py38h7b6447c_1000    defaults
mkl                       2021.4.0           h06a4308_640    defaults
mkl-service               2.4.0            py38h7f8727e_0    defaults
mkl_fft                   1.3.1            py38hd3c417c_0    defaults
mkl_random                1.2.2            py38h51133e4_0    defaults
mypy-extensions           0.4.3                    pypi_0    pypi
nbclient                  0.5.11             pyhd3eb1b0_0    defaults
nbconvert                 6.3.0            py38h06a4308_0    defaults
nbformat                  5.1.3              pyhd3eb1b0_0    defaults
ncurses                   6.3                  h7f8727e_2    defaults
nest-asyncio              1.5.1              pyhd3eb1b0_0    defaults
nettle                    3.7.3                hbbd107a_1    defaults
networkx                  2.6.3                    pypi_0    pypi
notebook                  6.4.8            py38h06a4308_0    defaults
numpy                     1.21.2           py38h20f2e39_0    defaults
numpy-base                1.21.2           py38h79a1101_0    defaults
olefile                   0.46               pyhd3eb1b0_0    defaults
openh264                  2.1.1                h4ff587b_0    defaults
openssl                   1.1.1m               h7f8727e_0    defaults
packaging                 21.3               pyhd3eb1b0_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
parso                     0.8.3              pyhd3eb1b0_0    defaults
pathspec                  0.9.0                    pypi_0    pypi
pcre                      8.45                 h295c915_0    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    8.4.0            py38h5aabda8_0    defaults
pip                       21.2.4           py38h06a4308_0    defaults
platformdirs              2.5.1                    pypi_0    pypi
portalocker               2.3.2            py38h578d9bd_1    conda-forge
prometheus_client         0.13.1             pyhd3eb1b0_0    defaults
prompt-toolkit            3.0.20             pyhd3eb1b0_0    defaults
prompt_toolkit            3.0.20               hd3eb1b0_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pycodestyle               2.8.0                    pypi_0    pypi
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyflakes                  2.4.0                    pypi_0    pypi
pygments                  2.11.2             pyhd3eb1b0_0    defaults
pyparsing                 3.0.4              pyhd3eb1b0_0    defaults
pyqt                      5.9.2            py38h05f1152_4    defaults
pyrsistent                0.18.0           py38heee7806_0    defaults
python                    3.8.12               h12debd9_0    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python_abi                3.8                      2_cp38    conda-forge
pytorch                   1.10.2          py3.8_cuda10.2_cudnn7.6.5_0    pytorch
pytorch-mutex             1.0                        cuda    pytorch
pywavelets                1.2.0                    pypi_0    pypi
pyyaml                    5.4.1            py38h497a2fe_0    conda-forge
pyzmq                     22.3.0           py38h295c915_2    defaults
qt                        5.9.7                h5867ecd_1    defaults
qtconsole                 5.2.2              pyhd3eb1b0_0    defaults
qtpy                      1.11.2             pyhd3eb1b0_0    defaults
readline                  8.1.2                h7f8727e_1    defaults
scikit-image              0.19.2                   pypi_0    pypi
scipy                     1.8.0                    pypi_0    pypi
send2trash                1.8.0              pyhd3eb1b0_1    defaults
setuptools                58.0.4           py38h06a4308_0    defaults
sip                       4.19.13          py38h295c915_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
sqlite                    3.37.2               hc218d9a_0    defaults
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
termcolor                 1.1.0                      py_2    conda-forge
terminado                 0.13.1           py38h06a4308_0    defaults
testpath                  0.5.0              pyhd3eb1b0_0    defaults
tifffile                  2022.2.9                 pypi_0    pypi
tk                        8.6.11               h1ccaba5_0    defaults
tomli                     2.0.1                    pypi_0    pypi
torchvision               0.11.3               py38_cu102    pytorch
tornado                   6.1              py38h27cfd23_0    defaults
tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd3eb1b0_0    defaults
typing-extensions         3.10.0.2             hd3eb1b0_0    defaults
typing_extensions         3.10.0.2           pyh06a4308_0    defaults
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1                    py38_1    defaults
wheel                     0.37.1             pyhd3eb1b0_0    defaults
widgetsnbextension        3.5.2            py38h06a4308_0    defaults
xz                        5.2.5                h7b6447c_0    defaults
yacs                      0.1.6                      py_0    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zeromq                    4.3.4                h2531618_0    defaults
zipp                      3.7.0              pyhd3eb1b0_0    defaults
zlib                      1.2.11               h7f8727e_4    defaults
zstd                      1.4.9                haebb681_0    defaults


Please also simplify the steps as much as possible so they do not require additional resources to
   run, such as a private dataset.
@fengyuan1993012
Copy link
Author

sorry for the mix. the correct result of conda list is below:
_libgcc_mutex 0.1 main defaults
_openmp_mutex 4.5 1_gnu defaults
_pytorch_select 0.2 gpu_0 defaults
attrs 21.4.0 pyhd3eb1b0_0 defaults
blas 1.0 mkl defaults
ca-certificates 2021.10.26 h06a4308_2 defaults
certifi 2021.10.8 py38h06a4308_2 defaults
cffi 1.15.0 py38hd667e15_1 defaults
cudatoolkit 10.1.243 h6bb024c_0 defaults
cudnn 7.6.5 cuda10.1_0 defaults
fvcore 0.1.5.post20220212 pypi_0 pypi
intel-openmp 2022.0.1 h06a4308_3633 defaults
iopath 0.1.9 pypi_0 pypi
ld_impl_linux-64 2.35.1 h7274673_9 defaults
libffi 3.3 he6710b0_2 defaults
libgcc-ng 9.3.0 h5101ec6_17 defaults
libgfortran-ng 7.5.0 ha8ba4b0_17 defaults
libgfortran4 7.5.0 ha8ba4b0_17 defaults
libgomp 9.3.0 h5101ec6_17 defaults
libstdcxx-ng 9.3.0 hd4cf53a_17 defaults
mkl 2020.2 256 defaults
mkl-service 2.3.0 py38he904b0f_0 defaults
mkl_fft 1.3.0 py38h54f3939_0 defaults
mkl_random 1.1.1 py38h0573a6f_0 defaults
more-itertools 8.12.0 pyhd3eb1b0_0 defaults
ncurses 6.3 h7f8727e_2 defaults
ninja 1.10.2 py38hd09550d_3 defaults
numpy 1.18.1 py38h4f9e942_0 defaults
numpy-base 1.18.1 py38hde5b4d6_1 defaults
openssl 1.1.1m h7f8727e_0 defaults
packaging 21.3 pyhd3eb1b0_0 defaults
pillow 9.0.1 pypi_0 pypi
pip 21.2.4 py38h06a4308_0 defaults
pluggy 0.13.1 py38h06a4308_0 defaults
portalocker 2.4.0 pypi_0 pypi
py 1.11.0 pyhd3eb1b0_0 defaults
pycparser 2.21 pyhd3eb1b0_0 defaults
pyparsing 3.0.4 pyhd3eb1b0_0 defaults
pytest 5.4.2 py38_0 defaults
python 3.8.2 hcff3b4d_14 defaults
pytorch 1.4.0 cuda101py38h02f0884_0 defaults
pytorch3d 0.6.1 pypi_0 pypi
pyyaml 6.0 pypi_0 pypi
readline 8.1.2 h7f8727e_1 defaults
setuptools 58.0.4 py38h06a4308_0 defaults
six 1.16.0 pyhd3eb1b0_1 defaults
sqlite 3.37.2 hc218d9a_0 defaults
tabulate 0.8.9 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
tk 8.6.11 h1ccaba5_0 defaults
torchvision 0.5.0 pypi_0 pypi
tqdm 4.62.3 pypi_0 pypi
wcwidth 0.2.5 pyhd3eb1b0_0 defaults
wheel 0.37.1 pyhd3eb1b0_0 defaults
xz 5.2.5 h7b6447c_0 defaults
yacs 0.1.8 pypi_0 pypi
zlib 1.2.11 h7f8727e_4 defaults

@fengyuan1993012
Copy link
Author

the problem has been resolved by the following instructions:
conda create --name quick_test_env python=3.8
conda activate quick_test_env
conda install numpy pillow matplotlib
conda install -c conda-forge opencv
conda install pytorch=1.10.0 torchvision torchaudio cudatoolkit=11.3 -c pytorch -c conda-forge
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
conda install -c pytorch3d pytorch3d
thanks a lot
#1076

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

1 participant