简体   繁体   中英

Can't get jupyter notebook to run when I put in python shell

When I type python --version in python 3.9 shell, I get python not defined. The same command does not work when run from saved file or from shell. When I type pip install jupyter I get invalid syntax.

Am I doing something wrong?

I just installed python and am just beginning with it and not sure why I can't get these to work.

Ok, found issue. You cannot get "python --version" by typing it into the python shell, I typed it into the command prompt for windows and it worked fine. Maybe I will have the jupyter thing figured out by tommorow.

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.

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