[PYTHON] module install if pip install doesn't work

wrap up

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". ..

Materials and methods

  1. Enter the target module name in the search field of Pypi (https://pypi.org/).

  2. Select the target module name from the search list.

  3. Click "Release history" on the left to check the version history. pypi_1.png

  4. Click "Download files" on the left to see the list of files for the target module. pypi_2.png

  5. Download the whl or tar.gz file.

  6. Move to the directory where the target module file was downloaded.

  7. Unzip the tar.gz file.

  8. For whl files, run "pip install whl filename".

  9. For tar.gz unpacking, go to the unzipped folder and run "python setup.py install".

  10. If there are no dependent modules, an error will be displayed, so install the dependent modules in the same procedure.

Results and considerations

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

module install if pip install doesn't work
Pip doesn't work with PyDev in Pleiades
sudo pip install
Tensorflow doesn't work!
Note: What to do if pip install fails
What to do if rails s doesn't work
What to do if atom autocomplete-python doesn't work
What to do if scrapy doesn't work after installing scrapy with pip on mac
Install pip on Mavericks
Install pip, pyenv, BeautifulSoup4
What to do if you can't pip install mysqlclient
How to install pip
Error with pip install
When dropbox-sdk-python doesn't work
If you get hooked on pip install dlib on OSX
Install the pip command
What to do if pip install fails to install dependent libraries
Install pip / pip3 on Ubuntu
Install scikit.learn with pip
When pip install fails
[Fancontrol] Fancontrol settings complete version! If this doesn't work, give up!
What to do if `pip install matplotlib` fails on Mac
What to do if pip install mysqlclient fails on MacOS
[Django] Test doesn't work if I change the file location
An alternative if Selenium's bottom scroll command (window.scrollTo) doesn't work
If you think that the person you put in with pip doesn't work → Maybe you are using python3?
Defense notes when pip3 doesn't work with "ImportError: No module named'packaging'" after installing python3-pip on Debian8
[Python] Why pserve doesn't work
When moss with pip install
Pip install in proxy environment
Install module on Anaconda (Mac)
Install github repository with pip
Pip install the GitHub repository
Fcitx doesn't work on Flatpak
What to do if Python doesn't work on Git for Windows
What to do if you can't install pyaudio with pip #Python
What to do if intellisense doesn't work with Anaconda + VSCode + Tensorflow2.1
What to do if you get a UnicodeDecodeError with pip install
Read this if you get SSL related errors with pip install! !! !!
[TensorFlow] If you want to run TensorBoard, install it with pip