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

Install Issue #1

Open
hoochiemama opened this issue Jan 5, 2020 · 2 comments
Open

Install Issue #1

hoochiemama opened this issue Jan 5, 2020 · 2 comments

Comments

@hoochiemama
Copy link

ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7fc294_z/hashlib/setup.py'"'"'; file='"'"'/tmp/pip-install-7fc294_z/hashlib/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-7fc294_z/hashlib/pip-egg-info
cwd: /tmp/pip-install-7fc294_z/hashlib/
Complete output (62 lines):
Traceback (most recent call last):
File "", line 1, in
File "/home/user1/.local/lib/python3.6/site-packages/setuptools/init.py", line 18, in
import setuptools.version
File "/home/user1/.local/lib/python3.6/site-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/home/user1/.local/lib/python3.6/site-packages/pkg_resources/init.py", line 36, in
import email.parser
File "/usr/lib/python3.6/email/parser.py", line 12, in
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.6/email/feedparser.py", line 27, in
from email._policybase import compat32
File "/usr/lib/python3.6/email/_policybase.py", line 9, in
from email.utils import _has_surrogates
File "/usr/lib/python3.6/email/utils.py", line 28, in
import random
File "/usr/lib/python3.6/random.py", line 46, in
from hashlib import sha512 as _sha512
File "/tmp/pip-install-7fc294_z/hashlib/hashlib.py", line 80
raise ValueError, "unsupported hash type"
^
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in
import subprocess, tempfile, os.path, re, pwd, grp, os, time
File "/usr/lib/python3.6/tempfile.py", line 184, in
from random import Random as _Random
File "/usr/lib/python3.6/random.py", line 46, in
from hashlib import sha512 as _sha512
File "/tmp/pip-install-7fc294_z/hashlib/hashlib.py", line 80
raise ValueError, "unsupported hash type"
^
SyntaxError: invalid syntax

Original exception was:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/user1/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 18, in <module>
    import setuptools.version
  File "/home/user1/.local/lib/python3.6/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/home/user1/.local/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-install-7fc294_z/hashlib/hashlib.py", line 80
    raise ValueError, "unsupported hash type"
                    ^
SyntaxError: invalid syntax
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@carlosnewmusic
Copy link

image

@ArkaineHeinlein
Copy link

ArkaineHeinlein commented Jan 21, 2020

Hi,

Do this:

easy_install hashlib

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