skywind3000 / asyncrun.vim

:rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
https://www.vim.org/scripts/script.php?script_id=5431
MIT License
1.84k stars 109 forks source link

How to run python scripts with other python interpreter? #277

Open wqshmzh opened 1 year ago

wqshmzh commented 1 year ago

I use conda to create environment for python. How can I run asyncrun.vim using the python interpreter in that conda environment? Thank you

skywind3000 commented 1 year ago

When you created a conda environment, check the python interpreter path in that env.

And use the absolute path of python interpreter in asyncrun, like:

:AsyncRun /absolute/path/to/python  --version