Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft Visual C++ 14 or greater required #26

Closed
NicholasduToit opened this issue Jun 7, 2024 · 0 comments
Closed

Microsoft Visual C++ 14 or greater required #26

NicholasduToit opened this issue Jun 7, 2024 · 0 comments

Comments

@NicholasduToit
Copy link

NicholasduToit commented Jun 7, 2024

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 pypa/setuptools#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant