Cannont run python -m pip install --upgrade cryptography

This forum is for supported devices using an ARMv7 Samsung SoC.

Cannont run python -m pip install --upgrade cryptography

Postby djpharoh » Thu Sep 12, 2019 4:56 pm

Everytime I try to I get this error and I can't make heads or tails of it. This is arch linux arm running on a odroid xu4

Code: Select all
ERROR: Command errored out with exit status 1:
   command: /home/alarm/env/bin/python /home/alarm/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9mspvrvy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; python_implementation != '"'"'PyPy'"'"''
       cwd: None
  Complete output (14 lines):
  Traceback (most recent call last):
    File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
      exec(code, run_globals)
    File "/home/alarm/env/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>
      from pip._internal import main as _main  # isort:skip # noqa
    File "/home/alarm/env/lib/python3.7/site-packages/pip/_internal/__init__.py", line 4, in <module>
      import locale
    File "/usr/lib/python3.7/locale.py", line 16, in <module>
      import re
    File "/usr/lib/python3.7/re.py", line 143, in <module>
      class RegexFlag(enum.IntFlag):
  AttributeError: module 'enum' has no attribute 'IntFlag'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /home/alarm/env/bin/python /home/alarm/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9mspvrvy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
djpharoh
 
Posts: 1
Joined: Thu Sep 12, 2019 4:47 pm

Return to Samsung

Who is online

Users browsing this forum: No registered users and 1 guest