LitexCNC: firmware and driver for 5A-75B and 5A-75E

More
2 years 9 months ago #290066 by rodw
The latest distros don't allow pip install unless you are running a python virtual environment.
 
The following user(s) said Thank You: Ehsan_R

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #290067 by Ehsan_R

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #290068 by tommylight
A stab in the dark but try this
sudo apt install python3-pip
OR
sudo apt install pip3
then
pip3 install litexcnc
The following user(s) said Thank You: TOLP2

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #290074 by TOLP2
When using the bookworm LinuxCNC 2.9 image, 5he script below works best. 
Code:
  sudo apt-get update && sudo apt-get -y upgrade sudo apt-get install python3-pip python3-wheel python3-venv python3 -m venv ~/.local --system-site-packages ~/.local/bin/pip install litexcnc[cli] ~/.local/bin/litexcnc install_toolchain --user -a arm64 sudo env "PATH=$PATH" ~/.local/bin/litexcnc install_driver ​​​​​​
 

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #290149 by TOLP2
I've added a section to the documentation on how to get LinuxCNC and install LitexCNC:
litex-cnc.readthedocs.io/en/latest/raspberrypi.html

It is still work in progress, as I have only covered the PREEMPT image from LinuxCNC and I also want to add support for RTAI (using Raspbian) and older version (2.8.2 on buster).

The main reason for covering the RTAI version is personal: I just don't like the GUI from Xfce, and do prefer the GUI provided by the Raspberry Pi foundation.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #290559 by uba100
Good evening,

I have followed exactly these instructions
litex-cnc.readthedocs.io/en/latest/raspberrypi.html
to install and set up the image for my Raspberry pi4 on the SD card. Then I executed the commands for installing litexcnc one after the other and the installation seemed to run without errors. However, when I try to compile one of the examples of the JSON files, I get lots of error messages because several necessary files cannot be found. I was able to overcome a few of the error messages by pointing to the correct directories in my .bashrc, but the following errors were beyond my rudimentary Linux knowledge. Has anyone ever successfully created and flashed firmware using these instructions?

Kind regards
Uwe Bartheld

Translated with DeepL.com (free version)

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.069 seconds
Powered by Kunena Forum