PyCharm call whl way into the local library

tags: pycharm operation

OF: Mr Wang
Link: https: //www.zhihu.com/question/40029203/answer/341750592
Source: know almost
Copyright reserved by the authors. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

For some reason, pycharm import third-party libraries will be prompted to fail, such as twisted library.

At this point you can use cmd command pip install whl import third-party libraries.



Cmd enter the following command to import the file has been downloaded whl: pip install D: \\ Twisted-17.9.0-cp36-cp36m-win_amd64.whl


After successfully imported
Open pycharm project folder venv


Open pyvenv file folder directory

The include-system-site-packages the modified file is true, close the file storage after the completion of



After modifications are complete pycharm restart, this time you can invoke these third-party libraries the

Intelligent Recommendation

Call C / C ++ local library in Java

This article reference: JNI is the English abbreviation of Java Native Interface, Chinese translation is local call, and since Java 1.1 starts a part of the Java standard. C / C ++ is a system-level p...

pip installs the local specified version of the whl file

When using pip to install some packages, because the default source of pip is only those few, it is useless to change to Tsinghua, and Douban is useless. . . I always stop in the middle of the downloa...

PIP installation of local WHL file (Linux platform)

1. View the linux architecture 2. Download the WHL file supported by the current platform PyPI · The Python Package Index Search the required library file and download, such as Numpy or Note: I...

PIP installation local offline bag whl

Download the installation package to the local: When one WHL is alone, when there is no other dependencies, CMD enters the directory where the whl is located. Run the following instructions: If this w...

The way to call static library functions and dynamic library functions in C language

Two ways to call dynamic library functions in C language Method 1. Implicit call Copy the relevant files of the dynamic library to the current directory (lib, dll), and then add the following code to ...

More Recommendation

Python third party library installation .whl file

When our windows system uses the pip command to install some python third-party libraries in the cmd environment, we will occasionally encounter the missing .whl file. What should we do at this time? ...

Python third-party library installation [pip, whl]

The words before Overview of this article: Python third-party library installation One, pip installation pip3 install [library name] or pip install [library name] [2019.02.28 update] Regarding the cas...

python library offline installation .whl file

Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right Article Directory python library offline...

Python packages its code to the library (WHL)

Built a package for the code file that needs to be packaged (folder) In this directory, new files named setup.py, the file content is as follows: In the directory where setup.py is located, after open...

Python installation .whl library detailed explanation

1. Select the corresponding .whl library download For example: Ta_lib: library name 0.4.21: Library version number CP38: Python version number that needs to be installed. The number here refers to ver...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top