pip install --editable . fails

More
14 Nov 2021 15:29 #226477 by anfänger
HI,
I've some trouble installing qtpyvcp at the moment.
pip install --editable .
failes with following error message:
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 or Create an account to join the conversation.

More
14 Nov 2021 16:12 #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
The following user(s) said Thank You: anfänger

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

More
14 Nov 2021 17:09 - 14 Nov 2021 17:11 #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
Last edit: 14 Nov 2021 17:11 by anfänger.
The following user(s) said Thank You: Joco

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

More
14 Nov 2021 19:03 #226503 by MoshKopp
on linux 2.8.2 just take the installer 0.4.0 easiest way I think.

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

More
15 Nov 2021 19:16 #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 or Create an account to join the conversation.

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