简体   繁体   English

如何在没有 Anaconda 的情况下安装 jupyter notebook? 在 Windows 7 中

[英]How to install jupyter notebook without Anaconda?In windows 7

I am 13 year old kiddo and I am unable to install jupyter notebook in my pc.我是 13 岁的孩子,我无法在我的电脑上安装 jupyter notebook。 I executiled this command :- Python -m pip install jupyter notebook And then this one :- Jupyter notebook我执行了这个命令:- Python -m pip install jupyter notebook然后这个:- Jupyter notebook

It is giving this error:- "Script.py is not on the path".它给出了这个错误:-“Script.py 不在路径上”。

Please help me out请帮帮我

it looks like you need to set the respective required PATH as a system variable and/or environment variable.看起来您需要将各自所需的 PATH 设置为系统变量和/或环境变量。 在此处输入图片说明

Go to the Path where Jupyter Notebook is installed.转到安装 Jupyter Notebook 的路径。 Mostly it should be in大多数情况下它应该在

C:\Users\welcome\AppData\Local\Programs\Python\Python39\Scripts

From there run jupyter-notebook.exe file.从那里运行jupyter-notebook.exe文件。 It will be opened in browser.它将在浏览器中打开。

Note : For my case it is welcome , for your case it can be your username.注意:对于我的情况,欢迎使用,对于您的情况,它可以是您的用户名。

C:\Users\atharva\AppData\Local\Programs\Python\Python39\Scripts

Basically you have to choose your path where python is installed.基本上你必须选择安装python的路径。

This Answer is taken from How to install jupyter notebook without anaconda这个答案来自如何在没有 anaconda 的情况下安装 jupyter notebook

  1. While installing python make sure to check these points.在安装 python 时,请确保检查这些点。
    a.一种。 pip setting点数设置点数设置

    b.add to Environment variable添加到环境变量添加到环境变量

  2. Make sure these python variables is present in Environment Variables settings.确保这些 python 变量存在于环境变量设置中。在此处输入图片说明

  3. Open command-prompt and type: "pip install jupyter" and it looks like this..打开命令提示符并输入:“pip install jupyter”,它看起来像这样..pip 安装 jupyter

  4. After jupyter installation done. jupyter安装完成后。 Type in command prompt: "jupyter notebook" after few seconds jupyter server start and show this info in command prompt and open notebook in you browser as this..输入命令提示符:“jupyter notebook”几秒钟后,jupyter 服务器启动并在命令提示符中显示此信息,然后在浏览器中打开 notebook,如下所示..启动 jupyter 笔记本

Try reinstalling python.尝试重新安装python。 While installation, remember to click “add python to path” option.安装时记得点击“add python to path”选项。

Open Command Prompt (cmd) and type:打开命令提示符 (cmd)并键入:

python -m pip install -upgrade pip 
#or, for python 2 users
python3 -m pip install -upgrade pip 

After upgrading pip, write this -升级pip之后,写这个——

python -m pip install jupyter 

To open Jupyter notebook, write jupyter notebook in the cmd要打开 Jupyter notebook, jupyter notebook在 cmd 中编写jupyter notebook

Then, the Jupyter Notebook is opened in the browser然后,在浏览器中打开 Jupyter Notebook

for more info - installing jupyter without anaconda有关更多信息- 在没有 anaconda 的情况下安装 jupyter

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

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