I am trying to download some packages like pandas, numpy and matplotlib locally on my Mac OS 10 and I need to install them on a Linux machine that has no access to the Internet.
When I use the following command
pip3 install --download="path/to/folder/to/store/packages" pandas matplotlib numpy
cycler-0.10.0-py2.py3-none-any.whl
-rw-r--r-- 1 *** 12755710 May 18 13:00 matplotlib-2.0.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
-rw-r--r-- 1 *** 4443374 May 18 13:00 numpy-1.12.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
-rw-r--r-- 1 *** 14805391 May 18 13:00 pandas-0.20.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
-rw-r--r-- 1 *** 56385 May 18 13:00 pyparsing-2.2.0-py2.py3-none-any.whl
-rw-r--r-- 1 *** 194391 May 18 13:00 python_dateutil-2.6.0-py2.py3-none-any.whl
-rw-r--r-- 1 *** 484917 May 18 13:00 pytz-2017.2-py2.py3-none-any.whl
-rw-r--r-- 1 *** 10341 May 18 13:00 six-1.10.0-py2.py3-none-any.whl
It downloads mac os variants of the package. Will I be able to use the below command to install the packages downloaded above on a Linux machine ?
Or is there a way to ask pip3 to download all possible OS variants of the package ?
pip3 install --no-index --find-links=file:/path/to/folder/with/packages pandas matplotlib numpy