{SOLVED} Latest Version Install Failure

More
03 Jan 2022 21:35 - 05 Jan 2022 10:50 #230683 by Donb9261
LInux Mint 20.2 Cinnamon
Installed 2.9 Premept
Error happens when trying to load qtpyvcp or even testing if it is installed correctly...

""""
don@don-Mint:~$ qtpyvcp -h
Traceback (most recent call last):
  File "/home/don/.local/bin/qtpyvcp", line 8, in <module>
    sys.exit(main())
  File "/home/don/.local/lib/python3.8/site-packages/qtpyvcp/app/__init__.py", line 72, in main
    from qtpyvcp.utilities.opt_parser import parse_opts
  File "/home/don/.local/lib/python3.8/site-packages/qtpyvcp/utilities/opt_parser.py", line 56, in <module>
    from linuxcnc import ini
ModuleNotFoundError: No module named 'linuxcnc'
"""""

Same error if I try to use the call from LCNC. LCNC shuts down with the same error. 

Followed all procedures.

LCNC working with all other sims and profiles.  
 
Last edit: 05 Jan 2022 10:50 by Donb9261.

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

More
03 Jan 2022 21:50 #230686 by Donb9261
Tried a 4th re-install of qtpyvcp and tried qtpyvcp -h.

don@don-Mint:~/qtpyvcp$ qtpyvcp -h
Traceback (most recent call last):
File "/home/don/.local/bin/qtpyvcp", line 11, in <module>
load_entry_point('qtpyvcp', 'console_scripts', 'qtpyvcp')()
File "/home/don/qtpyvcp/qtpyvcp/app/__init__.py", line 72, in main
from qtpyvcp.utilities.opt_parser import parse_opts
File "/home/don/qtpyvcp/qtpyvcp/utilities/opt_parser.py", line 64, in <module>
from linuxcnc import ini
ImportError: cannot import name 'ini' from 'linuxcnc' (unknown location)

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

More
03 Jan 2022 23:11 #230692 by tommylight
Use Debian or MX Linux, Mint 20 does not do well with QtPy anything as it uses an older version by default.

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

More
03 Jan 2022 23:57 #230697 by Donb9261
I would but Debian does not work on install without a wired cable.

I had Mint 19 working fine. Just trying to get 20 working.

MX LInux?

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

More
03 Jan 2022 23:59 #230698 by Donb9261
Do you have a working MX with LCNC RT and QtPyVCP?

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

More
More
04 Jan 2022 00:43 #230704 by spumco
Tommy's suggestion of using the Debian version with the non-free drivers worked for a wifi installation for me.

I still went back to MX21, but if you're set on Debian you might have a go with the non-free ISO.
The following user(s) said Thank You: tommylight

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

More
04 Jan 2022 09:43 #230737 by rodw
Replied by rodw on topic Latest Version Install Failure

Do you have a working MX with LCNC RT and QtPyVCP?

You could follow these instructions
www.qtpyvcp.com/install/bullseye.html

The problem with mint is they use an old version of Python3 and Python 3.9 or higher is required. I could not get it sorted out so moved to Debian 11 using the same method described above.

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

More
04 Jan 2022 14:05 #230763 by Donb9261
Hey Rod,

Thanks. So far I have tried MX 19.4 as Tommy said, but I cannot launch editvcp. This experience was not what it was last time I tried to install QtPyVCP. It was a challenge then but I was able to overcome all the hurdles.

Is it possible that by default Python3 in MX 19.4 is 3.7?

I hate upgrading to 3.9 if it breaks everything.

Regardless, I tried Debian 11 but was unable to determine which non-free distro to choose.

Do you have link to a solid distro that includes all the wifi drivers so I can get a solid install without having to wire up?

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

More
04 Jan 2022 23:48 #230810 by spumco
cdimage.debian.org/images/unofficial/non...nfree/amd64/iso-dvd/

This worked for me and a reluctant wifi dongle.

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

Moderators: KCJLcvette
Time to create page: 0.095 seconds
Powered by Kunena Forum