小编Zha*_*eng的帖子

Django频道在Windows 10中安装失败

这里是环境:

  • 作业系统:windows 10
  • 的Django:2.0rc
  • 的Python:3.6
  • 点:10.0.0
  • 视觉工作室社区2017

和错误消息:

running build_ext
building 'twisted.test.raiser' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual 
C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Command "c:\users\airy\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, 
tokenize;__file__='C:\\Users\\Airy\\AppData\\Local\\Temp\\pip-install-0a1gjuaj\\twisted\\
setup.py';f=getattr(tokenize, 'open', open) 
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, 
__file__, 'exec'))" install --record C:\Users\Airy\AppData\Local\Temp
\pip-record-k1vjz5aa\install-record.txt --single-version-externally-managed 
--compile" failed with error code 1 in C:\Users\Airy\AppData\Local\Temp\pip-install-0a1gjuaj\twisted\
Run Code Online (Sandbox Code Playgroud)

我已经按照链接说明安装了构建工具,但是仍然无法正常工作。如果有人解决了,请告诉我如何解决。

python django django-channels

1
推荐指数
1
解决办法
1195
查看次数

标签 统计

django ×1

django-channels ×1

python ×1