简体   繁体   English

在ipython上安装python 3内核

[英]install python 3 kernel on ipython

I know the question has been asked in the past but couldnt find a satisfying solution. 我知道这个问题过去曾提出过,但找不到令人满意的解决方案。

i want to add a python 3 kernel on ipython here the "official" instructions seems quite straightforward https://ipython.readthedocs.io/en/latest/install/kernel_install.html 我想在ipython上添加python 3内核,这里的“官方”说明似乎非常简单https://ipython.readthedocs.io/en/latest/install/kernel_install.html

however i receive the following error: 但是我收到以下错误:

C:\\Users\\Vincent>python3 -m pip install ipykernel 'python3' is not recognized as an internal or external command, operable program or batch file. C:\\ Users \\ Vincent> python3 -m pip install ipykernel'python3'无法识别为内部或外部命令,可操作程序或批处理文件。

This is on a windows system. 这是在Windows系统上。

any idea whats wrong? 你知道怎么了吗?

Found the solution: windows uses the command py -3 instead of python3 that was suggested in the docs posted above; 找到解决方案:Windows使用命令py -3代替上面发布的文档中建议的python3;

Sorry if that was abs obvious for all.. 对不起,如果这对所有人来说都是显而易见的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM