我刚安装了第一次PyCharm 5并试图让事情奏效。我有一个简单的python脚本,试图导入熊猫(导入熊猫作为pd)。它失败,因为熊猫没有安装...所以我去安装它,然后得到一个错误(复制下面)。无法安装python模块:PyCharm错误:“字节编译被禁用,跳过”
我试过在首选项或帮助中寻找一些“字节编译”设置,但无济于事。我已经尝试了这里提出的解决方法,涉及将默认项目编辑器更改为Python 2.7,但这并没有帮助(https://github.com/spacy-io/spaCy/issues/114)。
我该怎么办?
================= Error below =================
Executed command:"
/var/folders/kf/nd7950995gn25k6_xsh3tv6c0000gn/T/tmpgYwltUpycharm-management/pip-7.1.0/setup.py install
Error occurred:
40:357: execution error: warning: build_py: byte-compiling is disabled, skipping.
Command Output:
40:357: execution error: warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
error: byte-compiling is disabled.
(1)
我投了这个答案,因为它解释了如何在pycharm改变Python版本。谢谢 – startoftext
这工作完美..谢谢 –
超级...作品像一个魅力 –