when I try to run: pip3 install -r mcuboot\scripts\requirements.txt, it fails with the following;
Collecting cryptography (from -r mcuboot\scripts\requirements.txt (line 1))
Using cached files.pythonhosted.org/.../cryptography-2.7.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python38\python.exe' 'c:\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\RANDAL~1.PHI\AppData\Local\Temp\pip-build-env-c94k4nae\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 "c:\python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "c:\python38\lib\site-packages\pip\__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "c:\python38\lib\site-packages\pip\_internal\__init__.py", line 4, in <module>
import locale
File "c:\python38\lib\locale.py", line 16, in <module>
And when I try: pip3 install -r zephyr\scripts\requirements.txt I get;
Collecting windows-curses (from -r zephyr\scripts\requirements.txt (line 17))
ERROR: Could not find a version that satisfies the requirement windows-curses (from -r zephyr\scripts\requirements.txt (line 17)) (from versions: none)
ERROR: No matching distribution found for windows-curses (from -r zephyr\scripts\requirements.txt (line 17))
import re
File "c:\python38\lib\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: 'c:\python38\python.exe' 'c:\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\RANDAL~1.PHI\AppData\Local\Temp\pip-build-env-c94k4nae\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.
Requirements.txt for nrf work just fine. I'm not sure what isn't setup correctly that would cause this. All the previous prereqs installed fine.