pip install --editable . fails

More
4 years 11 months ago #226477 by anfänger
HI,
I've some trouble installing qtpyvcp at the moment.
Code:
pip install --editable .
failes with following error message:
Code:
Obtaining file:///home/wully/qtpyvcp     Complete output from command python setup.py egg_info:     Traceback (most recent call last):       File "<string>", line 1, in <module>       File "/home/wully/qtpyvcp/setup.py", line 2, in <module>         import versioneer       File "versioneer.py", line 1706         file=sys.stderr)             ^     SyntaxError: invalid syntax          ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /home/wully/qtpyvcp/

I am using debian 10.11
kernel 4.19.0-18-rt-amd64
Python 2.7.16
dev install with current master.
linuxcnc 2.8.2

I am not sure whats causing the error, missing modules usually look different.

thanks patrick

Please Log in to join the conversation.

More
4 years 11 months ago #226488 by TurBoss
Hello,

master branch went python3 only

if you need python2 there is a maintenance branch called "python2_maintenance"

$ git pull
$ git checkout python2_maintenance

Thanks

Please Log in to join the conversation.

More
4 years 11 months ago #226496 by anfänger
ah thanks I was not sure, last time there was an extra python 3 branch.

I guess I'm there is a cross road now. Moving to python 3 and having issues with qtpyvcp or going python 3 and have other issues.

I guess this machine will start its life with python2 and it will be kept this way.

I also wanted to upgrade my other mill but I never did.
Maybe when I got two running mills...

EDIT mentioned maybe you should mention this in the Install pages. Cause I guess I won't be the only one following the instructions and getting stuck.

Cheers Patrick

Please Log in to join the conversation.

More
4 years 11 months ago #226503 by MoshKopp
on linux 2.8.2 just take the installer 0.4.0 easiest way I think.

Please Log in to join the conversation.

More
4 years 11 months ago #226597 by anfänger
thanks the switch to the other branch worked fine.
I prefer the devel version cause I usually modify the guis to match my needs.

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum