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

Issue installing #54

Closed
pinteavlad1 opened this issue Jun 3, 2018 · 3 comments
Closed

Issue installing #54

pinteavlad1 opened this issue Jun 3, 2018 · 3 comments

Comments

@pinteavlad1
Copy link

I recently bought a Rival 110 and wanted linux software for it. I am currently running Linux Mint Cinnamon 18.3 64-bit and tried installing the software from sources. The clone into the directory works fine but when i run sudo pip install . i get an error. I also tried sudo pip install rivalcfg, and this works fine but the version is 2.6.0, which does not support the Rival 110. I've seen another issue with the same error but the creator of that issue said that he doesn't know what changed and it suddently works. The error message i get is: Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-EdhGDR/hidapi/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-gjBPol/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-EdhGDR/hidapi/ .Thanks in advance :)

@flozz
Copy link
Owner

flozz commented Jun 4, 2018

For your error, it seems that hidapi (a library required by rivalcfg) cannot be compiled, probably a missing dependency. Install this:

apt install python-dev libusb-1.0-0-dev libudev-dev

and try again.

If it does not work, you can try to install the python-hidapi package from your distro repository.


I also tried sudo pip install rivalcfg, and this works fine but the version is 2.6.0, which does not support the Rival 110.

I have to release the 3.0.0, currently you can install it with the following command

pip install rivalcfg==3.0.0b1

@pinteavlad1
Copy link
Author

Worked by installing python-dev, libusb-1.0-0-dev and libudev-dev. Thank you :)

@flozz
Copy link
Owner

flozz commented Jun 4, 2018

I added the missing dependencies to the README :)

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

2 participants