Jump to content

Recommended Posts

Posted

On Facebook you said you were using python 3.6 (/usr/bin/python3.6), and now you say you're using the default which is python 2.7 (/usr/bin/python). Can you verify which shebang you're using?

Posted

On Facebook you said you were using python 3.6 (/usr/bin/python3.6), and now you say you're using the default which is python 2.7 (/usr/bin/python). Can you verify which shebang you're using?

Sorry for the confusion.  I am using the flask tutorial code from the wiki.  As far as I know there isn't a traditional shebang line in my code.  If I click the link for the python version it shows "3.6.7 (default".

 

http://wetzel.heliohost.org/flask/python/version/

Posted

If it is possible to use the library from storage I would be happy to.  I just can't seem to get the import to work so I would need some explanation on how to do that.  I tried several folder locations and importing using file paths in my flask app. 

 

I am trying to build and host a simple smart home web app so I also might want to use skyfield in the future for sunrise and sunset calculations.  

Posted

Looks like it is working for me.  Thank you very much!

 

If I need skyfield in the future I will probably try importing from a folder again and then request installation when I get frustrated by it...haha 

Guest
This topic is now closed to further replies.
×
×
  • Create New...