Django/Python EnvironmentError?

后端 未结 3 2108
说谎
说谎 2021-01-03 14:02

I am getting an error when I try to use syncdb:

python manage.py syncdb

Error message:

File \"/usr/local/lib/p         


        
3条回答
  •  南方客
    南方客 (楼主)
    2021-01-03 14:44

    Another thing that gives this error is permissions - very hard to track down.

    Solution for me was to move to /var/www/ and do chown -R root:root /var/www/

提交回复
热议问题