SimplePro在编译文件时出错,请检查目录是否有访问权限

作者:linshengchun 287 浏览 3 评论 发布时间:2020-01-02 00:10:51

django2.2 python3.6

"C:\Program Files\JetBrains\PyCharm 2018.2.3\bin\runnerw.exe" "C:\Program Files\Python36\python.exe" D:/xm/TuZhe/manage.py runserver 8000

[Errno 13] Permission denied: 'C:\Program Files\Python36\lib\site-packages\simplepro\admin.pyc.2178536446752' SimplePro在编译文件时出错,请检查目录是否有访问权限

[Errno 13] Permission denied: 'C:\Program Files\Python36\lib\site-packages\simplepro\admin.pyc.1491451190048' Watching for file changes with StatReloader Performing system checks...

System check identified no issues (0 silenced). January 02, 2020 - 00:09:54 Django version 2.2.9, using settings 'TuZhe.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. Not Found: / [02/Jan/2020 00:09:56] "GET / HTTP/1.1" 404 2024

Loading...
评论列表 3条评论
linshengchun
2020-05-04 18:14:51

已处理。

linshengchun
2020-05-04 18:14:51

我是用全局pip,应该怎样设置用administrator?

社区小助手
2020-05-04 18:14:51

没有目录的访问权限,要赋予目录的权限,可以使用administrator 。 你这里应该是使用的全局pip包,建议用虚拟环境,这样不涉及权限问题。