coc-python icon indicating copy to clipboard operation
coc-python copied to clipboard

Can't use my interpreter after I select it?

Open sleeperzjf opened this issue 4 years ago • 0 comments

I installed anaconda on my laptop and installed a couple of packages including torch via pip. After I selected the interpreter from anaconda, it looks like nothing was wrong: image But it gives me an error when I tried to import torch: image And if I run the program directly from vim, I get error reporting: image But if I run it from my terminal it works all fine: image

By the way, apy in the command line means: image And the command that runs .py files from vim is: image I can see that I can't run the program from vim because I use /usr/bin/python to run the program, but it shouldn't give me errors in the file.

sleeperzjf avatar Jul 14 '20 08:07 sleeperzjf