Category Archives: Python


python从哪里找已经安装的library How does Python know where to find packages when you call import? Python imports work by searching the directories listed in sys.path. 具体我们可以在terminal通过以下code将路径打出来 你可以添加别的路径 python的library都安装在哪里 当你跑如下命令时,scipy被放在sys.path的哪个路径? Python usually stores its library (and thereby your site-packages folder) in the installation directory.在terminal 查看python安装在哪里: 出来的结果是 The default library would reside in C:\Python\Lib\ and third-party modules should be stored in…

Read More