Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Support using CAN Over Serial on Linux embeded board

Aberta
#1,879 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
linux, python

Direção de pesquisa

Nenhum arquivo-fonte, teste ou ponto de entrada da implementação foi indicado. Comece reproduzindo a falha relatada de pip install python-can[serial] em um dispositivo Linux embarcado com Python 3.11 e, em seguida, determine se o problema está no python-can, no msgpack ou no ambiente de empacotamento da plataforma. O trabalho estará concluído quando houver uma alteração definida de implementação ou compatibilidade que habilite CAN over serial nos dispositivos-alvo.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
1.6k
Forks
697
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de hardbyte/python-can

Todas as issues de hardbyte/python-can

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.