ERROR: Could not find a version that satisfies the requirement pymel==1.2.0 (from versions: none)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I've installed maya 2022 on Ubuntu 20.04. Everything works great except "Pymel2022_64-2022.0-22.0.0.0.x86_64.rpm",
that can't be installed because a python / SSL ? error.
This is the version of python installed as default on Ubuntu 20.04 :
# python3 --version
Python 3.8.10
Below you can see the error that I get. I hope that someone can help me to fix it.
# alien -vc Pymel2022_64-2022.0-22.0.0.0.x86_64.rpm
# apt install libssl-dev
# dpkg -i pymel2022-64_2022.0-23_amd64.deb
# ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/autodesk/maya2022/lib/libssl.so.10
Selecting previously unselected package pymel2022-64.
(Reading database ... 673134 files and directories currently installed.)
Preparing to unpack pymel2022-64_2022.0-23_amd64.deb ...
Unpacking pymel2022-64 (2022.0-23) ...
Setting up pymel2022-64 (2022.0-23) ...
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
ERROR: Could not find a version that satisfies the requirement pymel==1.2.0 (from versions: none)
ERROR: No matching distribution found for pymel==1.2.0
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
dpkg: error processing package pymel2022-64 (--install):
installed pymel2022-64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing.
# ./mayapy -m pip list
Package Version
---------- -------
future 0.18.2
pip 20.2
setuptools 41.2.0
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
# apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libexpat1-dev libpython3-dev libpython3.8-dev python-pip-whl python3-dev python3-setuptools python3-wheel
python3.8-dev
Suggested packages:
python-setuptools-doc
The following NEW packages will be installed:
libexpat1-dev libpython3-dev libpython3.8-dev python-pip-whl python3-dev python3-pip python3-setuptools
python3-wheel python3.8-dev
0 upgraded, 9 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 6.980 kB of archives.
After this operation, 26,4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libexpat1-dev amd64 2.2.9-1ubuntu0.4 [117 kB]
Get:2 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu1~20.04.4 [3.952 kB]
Get:3 http://it.archive.ubuntu.com/ubuntu focal/main amd64 libpython3-dev amd64 3.8.2-0ubuntu2 [7.236 B]
Get:4 http://it.archive.ubuntu.com/ubuntu focal-updates/universe amd64 python-pip-whl all 20.0.2-5ubuntu1.6 [1.805 kB]
Get:5 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu1~20.04.4 [514 kB]
Get:6 http://it.archive.ubuntu.com/ubuntu focal/main amd64 python3-dev amd64 3.8.2-0ubuntu2 [1.212 B]
Get:7 http://it.archive.ubuntu.com/ubuntu focal/main amd64 python3-setuptools all 45.2.0-1 [330 kB]
Get:8 http://it.archive.ubuntu.com/ubuntu focal/universe amd64 python3-wheel all 0.34.2-1 [23,8 kB]
Get:9 http://it.archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-pip all 20.0.2-5ubuntu1.6 [231 kB]
Setting up pymel2022-64 (2022.0-23) ...
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by '
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by '
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by '
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by '
SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pymel/
ERROR: Could not find a version that satisfies the requirement pymel==1.2.0 (from versions: none)
ERROR: No matching distribution found for pymel==1.2.0
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
dpkg: error processing package pymel2022-64 (--configure):
installed pymel2022-64 package post-installation script subprocess returned error exit status 1
Setting up python-pip-whl (20.0.2-5ubuntu1.6) ...
Setting up libpython3-dev:amd64 (3.8.2-0ubuntu2) ...
Setting up python3-dev (3.8.2-0ubuntu2) ...
Setting up python3-pip (20.0.2-5ubuntu1.6) ...
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
pymel2022-64
E: Sub-process /usr/bin/dpkg returned an error code (1)
# pip3 install ssl
Collecting ssl
Downloading ssl-1.16.tar.gz (33 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ljd83g4k/ssl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ljd83g4k/ssl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-ljd83g4k/ssl/pip-egg-info
cwd: /tmp/pip-install-ljd83g4k/ssl/
Complete output (30 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-ljd83g4k/ssl/setup.py", line 33
print 'looking for', f
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('looking for', f)?
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 21, in <module>
from urllib.request import urlopen
File "/usr/lib/python3.8/urllib/request.py", line 88, in <module>
import http.client
File "/usr/lib/python3.8/http/client.py", line 1368, in <module>
import ssl
File "/tmp/pip-install-ljd83g4k/ssl/ssl/__init__.py", line 140
except SSLError, x:
^
SyntaxError: invalid syntax
Original exception was:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-ljd83g4k/ssl/setup.py", line 33
print 'looking for', f
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('looking for', f)?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output.
/usr/autodesk/maya2022/bin/python-bin -m pip install ssl
ERROR: Could not find a version that satisfies the requirement ssl (from versions: none)
ERROR: No matching distribution found for ssl