执行命令时,python manage.py runserver

时间:2018-08-06 14:01:26

标签: django

执行命令时:

python manage.py runserver

错误:

C:\Users\Mr-py-dj\Desktop\sageteam-project\venv\lib\site-packages\khayyam\algorithms.py:19: UserWarning: The C extension is not available. Switching to fallback python pure algorithms,so it's about 1000X slower than C implementation of the algorithms.
"The C extension is not available. Switching to fallback python pure algorithms,"

为什么?

1 个答案:

答案 0 :(得分:0)

安装build-essentialpython2-devpython3-dev

下载latest release并解压缩。然后

python setup.py build_ext --inplace
pip install -e .