pip install --editable . fails
- anfänger
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 627
- Thank you received: 256
			
	
						14 Nov 2021 15:29				#226477
		by anfänger
	
	
		
			
	
			
			 		
													
	
				pip install --editable . fails was created by anfänger			
			
				HI,
I've some trouble installing qtpyvcp at the moment.failes with following error message:
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
					I've some trouble installing qtpyvcp at the moment.
pip install --editable .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.
- TurBoss
- 
				  
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 134
- Thank you received: 81
			
	
						14 Nov 2021 16:12				#226488
		by TurBoss
	
	
		
			
	
	
			 		
													
	
				Replied by TurBoss on topic pip install --editable . fails			
			
				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
					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.
- anfänger
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 627
- Thank you received: 256
			
	
						14 Nov 2021 17:09		 -  14 Nov 2021 17:11		#226496
		by anfänger
	
	
		
			
	
	
			 		
													
	
				Replied by anfänger on topic pip install --editable . fails			
			
				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
					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.
- MoshKopp
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 20
- Thank you received: 2
			
	
						14 Nov 2021 19:03				#226503
		by MoshKopp
	
	
		
			
	
			
			 		
													
	
				Replied by MoshKopp on topic pip install --editable . fails			
			
				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.
- anfänger
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 627
- Thank you received: 256
			
	
						15 Nov 2021 19:16				#226597
		by anfänger
	
	
		
			
	
			
			 		
													
	
				Replied by anfänger on topic pip install --editable . fails			
			
				thanks the switch to the other branch worked fine.
I prefer the devel version cause I usually modify the guis to match my needs.
					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: KCJ, Lcvette	
		Time to create page: 0.137 seconds	
