Mayukh Mukhopadhyay
Mayukh Mukhopadhyay

Reputation: 165

Installing data science packages to vanilla python

How to download necessary python packages for data analysis (e.g. pandas,scipy,numpy etc) and machine learning packages (sci-kit learn for starter, tensorflow for deeplearning if possible etc) without using github or anaconda?

Our client has permitted us to install python 3.6 and above (32-bit) in our terminals for data analysis and machine learning projects but we cannot access github due to security restrictions and also cannot download anaconda bundle.

Please provide suitable weblinks and instructions.

Upvotes: 0

Views: 1160

Answers (2)

Mayukh Mukhopadhyay
Mayukh Mukhopadhyay

Reputation: 165

as suggested by @DavidG, the following solution worked:

Download the whl file use cmd window and go to the download folder and then install like below:

 
C:\Users\XXXXXXXX>cd C:\Users\XXXXXXXX\Documents\Python Packages
C:\Users\XXXXXXXX\Documents\Python Packages>pip install numpy-1.13.0+mkl-cp36-cp36m-win32.whl
Processing c:\users\XXXXXXXX\documents\python packages\numpy-1.13.0+mkl-cp36-cp
36m-win32.whl
Installing collected packages: numpy
  Found existing installation: numpy 1.13.0
    Uninstalling numpy-1.13.0:
      Successfully uninstalled numpy-1.13.0
Successfully installed numpy-1.13.0+mkl

C:\Users\XXXXXXXX\Documents\Python Packages>pip install scipy-0.19.1-cp36-cp36m -win32.whl Processing c:\users\XXXXXXXX\documents\python packages\scipy-0.19.1-cp36-cp36m- win32.whl Requirement already satisfied: numpy>=1.8.2 in c:\users\XXXXXXXX\appdata\local\ programs\python\python36-32\lib\site-packages (from scipy==0.19.1) Installing collected packages: scipy Successfully installed scipy-0.19.1

C:\Users\XXXXXXXX\Documents\Python Packages>

Upvotes: 0

Lahiru Karunaratne
Lahiru Karunaratne

Reputation: 2268

Install the packages using pip(Python package manager). Simply use the following "pip" command in the terminal and install them. For an example, if you are installing the tensorflow package enter the following command in the terminal.

pip install tensorflow

Refer this URL for more instructions. https://packaging.python.org/tutorials/installing-packages/

Upvotes: 0

Related Questions