Add the following rules to your .htaccess in the directory of your application url RewriteEngine on RewriteRule ^http://%{HTTP_HOST}%{REQUEST_URI} [END,NE]
這時我們要在embedded python目錄裡找到一個python10._path的文件,如果是python38,就是python38._path, 用記事本打開後,在裡面添加一行,這一行是指出了pip所在的位置。 python311.zip . Lib\site-packages # Uncomment to run site.main() automatically #import site