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

Raspberry Pi Installation #3

Open
aramperez opened this issue Aug 27, 2019 · 6 comments
Open

Raspberry Pi Installation #3

aramperez opened this issue Aug 27, 2019 · 6 comments

Comments

@aramperez
Copy link

It appears that on a RasPi you need to install with the sudo command. But you still get an error concerning the PyQt5 files:
Traceback (most recent call last):
File "/usr/local/bin/lewansoul_lx16a_terminal", line 4, in
import('pkg_resources').run_script('lewansoul-lx16a-terminal==0.1', 'lewansoul_lx16a_terminal')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PyQt5' distribution was not found and is required by lewansoul-lx16a-terminal

I've tried installing the PyQt5 package with Preferences->Add/Remove Software but I still get an error.

@maximkulkin
Copy link
Owner

It seems to be a problem with RPi python-pyqt5 (and python3-pyqt5) debian packages which do not include .egg-info files or directories. The easiest way would be to edit setup.py in this repo to remove dependency on PyQt5

@aramperez
Copy link
Author

I'll try to do that but I do not know Python that well. Thanks!

@1scai
Copy link

1scai commented Oct 14, 2020

I'll try to do that but I do not know Python that well. Thanks!

aramperez did you figure out how to control the arm with the pi? I'm having the same issue. Thanks.

@aramperez
Copy link
Author

Sorry, that was more than 1 year ago. I was able install the package and can communicate with the servos. However, I ended up writing my own library in C++ based on the request from my client.

@BerGar92
Copy link

Hi, it's been a while since this thread was messaged but I'm trying to work with these servos myself and am currently struggling to interact with them other than the desktop software for individual servo control/debug. You say you created your own C++ library for them few questions, first is it possible to get that library? second did you end up running it on a RP or for use with Arduino like I have seen in some of your other projects? finally did you manage to get full functionality out of them with every command which is programmed into them?

@aramperez
Copy link
Author

Hi BerGar92, I'll have to ask my client if he wants to open source the library. It runs on a RP but should be adaptable to an Arduino. I haven't look at the library is quite a while but IIRC, it had most of the functionality. It shouldn't be hard to add any missing functionality.

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

4 participants