OmegaExpansion for Python3
- 
					
					
					
					
 Hey, Is this somehow usable? Thanks for any tips  
 
- 
					
					
					
					
 I would really appreciate any help! Thank you  
 
- 
					
					
					
					
 Have you looked at the documentation? Wiki? Tutorials? Projects? There are examples in each. 
 
- 
					
					
					
					
 At least in the documentation it's only about Python2. What I want is Python3. I will take a look at the projects! 
 
- 
					
					
					
					
 @Michael-Klug I did just publish one I created over the last couple days. I am no programmer, so there are probably better ways of doing this or what not, but for a first attempt, at least it works. I used Python 3. 
 GPS Info to OLED via Python on Hackster.io
 
- 
					
					
					
					
 @Brad-Buskey please excuse my stupid question but you will have my eternal thanks and a free beer should we ever meet in reality: How did you install OmegaExpansion for python3.6, I was not able to find this. 
 
- 
					
					
					
					
 The Python mods (and others) needed are the following opkg update 
 opkg install pyOledExp pyOmegaExpansion oled-exp ogps
 
- 
					
					
					
					
 did some research, there is no OmegaExpansion for python3, it's not yet built. Your GPS script is using python2. Nevertheless many thanks for your effort! 
 https://community.onion.io/topic/1223/no-oled-library-for-python3
 
- 
					
					
					
					
 The only Python I have installed is Python 3. What I have installed, works as it is shown on that project. I have what I listed installed, and it is working as shown. 
 
- 
					
					
					
					
 @Brad-Buskey strange, will try to replicate on my second Omega2. Thanks for your input! 
 
- 
					
					
					
					
 @Michael-Klug I hope you get it. I was going nuts getting the GPS to show on the OLED. 
 
- 
					
					
					
					
 @Michael-Klug I was just about to link you to my thread https://community.onion.io/topic/1223/no-oled-library-for-python3 
 But I see that you already found it.
 
- 
					
					
					
					
 This post is deleted!
 
- 
					
					
					
					
 @jorgegarciadev i will try a fresh install with a new Omega2 image using only python3 and pyOmegaExpansion with --nodeps option. In the meantime i solved the problem temporarily by calling the bash skript with the subprocess module. this works suprisingly well. 
 
- 
					
					
					
					
 @Brad-Buskey I know this is an incredibly late reply, but I looked at your Hackster project and saw that you installed python3 and python-light. python-light simply installs a "light" version of Python 2 (less packages). Did you run your Python-scripts with "python <filename>" instead of with "python3 <filename>"? Because that would explain why the packages worked for you! 
 
- 
					
					
					
					
 @L-G Yes, the .sh script does call "python /root/script.py" 
 
 
			
		