如何解決Embedded Python中無法調用pip

 這時我們要在embedded python目錄裡找到一個python10._path的文件,如果是python38,就是python38._path, 用記事本打開後,在裡面添加一行,這一行是指出了pip所在的位置。


python311.zip

.

Lib\site-packages

# Uncomment to run site.main() automatically

#import site


留言

此網誌的熱門文章

Making a Windows 11 hotspot without an internet connection