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

How to connect to virtualenv? #64

Open
ipsod opened this issue Jan 19, 2022 · 1 comment
Open

How to connect to virtualenv? #64

ipsod opened this issue Jan 19, 2022 · 1 comment

Comments

@ipsod
Copy link

ipsod commented Jan 19, 2022

How can I use nvim-ipy with a virtualenv?

@gwerbin
Copy link

gwerbin commented Nov 23, 2022

@ipsod you can install ipykernel in the virtualenv, then register the kernel with python -m ipykernel install --user --name my-venv. You will then be able to run :IPython --kernel my-venv. This is the same technique that you would use for running Jupyter Notebook/Lab with kernels in virtual environments.

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

2 participants