Python Forum
Pythonista on iPad install plotly
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pythonista on iPad install plotly
#1
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.
Khoitsma likes this post
Reply
#2
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
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply
#3
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  binning_endpoints ->plotly Luis_liverpool 0 857 Aug-09-2022, 10:13 AM
Last Post: Luis_liverpool
  plotly expression problem Visiting 2 2,021 May-16-2021, 12:28 AM
Last Post: Visiting
  Plotly library with AIX 6.X / 7.X ? HK2432 0 1,472 Jan-14-2020, 06:04 PM
Last Post: HK2432
  game not working on safari browser on iphone/ipad marcush929 1 1,896 Jan-01-2020, 02:39 PM
Last Post: ichabod801
  Plotly error - AttributeError: module 'plotly.plotly' has no attribute 'iplot' fernando_santos 0 5,619 Jul-24-2019, 02:35 PM
Last Post: fernando_santos
  New Pythonista - Syntax Trouble sparkelyfox 2 2,571 Sep-29-2018, 11:02 AM
Last Post: sparkelyfox
  Pythonista script with iPhone's native Clock app Sharkman157 0 2,619 Sep-27-2018, 05:23 PM
Last Post: Sharkman157

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020