Python how to import local dependency packages, hands-on teaching

51CTO 2022-05-14 15:54:42 阅读数:830

pythonimportlocaldependencypackages


1、 decompression python Interpreter

Python How to import local dependent packages , Teaching by hand _ Dependency package



2 stay pycharm Configure dependency packages in

First step : Choose... From the menu bar “file” tab ; Select from the drop-down menu “settings” To configure , As shown in the figure

Python How to import local dependent packages , Teaching by hand _ Dependency package _02


The second step : Get into “Setting” tab , choice “Python Interpreter” Options , And click the gear icon in the upper right corner , As shown in the figure :

Python How to import local dependent packages , Teaching by hand _ development language _03



The third step : Click on the gear icon , choice “Add” Options , As shown in the figure :

Python How to import local dependent packages , Teaching by hand _ tab _04



Step four : Get into “Add Python Interpreter” window , choice “Existing environment” Options ,

Python How to import local dependent packages , Teaching by hand _ tab _05


Step five : Select the dependent packages to install

Python How to import local dependent packages , Teaching by hand _ development language _06


Step six After matching, as shown in the figure

Python How to import local dependent packages , Teaching by hand _ tab _07


Step seven Environment configuration completed

Python How to import local dependent packages , Teaching by hand _ Back end _08




版权声明:本文为[51CTO]所创,转载请带上原文链接,感谢。 https://pythonmana.com/2022/134/202205141525033947.html