I am a novice programmer and would love to get pseyepy working.
I am on windows 10, VS community 2022 and have c++ developer tools included as part of VS.
I have updated the libusb files in the pseyepy repo as necessary for VS2022:
Copied the files from path\libusb-1.0.27\VS2022\MS64\dll to path\pseyepy\ext\win\lib
Copied the libusb.h from path\libusb-1.0.27\include to pseyepy\ext\win\include\libusb-1.0
I have also fixed the syntax errors in setup.py and ensured the paths are correct.
Here are the errors I keep getting:
C:\Users\Nicholas\source\repos\pseyepy>python setup.py install
setup.py:10: UserWarning: Setup params not yet fully tested for Windows. warnings.warn('Setup params not yet fully tested for Windows.') C:\Python38\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!! ****
Please avoid running setup.py directly.
Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. **** !!
self.initialize_options()
C:\Python38\lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!! ****
Please avoid running setup.py and easy_install.
Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. **** !!
I am a novice programmer and would love to get pseyepy working. I am on windows 10, VS community 2022 and have c++ developer tools included as part of VS. I have updated the libusb files in the pseyepy repo as necessary for VS2022:
I have also fixed the syntax errors in setup.py and ensured the paths are correct.
Here are the errors I keep getting:
C:\Users\Nicholas\source\repos\pseyepy>python setup.py install
setup.py:10: UserWarning: Setup params not yet fully tested for Windows. warnings.warn('Setup params not yet fully tested for Windows.') C:\Python38\lib\site-packages\setuptools_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!! ****
Please avoid running
setup.py
directly.Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. **** !!
self.initialize_options()
C:\Python38\lib\site-packages\setuptools_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!! ****
Please avoid running
setup.py
andeasy_install
.Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. **** !!
self.initialize_options()
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Tried installing VS 2019 and running it, also tried installing Microsoft C++ build tools indapendently as it suggests. Any help would be appreciated