собственно пишу софтину на python3 + pyqt5. Потребовалось заюзать hmac, ставлю через pip3, выдает:
sudo pip3 install hmac
Collecting hmac
Using cached hmac-20101005.tar.gz
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from hmac)
Collecting hashlib (from hmac)
Using cached hashlib-20081119.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/usr/lib/python3.6/site-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 36, in <module>
import email.parser
File "/usr/lib/python3.6/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.6/email/feedparser.py", line 27, in <module>
from email._policybase import compat32
File "/usr/lib/python3.6/email/_policybase.py", line 9, in <module>
from email.utils import _has_surrogates
File "/usr/lib/python3.6/email/utils.py", line 28, in <module>
import random
File "/usr/lib/python3.6/random.py", line 46, in <module>
from hashlib import sha512 as _sha512
File "/tmp/pip-build-a92_mbm3/hashlib/hashlib.py", line 80
raise ValueError, "unsupported hash type"
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-a92_mbm3/hashlib/
openssl в арче стоит, pyopenssl так же стоит через pip3