Skip to content

Support using CAN Over Serial on Linux embeded board #1879

Open
@VoLinhTruc

Description

@VoLinhTruc

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions