Avatar ·

Download Python packages for offline installation

📁 Help, numpy, pandas, matplotlib, pip

I have restrictions at work, and if I download packages using the pip command via the command line, the security service blocks everything from the internet. So I need to download the packages directly and then install them offline on my computer. But I can't find where to download them.

Can you tell me where I can download packages directly? I need tqdm, pandas, numpy, sklea.metrics, statsmodels, scipy, matplotlib

Avatar ·

You can do it like this:

import psutilfrom datetime import datetime as dtfrom collections import dequeimport matplotlib.pyplot as pltfrom matplotlib.dates import date2numimport matplotlib.animation as animation%matplotlib notebookN=600x = deque([date2num(dt.now())], maxlen=N)y = deque([0], maxlen=N)fig, ax = plt.subplots(figsize=(8,3))line, = ax.plot_date(x, y, marker="""")a                                

Log in to leave an answer

Blogs