Le vendredi 19 janvier 2018 12:12:11 UTC+1, Ni Va a écrit :
> Le vendredi 19 janvier 2018 12:06:22 UTC+1, Ken Takata a écrit :
> > Hi,
> >
> > 2018/1/19 Fri 19:49:18 UTC+9 Ni Va wrote:
> > > 1. I delete registry entry
> > >
> > >
> > > 2. in _vimrc
> > >
> > >
> > > " Python
> > >
> > > let $pythonhome= 'c:/thirdPartTools/Python36'
> > > let currpath.=';'.'c:/thirdPartTools/Python27'
> > > let currpath.=';'.'c:/thirdPartTools/Python36'
> > > let currpath.=';'.'c:/thirdPartTools/Python36/Lib/site-packages'
> > > let uniqPath= join(uniq(split(currpath,';')),';')
> > > let $path=currpath
> > >
> > > set pythondll=python27.dll
> > > set pythonthreedll=python36.dll
> > >
> > >
> > >
> > >
> > > 3. py3 print('hell') returns hell => OK
> > >
> > >
> > > 4. echo neovim_rpc#serveraddr() returns local ip server => OK
> > >
> > >
> > >
> > >
> > > Distri is now standalone.
> > >
> > >
> > > Thank you !
> >
> > I suspect that `:py print('hello')` doesn't work now.
> > There is a PR to fix it, but it is not included:
> > https://github.com/vim/vim/pull/1266
> >
> > Regards,
> > Ken Takata
>
> Yes it fails now.
>
> I Focus on
> 1. rpc server started OK from https://github.com/roxma/vim-hug-neovim-rpc.git
> 2. deoplete from https://github.com/Shougo/deoplete.nvim.git seems OK
> 3. clang_complete from https://github.com/Rip-Rip/clang_complete.git is KO
>
> and says the same issue than py print... :
>
> E887 : Sorry, this command is disabled, the Python's site module could not be
> loaded
>
>
> I think it's just how setting $PYTHONPATH (with all site-packages paths) and
> $PYTHONHOME..
¤¤ Python27 vs python36 mapping
¤ According registry is cleaned and $pythonhome $pythonpath set as :
¤ Results
$pythonhome
c:/thirdPartTools/Python27
$pythonpath
c:/thirdPartTools/Python27/Lib/site-packages
c:\thirdPartTools\Python27\Lib\site-packages\easy_install.py
c:\thirdPartTools\Python27\Lib\site-packages\easy_install.pyc
c:\thirdPartTools\Python27\Lib\site-packages\pip
c:\thirdPartTools\Python27\Lib\site-packages\pip-9.0.1.dist-info
c:\thirdPartTools\Python27\Lib\site-packages\pkg_resources
c:\thirdPartTools\Python27\Lib\site-packages\README.txt
c:\thirdPartTools\Python27\Lib\site-packages\setuptools
c:\thirdPartTools\Python27\Lib\site-packages\setuptools-28.8.0.dist-info
TEST OK :py print('hell') returns hell
¤ ¤¤¤¤
$pythonhome
c:/thirdPartTools/Python36
$pythonpath
c:/thirdPartTools/Python36/Lib/site-packages
c:\thirdPartTools\Python36\Lib\site-packages\easy_install.py
c:\thirdPartTools\Python36\Lib\site-packages\greenlet-0.4.12.dist-info
c:\thirdPartTools\Python36\Lib\site-packages\greenlet.cp36-win_amd64.pyd
c:\thirdPartTools\Python36\Lib\site-packages\msgpack
c:\thirdPartTools\Python36\Lib\site-packages\msgpack-0.5.1.dist-info
c:\thirdPartTools\Python36\Lib\site-packages\msgpack_python-0.5.1-py3.6.egg-info
c:\thirdPartTools\Python36\Lib\site-packages\neovim
c:\thirdPartTools\Python36\Lib\site-packages\neovim-0.2.0-py3.6.egg-info
c:\thirdPartTools\Python36\Lib\site-packages\pip
c:\thirdPartTools\Python36\Lib\site-packages\pip-9.0.1.dist-info
c:\thirdPartTools\Python36\Lib\site-packages\pkg_resources
c:\thirdPartTools\Python36\Lib\site-packages\pyuv
c:\thirdPartTools\Python36\Lib\site-packages\pyuv-1.4.0.dist-info
c:\thirdPartTools\Python36\Lib\site-packages\README.txt
c:\thirdPartTools\Python36\Lib\site-packages\setuptools
c:\thirdPartTools\Python36\Lib\site-packages\setuptools-28.8.0.dist-info
c:\thirdPartTools\Python36\Lib\site-packages\__pycache__
TEST KO :py3 print('hell') returns hell
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.