簡體   English   中英

在 Visual Studio Code 上運行 Julia 和 Python

[英]Running Julia and Python on Visual Studio Code

在過去的幾個月里,我一直在使用 Visual Studio Code 處理Julia個文件。 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 . 我已經在 VS Code 上安裝了 Microsoft 的 Python 擴展,在我打開一個文件后,系統提示我在兩個 Python 解釋器之間使用 select

  1. Python 3.9.5 ~\julia\conda\3\python.exe
  2. Python 3.8.10 ('基礎') ~\anaconda3\python.exe

但是,我的程序似乎不適用於這些解釋器中的任何一個。 然而,同樣的程序也適用於 Spyder。 我之前將 Python 用於 Julia,如何讓它在 VS Code 上工作?

錯誤信息是python: can't open file 'C:\Users\Administrator\ipython': [Errno 2] No such file or directory ?

如果是,您需要打開一個文件夾然后在其中創建一個文件,而不是直接打開一個文件。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM