[英]Solve atom error message
我收到關於atom的錯誤,它要求使用pip安裝ipkernal。
不知道該怎么辦。 我的系統上安裝了Anaconda而不是pip。 有人可以解釋什么錯誤以及如何使用anaconda解決該錯誤。 我正在運行python代碼,並將文件另存為.py
。
import pandas as pd
wd = pd.read_csv("winequality-red", sep = ";")
five = wd.head()
print ("five")
錯誤信息:
No kernel for grammar Python found <br>
Check that the language for this file is set in Atom and that you have a Jupyter kernel installed for it.<br>
To detect your current Python install you will need to run:<br>
python -m pip install ipykernel<br>
python -m ipykernel install --user
這並不是真正的答案,但是您可以在專門的Atom論壇上擁有更好的運氣。
但是就您而言,您似乎尚未安裝Hydrogen
運行Python所需的適當內核。 (當然,我只是假設您正在使用Hydrogen。您實際上並未提供有關如何運行它的任何詳細信息)。
從Hydrogen文檔中,可將您帶到此頁面以獲取Python內核。 https://nteract.io/kernels/python
特別是我想您要運行命令conda install ipykernel
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.