How to install Python packages from the tar.gz file without using pip install

前端 未结 7 934
甜味超标
甜味超标 2020-11-27 10:26

Long story short my work computer has network constraints which means trying to use pip install in cmd just leads to timing out/not finding package errors.

7条回答
  •  感动是毒
    2020-11-27 10:37

    If you don't wanted to use PIP install atall, then you could do the following:

    1) Download the package 2) Use 7 zip for unzipping tar files. ( Use 7 zip again until you see a folder by the name of the package you are looking for. Ex: wordcloud)

    3) Locate Python library folder where python is installed and paste the 'WordCloud' folder itself there

    4) Success !! Now you can import the library and start using the package.

提交回复
热议问题