I have been using Visual Studio Code to work with Julia
files over the last few months. Previously, I was working with Python
in the Spyder IDE, where I had downloaded the Anaconda distribution to install Python and various packages in my PC and then installed Jupyter notebooks and the Spyder IDE. I would like to use Visual Studio for both Python
and Julia
. I have installed the Python Extension on VS Code, by Microsoft, and after I open a file, I am prompted to select between two Python Interpreters
However, my program does not seem to work with either of these interpreters. The same program however, works on Spyder. How do I get Python to work on VS Code while I have previously used it for Julia?
The error message is python: can't open file 'C:\Users\Administrator\ipython': [Errno 2] No such file or directory
?
If it is, you need to open a folder then create a file in it instead of just open a file directly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.