VIM을 사용하여 파이썬 코드를 편집하고 실행하려고합니다. 파이썬 코드를 실행할 때 아나콘다 설치 (파이썬 3.6.0 :: 아나콘다 4.3.1 (64 비트))를 사용하고 싶습니다. 내가 youcompleteme에서 지침을 사용하여 VIM을 설치VIM과 Anaconda Python을 우분투에 설치하기 GNOME3
$ which python
/home/richard/anaconda3/bin/python
$ which python3
/home/richard/anaconda3/bin/python3
$ python -V
Python 3.6.0 :: Anaconda 4.3.1 (64-bit)
$ python3 -V
Python 3.6.0 :: Anaconda 4.3.1 (64-bit)
정력에서 파이썬의 버전을 확인
...
:!which python
/usr/bin/python
:!which python3
/usr/local/bin/python3
터미널에서 파이썬의 버전을 확인 중 ... 내가 천국 비록 아직 모든 플러그인을 설치하지 않았습니다. 파이썬 3 지원을 위해 vim을 구성했습니다. 의 .bashrc 파일에 다음 줄이 https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
$ ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/local/lib/python3.6/config-3.6m-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gnome2 --enable-cscope --prefix=/usr \
--with-compiledby=Richard
...
# added by Anaconda3 4.3.1 installer
export PATH="/home/richard/anaconda3/bin:$PATH"
내 목표는 아나콘다가 VIM 사용 팬더, NumPy와 등 어떤 도움 또는에서 파이썬의 설치 실행하는 것입니다 제안은 대단히 감사합니다!
VIM에서 코드를 실행하면 아나콘다 설치가 사용되지 않습니다. Anaconda python '/ home/richard/anaconda3/bin/python3'을 사용하여 리디렉션하는 방법에 대한 도움을 받으십시오. – rlrandolph3