报错如下: [root@web YouCompleteMe]# python install.py --clang-completer Searching Python 3.5 libraries... ERROR: found static Python library (/alidata/python3/lib/python3.5/config-3.5m/libpython3.5m.a) but a dynamic one is required. You must use a Python compiled with the --enable-shared flag. If using pyenv, you need to run the command: export PYTHON_CONFIGURE_OPTS="--enable-shared" before installing a Python version.
请教:到底时什么问题? im so crazy... python3 时源码安装的,机子上还有个 python2.7
1
cstj0505 2018-02-09 13:46:53 +08:00
你问题都没搞清楚,是 vim 没有 python 支持
|
2
ai277014717 2018-02-09 15:27:28 +08:00
python 编译的有问题。提示都说了加上--enable-shared 重新编译试试,如果用 pyenv 管理 python 环境加上环境变量 PYTHON_CONFIGURE_OPTS="--enable-shared
|