Closed silver2row closed 9 months ago
I have put the exported files in .bashrc and then sourced the .bashrc file to run my commands. This has not worked from my ~/$HOME directory.
Hi @silver2row, could you please share:
I don't really understand the process you describe above for installation. Did you try installing via PyPI?
P.S. Oh and should printrun work w/ aarch64?
Absolutely, it should work with no issues on ARM64.
sudo apt install printrun
sudo apt install printrun
I have not tried w/ PyPI b/c of Debian Bookworm not playing nice w/ python3 -m pip install printrun
or any pip3 installs.
2. the Debian Bookworm install via
sudo apt install printrun
That's weird, that should work out of the box. Am I right in thinking that you can't just run pronterface
in a terminal and get it to run? You are having to run it like python3 /usr/bin/pronterface
? If so, that sounds like you PATH is not properly configured. Anyway, you seem to be missing the plugins
directory for Printrun. The following command should show this output (or similar). A missing plugins
directory there means the apt install printrun
failed to install all files somehow?
$ ls /usr/lib/python3/dist-packages/printrun/plugins
__init__.py __pycache__ sample.py
I have not tried w/ PyPI b/c of Debian Bookworm not playing nice w/
python3 -m pip install printrun
or any pip3 installs.
Well done. That's why we recommend using Python virtual environments instead of the "system's" pip install.
oh...right. I cannot run pronterface and have it run. I am on a vncserver w/ vnc viewer while running the pronterface
command. And yes, I have to run the command python3 /usr/bin/pronterface
to have it error out but...
/usr/bin/
and the repetition of files in /usr/bin/
are there exactly like /usr/bin/X11
. I am just saying I have pronterface and pronsole in both /usr/bin/
and /usr/bin/X11
.I tried w/ pronsole
and ended up w/ the same error.
I will get back to you on the ls
command so that I can give some more insight on this issue.
And okay about the virtual env. I will test it that way too. Thank you for dealing w/ me so far.
ls: cannot access '/usr/lib/python3/dist-packages/printrun/plugins/__init__.py': Permission denied
ls: cannot access '/usr/lib/python3/dist-packages/printrun/plugins/__pycache__': Permission denied
ls: cannot access '/usr/lib/python3/dist-packages/printrun/plugins/sample.py': Permission denied
It seems I am not in control of my own system. Hmm. Let me try to add permissions and some rules.
This is the printrun versioning I currently have on my TDA4VM:
printrun is already the newest version (2.0.0~rc8-2).
Hello...I just did not want to use sudo or get into a root account. I am forced to do so and this solves the issue. I am sorry to give you trouble w/ these bunch of errors.
Hello,
I have put the exported files in .bashrc and then sourced the .bashrc file to run my commands. This has not worked from my ~/$HOME directory.
This is fine. I can use
python3 /usr/bin/pronterface
to handle the issue. The above set of displaced imports in Python3 persist.Has anyone come to get this error and found a workaround yet?
Seth
P.S. Oh and should printrun work w/ aarch64?