Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import IPython; using conda #145

Open
arnold-jr opened this issue Jan 17, 2016 · 3 comments
Open

Can't import IPython; using conda #145

arnold-jr opened this issue Jan 17, 2016 · 3 comments

Comments

@arnold-jr
Copy link

I'm afraid this might just be a quirk of how Anaconda sets up python and ipython, but I'm running into the import error for IPython. I've recompiled vim from source and have verified that vim and system python versions are the same. I noticed that during compilation of vim that the python config library gave me a directory of /usr/lib/python2.7/plat-x86_64-linux-gnu which doesn't actually exist. Instead, the python packages are installed in /usr/lib/python2.7/plat-linux2. So I tried appending /usr/lib/python2.7/plat-linux2 to the vim/python sys.path. Needless to say, this didn't work, so any help would be appreciated.

@ivanov
Copy link
Owner

ivanov commented May 10, 2017

I know it's been over a year, sorry you had trouble @arnold-jr :\

Just to clarify, did you recompile vim to link against the anaconda python? Because you say in your bug report that vim and system python versions are the same - which would mean you need to install IPython using system python to get things to work.

@sanyueyu
Copy link

hi author what can we do for it?

@sanyueyu
Copy link

how to recompile vim to link against the anaconda python ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants