Closed monajalal closed 1 year ago
Fixed:
(base) mona@ard-gpu-01:~/Unseen_Object_Pose$ conda create --name UnseenObjectPose python=3.7.11
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/mona/anaconda3/envs/UnseenObjectPose
added / updated specs:
- python=3.7.11
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
ca-certificates pkgs/main/linux-64::ca-certificates-2023.01.10-h06a4308_0
certifi pkgs/main/linux-64::certifi-2022.12.7-py37h06a4308_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2
libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
openssl pkgs/main/linux-64::openssl-1.1.1t-h7f8727e_0
pip pkgs/main/linux-64::pip-22.3.1-py37h06a4308_0
python pkgs/main/linux-64::python-3.7.11-h12debd9_0
readline pkgs/main/linux-64::readline-8.2-h5eee18b_0
setuptools pkgs/main/linux-64::setuptools-65.6.3-py37h06a4308_0
sqlite pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0
tk pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
wheel pkgs/main/linux-64::wheel-0.38.4-py37h06a4308_0
xz pkgs/main/linux-64::xz-5.2.10-h5eee18b_1
zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate UnseenObjectPose
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) mona@ard-gpu-01:~/Unseen_Object_Pose$ conda activate UnseenObjectPose
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose$ conda install pytorch=1.7.1 torchvision cudatoolkit=10.1 -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/mona/anaconda3/envs/UnseenObjectPose
added / updated specs:
- cudatoolkit=10.1
- pytorch=1.7.1
- torchvision
The following packages will be downloaded:
package | build
---------------------------|-----------------
pytorch-1.7.1 |py3.7_cuda10.1.243_cudnn7.6.3_0 552.8 MB pytorch
torchvision-0.8.2 | py37_cu101 17.9 MB pytorch
------------------------------------------------------------
Total: 570.6 MB
The following NEW packages will be INSTALLED:
blas pkgs/main/linux-64::blas-1.0-mkl
cudatoolkit pkgs/main/linux-64::cudatoolkit-10.1.243-h6bb024c_0
freetype pkgs/main/linux-64::freetype-2.12.1-h4a9f257_0
giflib pkgs/main/linux-64::giflib-5.2.1-h5eee18b_3
intel-openmp pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561
jpeg pkgs/main/linux-64::jpeg-9b-h024ee3a_2
lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0
libpng pkgs/main/linux-64::libpng-1.6.39-h5eee18b_0
libtiff pkgs/main/linux-64::libtiff-4.1.0-h2733197_1
libuv pkgs/main/linux-64::libuv-1.44.2-h5eee18b_0
libwebp pkgs/main/linux-64::libwebp-1.2.0-h89dd481_0
lz4-c pkgs/main/linux-64::lz4-c-1.9.4-h6a678d5_0
mkl pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640
mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py37h7f8727e_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.3.1-py37hd3c417c_0
mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py37h51133e4_0
ninja pkgs/main/linux-64::ninja-1.10.2-h06a4308_5
ninja-base pkgs/main/linux-64::ninja-base-1.10.2-hd09550d_5
numpy pkgs/main/linux-64::numpy-1.21.5-py37h6c91a56_3
numpy-base pkgs/main/linux-64::numpy-base-1.21.5-py37ha15fc14_3
pillow pkgs/main/linux-64::pillow-9.3.0-py37hace64e9_1
pytorch pytorch/linux-64::pytorch-1.7.1-py3.7_cuda10.1.243_cudnn7.6.3_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1
torchvision pytorch/linux-64::torchvision-0.8.2-py37_cu101
typing_extensions pkgs/main/linux-64::typing_extensions-4.3.0-py37h06a4308_0
zstd pkgs/main/linux-64::zstd-1.4.9-haebb681_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose$ python
Python 3.7.11 (default, Jul 27 2021, 14:32:16)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__version__
'1.7.1'
>>> quit()
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose$ conda install pytorch3d-0.6.1-py37_cu101_pyt171.tar.bz2
Downloading and Extracting Packages
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose$ python
Python 3.7.11 (default, Jul 27 2021, 14:32:16)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> import pytorch3d
>>> from pytorch3d import _C
>>>
The one I downloaded was: https://anaconda.org/pytorch3d/pytorch3d/0.6.1/download/linux-64/pytorch3d-0.6.1-py37_cu101_pyt171.tar.bz2
Hi could you please help me with a fix to this problem? I followed your instructions step-by-step.
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose/Render$ conda install -c pytorch pytorch=1.7.1 torchvision
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
Package Plan
environment location: /home/mona/anaconda3/envs/UnseenObjectPose
added / updated specs:
The following packages will be downloaded:
The following NEW packages will be INSTALLED:
brotlipy pkgs/main/linux-64::brotlipy-0.7.0-py37h27cfd23_1003 cffi pkgs/main/linux-64::cffi-1.15.1-py37h74dc2b5_0 charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0 cryptography pkgs/main/linux-64::cryptography-39.0.1-py37h9ce1e76_0 cudatoolkit pkgs/main/linux-64::cudatoolkit-11.0.221-h6bb024c_0 freeglut pkgs/main/linux-64::freeglut-3.0.0-hf484d3e_5 idna pkgs/main/linux-64::idna-3.4-py37h06a4308_0 intel-openmp pkgs/main/linux-64::intel-openmp-2021.4.0-h06a4308_3561 jasper pkgs/main/linux-64::jasper-2.0.14-hd8c5072_2 lcms2 pkgs/main/linux-64::lcms2-2.12-h3be6417_0 libgfortran4 pkgs/main/linux-64::libgfortran4-7.5.0-ha8ba4b0_17 libglu pkgs/main/linux-64::libglu-9.0.0-hf484d3e_1 libopencv pkgs/main/linux-64::libopencv-3.4.2-hb342d67_1 libuv pkgs/main/linux-64::libuv-1.44.2-h5eee18b_0 mkl pkgs/main/linux-64::mkl-2021.4.0-h06a4308_640 mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py37h7f8727e_0 mkl_fft pkgs/main/linux-64::mkl_fft-1.3.1-py37hd3c417c_0 mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py37h51133e4_0 ninja pkgs/main/linux-64::ninja-1.10.2-h06a4308_5 ninja-base pkgs/main/linux-64::ninja-base-1.10.2-hd09550d_5 numpy-base pkgs/main/linux-64::numpy-base-1.21.5-py37ha15fc14_3 pillow pkgs/main/linux-64::pillow-9.4.0-py37h6a678d5_0 py-opencv pkgs/main/linux-64::py-opencv-3.4.2-py37hb342d67_1 pycparser pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0 pyopenssl pkgs/main/linux-64::pyopenssl-23.0.0-py37h06a4308_0 pysocks pkgs/main/linux-64::pysocks-1.7.1-py37_1 pytorch pytorch/linux-64::pytorch-1.7.1-py3.7_cuda11.0.221_cudnn8.0.5_0 requests pkgs/main/linux-64::requests-2.28.1-py37h06a4308_0 torchvision pkgs/main/linux-64::torchvision-0.13.1-cpu_py37h164cc8f_0 urllib3 pkgs/main/linux-64::urllib3-1.26.14-py37h06a4308_0
The following packages will be REMOVED:
libblas-3.9.0-15_linux64_openblas libcblas-3.9.0-15_linux64_openblas libgfortran5-12.2.0-h337968e_19 liblapack-3.9.0-15_linux64_openblas libopenblas-0.3.20-pthreads_h78a6416_0
The following packages will be UPDATED:
ca-certificates conda-forge::ca-certificates-2022.12.~ --> pkgs/main::ca-certificates-2023.01.10-h06a4308_0
The following packages will be SUPERSEDED by a higher-priority channel:
certifi conda-forge/noarch::certifi-2022.12.7~ --> pkgs/main/linux-64::certifi-2022.12.7-py37h06a4308_0 libgfortran-ng conda-forge::libgfortran-ng-12.2.0-h6~ --> pkgs/main::libgfortran-ng-7.5.0-ha8ba4b0_17 numpy conda-forge::numpy-1.21.6-py37h976b52~ --> pkgs/main::numpy-1.21.5-py37h6c91a56_3 scipy conda-forge::scipy-1.7.3-py37hf2a6cf1~ --> pkgs/main::scipy-1.7.3-py37hc147768_0
The following packages will be DOWNGRADED:
blas 1.0-openblas --> 1.0-mkl ffmpeg 4.2.2-h20bf706_0 --> 4.0-hcdf2ecd_0 harfbuzz 4.3.0-hf52aaf7_1 --> 1.8.8-hffaf4a1_0 hdf5 1.10.6-h3ffc7dd_1 --> 1.10.2-hba1933b_1 opencv 4.6.0-py37h417a72b_3 --> 3.4.2-py37h6fd60c2_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: / By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
done
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose/Render$ conda install pytorch3d -c pytorch3d
Collecting package metadata (current_repodata.json): done
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:
Your installed version is: 2.35
(UnseenObjectPose) mona@ard-gpu-01:~/Unseen_Object_Pose/Render$ python Python 3.7.11 (default, Jul 27 2021, 14:32:16)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.