0

I downloaded the wheel file from https://pypi.org/project/plotly/ to install on server without internet. I get error:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002A522E72EC8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/retrying/

It get stuck in a loop of retrials. how can I download plotly without internet access?

ps: I'm on mac and remote server is windows

MAFiA303
  • 454
  • 6
  • 7
  • 1
    The problem is that `plotly` [has dependencies](https://github.com/plotly/plotly.py/blob/e281bc96f70e00ac3a5a12e78579827c626ffd50/packages/python/plotly/setup.py#L508) which in turn may have dependencies. You need to [download](https://stackoverflow.com/a/14447068/7976758) all dependencies recursively and move them to the offline host. For the downloading you have to tell `pip` to download wheels for the [target platform](https://stackoverflow.com/a/62281574/7976758). – phd Jun 25 '20 at 10:32

1 Answers1

-2

Try to type "pip install plotly" in your terminal. No way to download without internet connection though

Michele Giglioni
  • 317
  • 3
  • 14