Python Forum

Full Version: Pythonista on iPad install plotly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I am new, and my question is may simple, but with all search on the internet, I could not solve ist.
I run Pythonista 3.6 on an iPad Pro 11“ (OS 13.4.1). And use Python 3. And the learning book Python crash course, second edition.

I can not install/import the module plotly.

I tried it with the helping programs stash. And then inches shell pip install plotly.
It looks it is installed. But in the program I can not use import plotly ...

Maybe plotly was installed in the wrong directory.
How canI choose, where plotly is installed, or how can I choose the directory in import?

Sorry I do not know how to change directory in iPad shell.

This is in my code:
from plotly.graph_objs import Bar, Layout
from plotly import offline
Failure: No module name plotly.
Please use proper code tags while posting a thread - see BBCode to know more.
It seems you don't have the module plotly. I would recommend you to go through this site
It works on my iPhone (see link below).

Please try the installation site recommended by pyzyx3qwerty.

Then try the short sample Plotly routine given there.

Link to my Plotly plot:
http://khoitsmahq.firstcloudit.com/image...LTIu-2.PNG