Open Karsten385 opened 1 year ago
Seems to be the same as #6592
Their solution of deleting the 'venv' folder, worked for me!
Best of luck.
I solved it by remove and reinstall python and pip, and also remove the 'venv' folder.
same problem on centos8 i had tried reinstall python(3.10.6) and pip, and remove the 'venv' folder,but it not work
Could not fetch URL https://download.pytorch.org/whl/cu117/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu117/torch/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
ERROR: No matching distribution found for torch==1.13.1+cu117
/> same problem on centos8 i had tried reinstall python(3.10.6) and pip, and remove the 'venv' folder,but it not work
Could not fetch URL https://download.pytorch.org/whl/cu117/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu117/torch/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none) ERROR: No matching distribution found for torch==1.13.1+cu117
i fix this problem by reinstall openssl, and reinstall python 3.10.6 with new openssl. all steps are as follow :
wget https://www.openssl.org/source/openssl-1.1.1a.tar.gz tar -zxvf openssl-1.1.1a.tar.gz cd openssl-1.1.1a
./config --prefix=/usr/local/openssl no-zlib make make install
mv /usr/bin/openssl /usr/bin/openssl.bak mv /usr/include/openssl/ /usr/include/openssl.bak
ln -s /usr/local/openssl/include/openssl /usr/include/openssl ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/local/lib64/libssl.so ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf ldconfig -v
openssl version
yum groupinstall -y "Development tools" yum install -y ncurses-devel gdbm-devel xz-devel sqlite-devel tk-devel uuid-devel readline-devel bzip2-devel libffi-devel xz-devel mesa-libGL python-backports-lzma
./configure --with-openssl=/usr/local/openssl && make && make install ln -s /usr/local/bin/pip3 /usr/bin/pip3 ln -s /usr/local/bin/python3 /usr/bin/python3
Is there an existing issue for this?
What happened?
Can't install torch/torchvision when running webui-user.bat
Steps to reproduce the problem
Run webui-user.bat
What should have happened?
Program should have installed torch/torchvision
Commit where the problem happens
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of extensions
No
Console logs
Additional information
Running windows 10, Nvidia 1050ti graphics card if that is necessary.