-
Notifications
You must be signed in to change notification settings - Fork 24
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
VIGEM_ERROR_BUS_NOT_FOUND #4
Comments
Hi! Mmh I don't know, we already had an issue with people trying to use python 32 bits but it is supposed to be fixed in current versions of the library. Could you try with a 64 bits version of python on the machine on which you get the bug please? To see whether this is the python version or something else; but according to your error vigem-client did not find vigembus installed on your machine, the guy in this related issue DuroSoft/XJoy#48 seems to have fixed their issue by reinstalling vigembus but I don't see why this should work the second time (caution: they use an older version of vigembus, vgamepad uses 1.17.333). Could you also try to uninstall vigembus (nefarius solutions, should be version 1.17.333) manually from your PC, then pip uninstall vgamepad, and then pip install vgamepad again? |
Hi, couldn't figure out how to uninstall vigembus, so just ran the installer again. While the x86 one crashed, the x64 one completed successfully again. This time I am still running it with 32 bit python, I could change it if you would want to test that too. Thank you for the great library, now I'm the owner of a working potentiometer as a steering wheel))) |
Cool I'm glad that's fixed :) I might understand what happened, I'm not sure. When you pip install vgamepad, this script is executed, and I call platform.architecture() to determine whether your system is 32 or 64 bits, so as to determine what vigembus installer should be executed. Maybe this is a mistake and it actually returns the architecture of the python interpreter instead of that of the PC? To fix the problem, you ran the x64 installer by downloading it directly from the vigembus github? |
Yes! It turns out
I think that you want something like this instead of lines 9-12 in setup.py:
(https://stackoverflow.com/questions/2208828/detect-64bit-os-windows-in-python) I ended up searching through the whole system for "vigembus", and reran the installer that pip provided. Not sure if you can fix this, but Also, sorry for the late response! It also seems that the project was well received))) https://www.reddit.com/r/redneckengineering/comments/pwfgyb/new_steering_wheel_just_came_in/ |
Cool! thanks for the solution, I'll fix that. The vigembus installer is part of the vgamepad library, it is downloaded by pip where pip installs vgamepad (and both the x86 and x64 installers are downloaded) (Wow, the project looks impressive, congrats!) |
This should be fixed in 0.0.4 :) |
Although I am not quite sure why the 32 bits installer didn't work on your 64 bits machine. |
Hi, this is a great project! However, I've gotten into some trouble trying to install it.
With Windows 10 64 bit,
python 3.7.1 (32-bit)
,pip 21.1.3
, after successfully runningpip install vgamepad
, trying toimport vgamepad
results in the following error messages:I have since succeded in installing vgamepad on another Windows 10 64 bit machine (
python 3.9.7 64-bit
,pip 21.0.1
).Could this be because of a difference between 32-bit and 64-bit versions? Also, the username on the machine with the failed attempt has spaces in it, while the other one doesn't.
I have tried
pip uninstall vgamepad
to reinstall it again, but still had the same problem. While reinstalling I didn't have to redo theViGEmBus driver
part.What could be the problem? Thank you very much!
The text was updated successfully, but these errors were encountered: