bensondaled / pseyepy

PSEye-py: a python interface to the PS3Eye camera
Apache License 2.0
78 stars 26 forks source link

Microsoft Visual C++ 14 or greater required #26

Closed NicholasduToit closed 2 months ago

NicholasduToit commented 3 months ago

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 and easy_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