This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pip3 install -r zephyr\scripts\requirements.txt

Hi, 

I'm having some issues trying to install the additional python dependencies for both zephyr and nrf

but it's not really working 

I'm using this version of python because 3.7 and 3.8 made me a lot off conflicts with west init

PS C:\Python310\lib\site-packages\pip> python --version
Python 3.10.0b4

C:\Python310\lib\site-packages\pip> pip3 --version
pip 21.1.3 from c:\python310\lib\site-packages\pip (python 3

i even tried to upgrade the setup tools but wasn't solve the problem

this is the error with 

pip3 install -r zephyr\scripts\requirements.txt
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses

and this is the error with
pip3 install -r nrf\scripts\requirements.txt
ERROR: Command errored out with exit status 1:
command: 'c:\python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rzaafouri\\AppData\\Local\\Temp\\pip-install-mroxeqwa\\regex_93422de57bad4bf38b78380776fdf9a2\\setup.py'"'"'; __file__='"'"'C:\\Users\\rzaafouri\\AppData\\Local\\Temp\\pip-install-mroxeqwa\\regex_93422de57bad4bf38b78380776fdf9a2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\rzaafouri\AppData\Local\Temp\pip-record-y9vzeegr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python310\Include\regex'
cwd: C:\Users\rzaafouri\AppData\Local\Temp\pip-install-mroxeqwa\regex_93422de57bad4bf38b78380776fdf9a2\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\regex
copying regex_3\__init__.py -> build\lib.win-amd64-3.10\regex
copying regex_3\regex.py -> build\lib.win-amd64-3.10\regex
copying regex_3\_regex_core.py -> build\lib.win-amd64-3.10\regex
copying regex_3\test_regex.py -> build\lib.win-amd64-3.10\regex
running build_ext
building 'regex._regex' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": visualstudio.microsoft.com/.../
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rzaafouri\\AppData\\Local\\Temp\\pip-install-mroxeqwa\\regex_93422de57bad4bf38b78380776fdf9a2\\setup.py'"'"'; __file__='"'"'C:\\Users\\rzaafouri\\AppData\\Local\\Temp\\pip-install-mroxeqwa\\regex_93422de57bad4bf38b78380776fdf9a2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\rzaafouri\AppData\Local\Temp\pip-record-y9vzeegr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python310\Include\regex' Check the logs for full command output.


m seeking help from you

i even looked for all the similar situation on the Forum but none of them helped me 
thanks in advance

Parents Reply Children
Related