执行命令时:
python manage.py runserver
错误:
C:UsersMr-py-djDesktopsageteam-projectvenvlibsite-packageskhayyamalgorithms.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,"
为什么???
安装build-essential
和python2-dev
或python3-dev
下载最新版本和摘录。然后
python setup.py build_ext --inplace
pip install -e .