相关疑难解决方法(0)

使用 otree 时出现“pip install -U Channels”命令错误(运行 setup.py bdist_wheel for twins ... 错误)

对于使用 otree ( http://otree.readthedocs.io/ )的项目,我在尝试安装时遇到了一些问题Channels以使用实时功能时遇到了一些问题。

由于输出很长,我试图找出最重要的部分:

有关完整输出,请参阅:https://jsfiddle.net/L4ccmr2k/1/

红色标记的输出和我认为相关的输出:

1.

 Building wheels for collected packages: twisted
      Running setup.py bdist_wheel for twisted ... error
Run Code Online (Sandbox Code Playgroud)

2.

creating build/temp.macosx-10.6-intel-3.6
      creating build/temp.macosx-10.6-intel-3.6/src
      creating build/temp.macosx-10.6-intel-3.6/src/twisted
      creating build/temp.macosx-10.6-intel-3.6/src/twisted/test
      /usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c src/twisted/test/raiser.c -o build/temp.macosx-10.6-intel-3.6/src/twisted/test/raiser.o
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      error: command '/usr/bin/clang' failed with exit status 1

      ----------------------------------------
      Failed building wheel for twisted …
Run Code Online (Sandbox Code Playgroud)

python django pip twisted python-wheel

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

标签 统计

django ×1

pip ×1

python ×1

python-wheel ×1

twisted ×1