Closed dekathomas closed 2 years ago
HELLO! in line 164, setup.py, add "==3.2" after "matplotlib", it should looks like the picture above. It works for me.
just use python3.6 , not 3.7 otherwise you will encounter another problem
Hello, sorry I got another error
Install `cython_bbox`...
Collecting git+https://github.com/yanfengliu/cython_bbox.git
Cloning https://github.com/yanfengliu/cython_bbox.git to c:\users\dekac\appdata\local\temp\pip-req-build-gy98xdpx
Running command git clone -q https://github.com/yanfengliu/cython_bbox.git 'C:\Users\dekac\AppData\Local\Temp\pip-req-build-gy98xdpx'
Building wheels for collected packages: cython-bbox
Building wheel for cython-bbox (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\dekac\anaconda3\envs\alphapose\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"'; __file__='"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\dekac\AppData\Local\Temp\pip-wheel-emxfa_xu'
cwd: C:\Users\dekac\AppData\Local\Temp\pip-req-build-gy98xdpx\
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'cython_bbox' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
ERROR: Failed building wheel for cython-bbox
Running setup.py clean for cython-bbox
Failed to build cython-bbox
Installing collected packages: cython-bbox
Running setup.py install for cython-bbox ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\dekac\anaconda3\envs\alphapose\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"'; __file__='"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\dekac\AppData\Local\Temp\pip-record-1app417v\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dekac\anaconda3\envs\alphapose\Include\cython-bbox'
cwd: C:\Users\dekac\AppData\Local\Temp\pip-req-build-gy98xdpx\
Complete output (5 lines):
running install
running build
running build_ext
building 'cython_bbox' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\dekac\anaconda3\envs\alphapose\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"'; __file__='"'"'C:\\Users\\dekac\\AppData\\Local\\Temp\\pip-req-build-gy98xdpx\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\dekac\AppData\Local\Temp\pip-record-1app417v\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dekac\anaconda3\envs\alphapose\Include\cython-bbox' Check
the logs for full command output.
I have tried to search Microsot Visual C++ 14.0, but I don't find that version.
Okay guys, this problem has been solved. The solution for this problem is you have to download Microsoft Visual C++ Build Tools through this link.
Hello, I just run this command
python setup.py build develop
and then I got error like thisI have tried to upgrade the python version to 3.7 but other errors come. Do you have any suggestions what I should do to fix the error? I run that script because I follow INSTALL.md. Thank you.