[SOLVED]problem running instruction in the terminal

All discussions related to the Loco Positioning system
Post Reply
NickCong
Beginner
Posts: 29
Joined: Sun Oct 15, 2017 12:24 pm

[SOLVED]problem running instruction in the terminal

Post by NickCong »

Hi

i want to use the lps tool in the ubuntu in VM, i has install the pip3,(i try to download the lps-tool.zip or i use the terminal download the lps-toos),but when i follow the instruction from the file readme in los-tools in Github,then i input the "pip3 install -e.[pyqt5]"in the terminal ,it is always unsuccessful, it seems say it can't find out the "setup.py". Was it my way of doing it wrong,and what should i do?
Image

bitcraze@bitcraze-vm:~$ pip3 install -e .[pyqt5]
Directory '.' is not installable. File 'setup.py' not found.
bitcraze@bitcraze-vm:~$ pip3 -V
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5)
bitcraze@bitcraze-vm:~$


thank you for your time and support!
Last edited by NickCong on Sat Nov 11, 2017 3:25 pm, edited 1 time in total.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: problem running instruction in the terminal

Post by arnaud »

Hi,

You need to run the command from within the lps-tools project folder.
NickCong
Beginner
Posts: 29
Joined: Sun Oct 15, 2017 12:24 pm

Re: problem running instruction in the terminal

Post by NickCong »

Hi
Arnaud ,thank you for your answer.
My problem has been solved.
Last edited by NickCong on Mon Oct 30, 2017 3:35 pm, edited 1 time in total.
NickCong
Beginner
Posts: 29
Joined: Sun Oct 15, 2017 12:24 pm

Re: problem running instruction in the terminal

Post by NickCong »

arnaud wrote: Mon Oct 23, 2017 2:38 pm Hi,

You need to run the command from within the lps-tools project folder.
Hi
Arnaud ,thank you for your answer.
My problem has been solved , the lps-tools can be opened in the terminal in the Ubuntu .
I think the problem may be caused by follow reasons:
first,just as you said ,at the beginning , i didn't run the command from within the lpstools project folder, so i try to running instruction from within the project folder,but,it also can't install the pyqt5 according to the instruction. so i browsed the website of https://pypi.python.org/pypi/PyQt5 ,it says the Wheels for the GPL version for 32 and 64-bit Windows, 64-bit OS X and 64-bit Linux can be installed from PyPI:
it just said the 64bit linux ,so i think one of the reason is the ubuntu is 32-bit in the VM,so i install the 64-bit ubuntu in my computer and then follow the guide of installing pyqt5 in the website. Finally,the lpstoos can open in the teminal :D .
Whether others can use lpstoos in the VM? if other people can,may be the bit type is not the reason of my problem.
Post Reply