vim-conda is not compatible with the latest conda env activation mechanism
See original GitHub issueStarting from Conda 4.4, the recommended way of activating conda env has been changed.
Now when I execute CondaChangeEnv
command with the latest setup (setting . /opt/conda/etc/profile.d/conda.sh
in .bashrc
). The vim command complains as follows:
~/.conda/envs/vim_test/lib/python3.6/subprocess.py in check_output(timeout, *popenargs, **kwargs)
334
335 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
--> 336 **kwargs).stdout
337
338
~/.conda/envs/vim_test/lib/python3.6/subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
416 if check and retcode:
417 raise CalledProcessError(retcode, process.args,
--> 418 output=stdout, stderr=stderr)
419 return CompletedProcess(process.args, retcode, stdout, stderr)
420
CalledProcessError: Command 'conda info --json' returned non-zero exit status 127.
Changing back to the old export PATH=...
solves the above issue. But would it be possible to be compatible with latest conda? Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issues · cjrh/vim-conda - GitHub
Change conda environments in the Vim editor (with Jedi-vim support) - Issues ... vim-conda is not compatible with the latest conda env activation...
Read more >Visual Studio Code terminal doesn't activate Conda environment
First, open the Anaconda prompt (How to access Anaconda command prompt in Windows 10 (64-bit)), and type: conda activate tom. To activate your...
Read more >How to Get Ready for the Release of conda 4.4 - Anaconda
This will make the conda command itself available to all users, but conda's base (root) environment will not be activated by default. Users...
Read more >Managing Scientific Python environments using Conda ...
If you screw up a Conda environment by installing the wrong software, ... And one more thing: If you meet incompatible Python packages, ......
Read more >vim + conda environment : r/vim - Reddit
My usual vim plugins for python (for instance, python-mode) fail when using conda environments. I think this is because vim does not detect...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Nikasa1889 If you submit a PR that fixes this problem, I will merge it and make you a contributor to this repo.
If you submit a pull request to fix this I will likely merge it. I don’t use Conda anymore, so we should also check with: @jfishe @hstarmans @ryanfreckleton