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

Solving environment: failed for $ conda env create -f environment.yml #20

Closed
monajalal opened this issue Apr 25, 2023 · 2 comments
Closed

Comments

@monajalal
Copy link

I think there's a bug in your repo. Running your command directly didn't work.

(base) mona@ard-gpu-01:~/Implicit3DUnderstanding$ conda env create -f environment.yml
Retrieving notices: ...working... done
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound: 
  - torchvision==0.3.0=py36_cu9.0.176_1
  - pytorch==1.1.0=py3.6_cuda9.0.176_cudnn7.5.1_0

my system:

(base) mona@ard-gpu-01:~$ uname -a
Linux ard-gpu-01 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
(base) mona@ard-gpu-01:~$ lsb_release -a
LSB Version:	core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy
(base) mona@ard-gpu-01:~$ nvidia-smi
Tue Apr 25 13:47:22 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   50C    P8    20W /  90W |    871MiB / 16384MiB |      8%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2480      G   /usr/lib/xorg/Xorg                361MiB |
|    0   N/A  N/A      2672      G   ...ome-remote-desktop-daemon        3MiB |
|    0   N/A  N/A      2711      G   /usr/bin/gnome-shell               35MiB |
|    0   N/A  N/A      3231      G   ...AAAAAAAAA= --shared-files       27MiB |
|    0   N/A  N/A      4381      G   ...9/usr/lib/firefox/firefox      320MiB |
|    0   N/A  N/A      9348      G   ...hLaVGrkpw/usr/bin/meshlab      118MiB |
+-----------------------------------------------------------------------------+
(base) mona@ard-gpu-01:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0

(base) mona@ard-gpu-01:~$ conda --version
conda 23.3.1
(base) mona@ard-gpu-01:~$ python --version
Python 3.9.13
(base) mona@ard-gpu-01:~$ python
Python 3.9.13 (main, Aug 25 2022, 23:26:10) 
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

@yuyingyeh
Copy link

@monajalal I solved this by changing the following

- pytorch=1.1.0=py3.6_cuda9.0.176_cudnn7.5.1_0

to - pytorch=1.1.0
and
- torchvision=0.3.0=py36_cu9.0.176_1

to - torchvision=0.3.0

@HardikJain02
Copy link

hey @monajalal , can you help with this error? I have seen you have encountered the same error. #24 (comment)

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

3 participants