Normally, the python module is installed with "pip install module name", but due to security etc., "pip install module name" may not work. For example, on a company PC. In that case, download the whl file from Pypi and install it with "pip install whl file name", or download the compressed file (zip format and tar.gz format file) and install it with "python setup.py install". ..
Enter the target module name in the search field of Pypi (https://pypi.org/).
Select the target module name from the search list.
Click "Release history" on the left to check the version history.
Click "Download files" on the left to see the list of files for the target module.
Download the whl or tar.gz file.
Move to the directory where the target module file was downloaded.
Unzip the tar.gz file.
For whl files, run "pip install whl filename".
For tar.gz unpacking, go to the unzipped folder and run "python setup.py install".
If there are no dependent modules, an error will be displayed, so install the dependent modules in the same procedure.
When I built the pycaret execution environment by this method, I needed to install about 100 dependent modules, so I thought that pip install that works properly is great.
Recommended Posts