Post by Francis Bartholomew - OIT on Oct 8, 2016 17:55:48 GMT -7
The DELL laptop was a fine 'first phase' for working with the ground tracking station; however, it doesn't have a lot of horsepower, and as such, I'm trying to migrate off of it onto other systems for running the tracking GUI and managing the streaming.
To that end, I'm having a *very* hard time getting the antenna tracking software running on any other systems. There isn't a clear set of instructions on how to get python and all the right libraries onto any other systems. I've almost gotten it working on one of my linux boxes - but I started having issues with differences in the Qt implementation (meaning, I'd start the program, and it'd throw up with errors that I will paste to this thread when I get home tonight and am in front of that system again)
So, I started trying to install on one of my windows systems. Installed Anaconda2 for Python 2.7, and then followed the instructions included on the flash drives we got at the workshop:
conda install pyside pyserial pymysql pyqtgraph
python -m pip install --upgrade pip
pip install pillow --upgrade pillow
THE FOLLOWING COMMAND NEEDS TO GRAB A FILE FROM THE DESKTOP, MAKE SURE YOU ARE IN THE DESKTOP DIRECTORY (cd desktop):
pip install mysqlclient-1.3.7-cp27-none-win_amd64.whl
SETTING UP AD HOC NETWORK ON LAPTOP WINDOWS COMMAND PROMPT:
netsh wlan set profileparameter <ssid> connectiontype=ibss connectionmode=manual
REPLACE <ssid> WITH YOUR NETWORK NAME (teams registration number: example oo1j)
Only the first three lines actually work. When I go to try and use the wheel file for the mysql client, things start failing. (the fact that I'm not installing this on an AMD system, notwithstanding)
(C:\Program Files\Anaconda2) C:\Users\dfbarth\Desktop>pip install mysqlclient-1.3.9.tar.gz
Processing c:\users\dfbarth\desktop\mysqlclient-1.3.9.tar.gz
Building wheels for collected packages: mysqlclient
Running setup.py bdist_wheel for mysqlclient ... error
... (various bits of message here, none of which are the error itself)
_mysql.c(29) : fatal error C1083: Cannot open include file: 'my_config.h': No such file or directory
error: command 'C:\\Users\\dfbarth\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
This is where my wheel install chokes. This is also not the only problem I'm having, because it's possible that I've correctly installed the MySQL connectors themselves via the binaries - it'd sure be nice to know if I did, but when I fire up Spyder, and try to run the software, I get the following error:
Traceback (most recent call last):
File "C:\Users\dfbarth\Desktop\V7\antenna_dualtracker_GUI_v7.0.py", line 12, in <module>
import gps
ImportError: No module named gps
(My team and I have been doing extensive work on the tracking software prior to trying to run it on a new system, hence the versioning)
So, what python module has 'gps' in it? I can't find anything when I do a 'pip search gps'; I think I figured it out on my linux box (though, honestly, I'll have to dig pretty hard to remember what module finally stopped giving me *that* error) - is there a master list of all the modules you guys added to your python environments to get your GUI and underlying code working? If so, if you could pass it along, that'd be grand!
Thanks!
.f
To that end, I'm having a *very* hard time getting the antenna tracking software running on any other systems. There isn't a clear set of instructions on how to get python and all the right libraries onto any other systems. I've almost gotten it working on one of my linux boxes - but I started having issues with differences in the Qt implementation (meaning, I'd start the program, and it'd throw up with errors that I will paste to this thread when I get home tonight and am in front of that system again)
So, I started trying to install on one of my windows systems. Installed Anaconda2 for Python 2.7, and then followed the instructions included on the flash drives we got at the workshop:
conda install pyside pyserial pymysql pyqtgraph
python -m pip install --upgrade pip
pip install pillow --upgrade pillow
THE FOLLOWING COMMAND NEEDS TO GRAB A FILE FROM THE DESKTOP, MAKE SURE YOU ARE IN THE DESKTOP DIRECTORY (cd desktop):
pip install mysqlclient-1.3.7-cp27-none-win_amd64.whl
SETTING UP AD HOC NETWORK ON LAPTOP WINDOWS COMMAND PROMPT:
netsh wlan set profileparameter <ssid> connectiontype=ibss connectionmode=manual
REPLACE <ssid> WITH YOUR NETWORK NAME (teams registration number: example oo1j)
Only the first three lines actually work. When I go to try and use the wheel file for the mysql client, things start failing. (the fact that I'm not installing this on an AMD system, notwithstanding)
(C:\Program Files\Anaconda2) C:\Users\dfbarth\Desktop>pip install mysqlclient-1.3.9.tar.gz
Processing c:\users\dfbarth\desktop\mysqlclient-1.3.9.tar.gz
Building wheels for collected packages: mysqlclient
Running setup.py bdist_wheel for mysqlclient ... error
... (various bits of message here, none of which are the error itself)
_mysql.c(29) : fatal error C1083: Cannot open include file: 'my_config.h': No such file or directory
error: command 'C:\\Users\\dfbarth\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
This is where my wheel install chokes. This is also not the only problem I'm having, because it's possible that I've correctly installed the MySQL connectors themselves via the binaries - it'd sure be nice to know if I did, but when I fire up Spyder, and try to run the software, I get the following error:
Traceback (most recent call last):
File "C:\Users\dfbarth\Desktop\V7\antenna_dualtracker_GUI_v7.0.py", line 12, in <module>
import gps
ImportError: No module named gps
(My team and I have been doing extensive work on the tracking software prior to trying to run it on a new system, hence the versioning)
So, what python module has 'gps' in it? I can't find anything when I do a 'pip search gps'; I think I figured it out on my linux box (though, honestly, I'll have to dig pretty hard to remember what module finally stopped giving me *that* error) - is there a master list of all the modules you guys added to your python environments to get your GUI and underlying code working? If so, if you could pass it along, that'd be grand!
Thanks!
.f