wetzel Posted May 23, 2019 Posted May 23, 2019 Hello, I would like the PyArlo library on Johnny if possible. I am using the default Python version. https://github.com/tchellomello/python-arlo Thanks!
Luigi123 Posted May 23, 2019 Posted May 23, 2019 Let’s see our root admin can install that for you. Escalating 1
Krydos Posted May 24, 2019 Posted May 24, 2019 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?
wetzel Posted May 24, 2019 Author Posted May 24, 2019 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/
wetzel Posted May 24, 2019 Author Posted May 24, 2019 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.
Krydos Posted May 24, 2019 Posted May 24, 2019 Pyarlo has been installed on Johnny's python 3.6 https://krydos2.heliohost.org/cgi-bin/modules36.py It might be possible to import it from a folder on your account, but I've never put any effort into figuring out how to do that because it's easier to just install it.
wetzel Posted May 24, 2019 Author Posted May 24, 2019 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
Recommended Posts