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

Error while trying to install requirement.txt #30

Open
umegan opened this issue Sep 22, 2023 · 3 comments
Open

Error while trying to install requirement.txt #30

umegan opened this issue Sep 22, 2023 · 3 comments

Comments

@umegan
Copy link

umegan commented Sep 22, 2023

I have issues while running the code on Colab. This problem also occurs on my local PC, but I have no idea what the problem is.

#Run this on Google Colab
!git clone https://github.com/zubair-irshad/CenterSnap.git
!pip install --upgrade pip
!cd CenterSnap && pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html
!pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 -f https://download.pytorch.org/whl/torch_stable.html
!cd CenterSnap && wget https://www.dropbox.com/s/yfenvre5fhx3oda/nocs_test_subset.tar.gz?dl=1 -O nocs_test_subset.tar.gz && tar -xzvf nocs_test_subset.tar.gz

output

Collecting opencv-python==4.5.3.56 (from -r requirements.txt (line 36))
  Downloading opencv-python-4.5.3.56.tar.gz (89.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 MB 9.3 MB/s eta 0:00:00
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.7.1+cu101 (from versions: 1.11.0, 1.11.0+cpu, 1.11.0+cu102, 1.11.0+cu113, 1.11.0+cu115, 1.11.0+rocm4.3.1, 1.11.0+rocm4.5.2, 1.12.0, 1.12.0+cpu, 1.12.0+cu102, 1.12.0+cu113, 1.12.0+cu116, 1.12.0+rocm5.0, 1.12.0+rocm5.1.1, 1.12.1, 1.12.1+cpu, 1.12.1+cu102, 1.12.1+cu113, 1.12.1+cu116, 1.12.1+rocm5.0, 1.12.1+rocm5.1.1, 1.13.0, 1.13.0+cpu, 1.13.0+cu116, 1.13.0+cu117, 1.13.0+cu117.with.pypi.cudnn, 1.13.0+rocm5.1.1, 1.13.0+rocm5.2, 1.13.1, 1.13.1+cpu, 1.13.1+cu116, 1.13.1+cu117, 1.13.1+cu117.with.pypi.cudnn, 1.13.1+rocm5.1.1, 1.13.1+rocm5.2, 2.0.0, 2.0.0+cpu, 2.0.0+cpu.cxx11.abi, 2.0.0+cu117, 2.0.0+cu117.with.pypi.cudnn, 2.0.0+cu118, 2.0.0+rocm5.3, 2.0.0+rocm5.4.2, 2.0.1, 2.0.1+cpu, 2.0.1+cpu.cxx11.abi, 2.0.1+cu117, 2.0.1+cu117.with.pypi.cudnn, 2.0.1+cu118, 2.0.1+rocm5.3, 2.0.1+rocm5.4.2)
ERROR: No matching distribution found for torch==1.7.1+cu101
--2023-09-22 07:22:20--  https://www.dropbox.com/s/yfenvre5fhx3oda/nocs_test_subset.tar.gz?dl=1
Resolving [www.dropbox.com](http://www.dropbox.com/) ([www.dropbox.com](http://www.dropbox.com/))... 162.125.67.18, 2620:100:6035:18::a27d:5512
Connecting to [www.dropbox.com](http://www.dropbox.com/) ([www.dropbox.com)|162.125.67.18|:443](http://www.dropbox.com)|162.125.67.18|:443)... connected.
HTTP request sent, awaiting response... 302 Found
Location: /s/dl/yfenvre5fhx3oda/nocs_test_subset.tar.gz [following]
--2023-09-22 07:22:21--  https://www.dropbox.com/s/dl/yfenvre5fhx3oda/nocs_test_subset.tar.gz
Reusing existing connection to [www.dropbox.com:443](http://www.dropbox.com:443/).
HTTP request sent, awaiting response... 302 Found
Location: https://uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com/cd/0/get/CENv6W8yLpWFgiczyTIWYNHI1nQylbA2ZnU2xpGtjfhabbSZKg3WbuXhUY2TqqSJ1pZyhuD11umlZPdyJu8xLJOtv1XU3rvs4Vb6WakgZTWpkdiRUH_iUQO0w6Ja2DOJqe0vPH7djPBanHjfqMINW0ur/file?dl=1# [following]
--2023-09-22 07:22:22--  https://uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com/cd/0/get/CENv6W8yLpWFgiczyTIWYNHI1nQylbA2ZnU2xpGtjfhabbSZKg3WbuXhUY2TqqSJ1pZyhuD11umlZPdyJu8xLJOtv1XU3rvs4Vb6WakgZTWpkdiRUH_iUQO0w6Ja2DOJqe0vPH7djPBanHjfqMINW0ur/file?dl=1
Resolving uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com (uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com)... 162.125.81.15, 2620:100:6031:15::a27d:510f
Connecting to uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com (uca427e8df016fc2e3c06b9de789.dl.dropboxusercontent.com)|162.125.81.15|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84816800 (81M) [application/binary]
Saving to: ‘nocs_test_subset.tar.gz’

nocs_test_subset.ta 100%[===================>]  80.89M  12.7MB/s    in 6.8s    

2023-09-22 07:22:29 (11.9 MB/s) - ‘nocs_test_subset.tar.gz’ saved [84816800/84816800]

nocs_test_subset/
nocs_test_subset/Real/
nocs_test_subset/Real/test/
nocs_test_subset/Real/test/scene_1/
nocs_test_subset/Real/test/scene_1/0006_color.png
nocs_test_subset/Real/test/scene_1/0006_depth.png
nocs_test_subset/Real/test/scene_2/
nocs_test_subset/Real/test/scene_2/0076_color.png
nocs_test_subset/Real/test/scene_2/0073_depth.png
nocs_test_subset/Real/test/scene_2/0076_depth.png
nocs_test_subset/Real/test/scene_2/0073_color.png
nocs_test_subset/Real/test/scene_3/
nocs_test_subset/Real/test/scene_3/0238_color.png
nocs_test_subset/Real/test/scene_3/0238_depth.png
nocs_test_subset/Real/test_list_subset.txt
nocs_test_subset/checkpoint/
nocs_test_subset/checkpoint/centersnap_real.ckpt
nocs_test_subset/ae_checkpoints/
nocs_test_subset/ae_checkpoints/model_50_nocs.pth
@umegan umegan changed the title Error while trying to install requirement.txt on Colab Error while trying to install requirement.txt Sep 22, 2023
@Parisa-Bagherzadeh
Copy link

I have the same problem

@kordou
Copy link

kordou commented Feb 7, 2024

same problem an solution ?

@nicolawern
Copy link

Also the same problem

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

4 participants