Installation Issue on Windows 10
Robinlievrouw opened this issue · 1 comments
Robinlievrouw commented
Hello there, I am having issues with installing pylibfreenect2 from source as well as through the pip package manager. The installation fails everytime with this error:
"building 'pylibfreenect2.libfreenect2' extension
error: [WinError 2] The system cannot find the file specified."
I am running on windows 10, python 3.5.0.
My path variable includes the libfreenect prefix as well as the reference for ld_library.
freenect2 works as the protonect example functions properly.
Any ideas to help?
Collecting pylibfreenect2
Using cached https://files.pythonhosted.org/packages/25/0a/12665fc2a467672ad3daf1823dddbee96ce2b6dfebbb7f3dab97b4a76a84/pylibfreenect2-0.1.2.tar.gz
Requirement already satisfied: numpy>=1.7.0 in c:\users\robin\appdata\local\programs\python\python35\lib\site-packages (from pylibfreenect2) (1.16.2)
Building wheels for collected packages: pylibfreenect2
Building wheel for pylibfreenect2 (setup.py) ... error
Complete output from command c:\users\robin\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Robin\\AppData\\Local\\Temp\\pip-install-htpe9czw\\pylibfreenect2\\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\Robin\AppData\Local\Temp\pip-wheel-rkiq0kzu --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\pylibfreenect2
copying pylibfreenect2\__init__.py -> build\lib.win-amd64-3.5\pylibfreenect2
creating build\lib.win-amd64-3.5\tests
copying tests\test_libfreenect2.py -> build\lib.win-amd64-3.5\tests
copying tests\__init__.py -> build\lib.win-amd64-3.5\tests
running build_ext
building 'pylibfreenect2.libfreenect2' extension
error: [WinError 2] The system cannot find the file specified
----------------------------------------
Failed building wheel for pylibfreenect2
Running setup.py clean for pylibfreenect2
Failed to build pylibfreenect2
Installing collected packages: pylibfreenect2
Running setup.py install for pylibfreenect2 ... error
Complete output from command c:\users\robin\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Robin\\AppData\\Local\\Temp\\pip-install-htpe9czw\\pylibfreenect2\\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\Robin\AppData\Local\Temp\pip-record-bcewbkes\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\pylibfreenect2
copying pylibfreenect2\__init__.py -> build\lib.win-amd64-3.5\pylibfreenect2
creating build\lib.win-amd64-3.5\tests
copying tests\test_libfreenect2.py -> build\lib.win-amd64-3.5\tests
copying tests\__init__.py -> build\lib.win-amd64-3.5\tests
running build_ext
building 'pylibfreenect2.libfreenect2' extension
error: [WinError 2] The system cannot find the file specified
----------------------------------------
Command "c:\users\robin\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Robin\\AppData\\Local\\Temp\\pip-install-htpe9czw\\pylibfreenect2\\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\Robin\AppData\Local\Temp\pip-record-bcewbkes\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Robin\AppData\Local\Temp\pip-install-htpe9czw\pylibfreenect2\
Robinlievrouw commented
Resolved by using Python 3.5.3 instead of 3.5.0