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

Support using CAN Over Serial on Linux embeded board #1879

Open
VoLinhTruc opened this issue Oct 21, 2024 · 0 comments
Open

Support using CAN Over Serial on Linux embeded board #1879

VoLinhTruc opened this issue Oct 21, 2024 · 0 comments

Comments

@VoLinhTruc
Copy link

VoLinhTruc commented Oct 21, 2024

Is your feature request related to a problem? Please describe.

No, I need your support to make this library could run on Linux Embedded device (raspberry pi, orange pi, luckfox-RV1106,...).
Background: I try to install python-can by using pip on Linux embedded device but it always has error:

***Console log ------------------------------------------------------------------------------------------

`[root@luckfox root]# pip install python-can[serial]
WARNING: The directory '/oem/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Collecting python-can[serial]
Downloading python_can-4.4.2-py3-none-any.whl (265 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 265.2/265.2 kB 501.0 kB/s eta 0:00:00
Collecting wrapt~=1.10
Downloading wrapt-1.16.0-py3-none-any.whl (23 kB)
Collecting packaging>=23.1
Downloading packaging-24.1-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 6.5 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=3.10.0.0 in /usr/lib/python3.11/site-packages (from python-can[serial]) (4.4.0)
Collecting msgpack~=1.0.0
Downloading msgpack-1.0.8.tar.gz (167 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.0/167.0 kB 2.4 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> [1 lines of output]
/usr/bin/python: can't open file '/usr/lib/python3.11/site-packages/pip/pip-runner.py': [Errno 2] No such file or directory
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

***Console log ------------------------------------------------------------------------------------------

Describe the solution you'd like

N/A

Describe alternatives you've considered

I have no idea :)

Additional context

Your support is very meaningful to us to make it possible to use CAN over serial on embedded device.

Thank you a lot in advance.

@VoLinhTruc VoLinhTruc changed the title Support embeded linux board Support using CAn Over Serial on Linux embeded board Oct 21, 2024
@VoLinhTruc VoLinhTruc changed the title Support using CAn Over Serial on Linux embeded board Support using CAN Over Serial on Linux embeded board Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant