Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support using CAN Over Serial on Linux embeded board

Đang mở
#1,879 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
linux, python

Hướng nghiên cứu

Không có tệp mã nguồn, bài kiểm thử hoặc điểm vào triển khai nào được nêu. Trước tiên, hãy tái hiện lỗi pip install python-can[serial] đã được báo cáo trên một thiết bị Linux nhúng chạy Python 3.11, sau đó xác định xem vấn đề nằm ở python-can, msgpack hay môi trường đóng gói của nền tảng. Công việc được xem là hoàn tất khi đã xác định một thay đổi cụ thể về triển khai hoặc khả năng tương thích để cho phép CAN over serial trên các thiết bị đích.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
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.

Ngôn ngữ chính
Python
Star
1.6k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hardbyte/python-can

Tất cả issue của hardbyte/python-can

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.