Install Python 3.7 on Windows or Linux
Вставка
- Опубліковано 14 жов 2024
- Follow these steps to install Python 3.7 on Windows:
1. Remove old Python distributions
2. Browse to python.org and download installer
3. Install to C:\Python37
4. Add to PATH Environment Variable
a. C:\Python37
b. C:\Python37\Scripts
5. Open command window (cmd)
6. Install packages with pip
Python can also be installed on Linux with the following commands in a terminal window:
Python 3+:
sudo apt install python3
sudo apt install python3-pip
Python 2.7
sudo apt install python
sudo apt install python-pip
See apmonitor.com/c... to learn scientific computing with Python and the Temperature Control Lab (apmonitor.com/h.... These exercises use the Python Jupyter Notebook that is available when you install Anaconda.
thank you for this video, I didn't find any good tutorial to install pip on widows until now and this is a lifesaver!
Thank you very much for helping people to find quick and solid understanding how to set up Python installation steps. I've been looking for many sites to find an easy installation steps to avoid cmd errors while typing python command. This is the best video I have watched how to set up Python.
I appreciate the feedback!
If anyone wants to install python in ubantu video will start at 11:35. Thank you so much man. I got finally without frustration. Thanks 😊
THIS IS BY FAR THE MOST EASIEST TO UNDERSTAND AND STEP-BY-STEP! THANK YOU VERY MUCH SIR! YOU JUST SAVE MY BACHELOR THESIS
I'm glad that it helped!
Thanks for the easy to follow instructions (with the checklist) . . . creating the path ' C:\Python38 ' was what most of the vdos missed when customizing the installation . . .
Thank YOU!! For explaining how to remove older versions of python as well as setting environmental paths and installing pips... Very much appreciated!!
I have followed all the instructions mentioned above, but I keep getting the below error for all the packages in windows. I don't know how to go about it. Please help me in this regard
"Could not find a version that satisfies the requirement matplotlib (from versions: )
No matching distribution found for matplotlib"
Please use these updated instructions: apmonitor.com/pds/index.php/Main/InstallPython Sometimes the newest package (such as Python 3.10) doesn't have the package compatibility and you need to use a version earlier such as 3.9.
fantastic video, I'm a newbie and had trouble trying to get the IDLE window and installing pip+packages. You nailed it!
Thanks APMonitor.com, very well informed guide. We had problems with our Python filetype's not being recognized but it's all running smoothly now.
I've spend hours to figure this out. Thank you so much!
Great and very helpful video. The installer must select the customized type and set the environment variable correctly, which other videos failed to show.
Thanks for pointing that out.
Thankyou so much .. i couldnt find better solutions for my error in loading numpy and panda
I am doing the same thing now on one computer. I also removed all traces of python and anaconda and then searched the registry for lingering entries. you also need view hidden files and directories because there are many old python related directories in my user directory. I deleted these hidden directories too. I downloaded the 64 bit version. I like the idea of installing in the c:\ like you did because updating the path is easier and the files are easier to find.
This is good.
Thanks for the tip on the hidden directories!
This is fantastic. I am only vaguely technical and this video is just the ticket. Everything else online assumes the world is made of git-geeks!
Thanks!
Thank you very much, sir! You're doing a great job!
How do i open python (i have linux)?
Python only runs the script file. There is no application to open. Jupyter notebooks combine editing with an ability to run the code. More information on getting started (even in Linux) is provided here: apmonitor.github.io/begin_python
Thank you Thank you Thank you so so much for this video!!! Really easy to follow and helped me out massively as I couldn't get Python into the right area with all the files so thank you for this video!!
Hi, I have a bit of an issue with test.py step, the text file remains represented by the internet explorer icon and wont let me edit it with the IDE, is there anything i can do, perhaps even download the IDE seprately
Check the hidden extension on your file: ua-cam.com/video/YlN9ax7yC0A/v-deo.html
Thank you very much for this video. It helped a lot with installing Python. Any further instructions on installing Anaconda properly?
Here are Anaconda instructions as well as package management with pip: apmonitor.com/pdc/index.php/Main/InstallPython
I know this is a stupid question but i am on Pop os and i just installed python and i was wondering how i open python
Type python in a terminal or else create a new file with the py extension and run it with "python myfile.py"
APMonitor.com thank you :)
APMonitor.com I am sorry to ask another question but every time I try and turn my test file “test.py” it says No such file or directory. So do I need to specify the directory to my python file before I can run it?
APMonitor.com Yup I figured it out lol. Sorry to bother you and thank you for the help
You could put a video on how to solve functional equation?please
Sure, here is some content from the course. apmonitor.com/che263/index.php/Main/PythonSolveEquations
Thank you , I have solved my problem !!! great video
the title says ppython3.7 but in your video it shows 3.5??
I was showing the latest version for Windows (3.7) but for the Ubuntu in Windows subsystem for Linux, the current version was 3.5. It is probably 3.7 now. The same install commands should work.
Thanks it's verry usefull
Sir can u guild me how to install python in cromebook for the first time ??
Sure, here is a tutorial: ua-cam.com/video/91OBWQexp0E/v-deo.html
The next document will not be changing to python file.could you please explain How to make .py file.
Couldn't install pip numphy and scipy. "Command "python setup.py egg_info" failed with error code 1 in C:\Users\pc\AppData\Local\Temp\pip-install-jrfgw9k_
umphy\" error. tried several times but the same error. Would you help?
Please try "pip install numpy" (without the h).
Hi IDE 3.7 How do I install that? Because when I right click IDE is not showing up, possibly because I do not have it on my computer. I have Notepad++ though, Does that help? When I followed the same instructions and clicked Run on Notepad it said, on what? Run on what. Please guide.
IDLE comes with the installation. I recommend that you uninstall all versions of Python and then start with a new Python 3.7 install, following each step exactly.
Does pycharm come with python or do you have to download them separately?
Pycharm is a separate package available from jetbrains.com: www.jetbrains.com/pycharm/download/#section=windows There is a free community version or a paid version. You may also want to check out Spyder that comes with Anaconda as an alternative to Pycharm.
17:40 didn't register as command. I couldn't continue the video any hints onto why this happened? Said "python command not found"
Try python3 instead.
Thank you so much
For those of you who have an older version of python 3 on the Ubuntu distribution and want the newest version:
$ sudo apt upgrade python3
Thanks for including that suggestion!
@@apm No problem, great video!
Thx alot bro that really helpfull
Amazing tutorial! Vastly superior to most others I've encountered for a range of installations. I encountered an error (E: Unable to locate package python3-pip) problem when I tried to run the command "sudo apt install python3-pip", and I found a solution here: askubuntu.com/questions/1061486/unable-to-locate-package-python-pip-when-trying-to-install-from-fresh-18-04-in
Thanks for the tip!
i want ti install open cv with python help please
You'll need to use one of the following:
pip install opencv-python
or
pip install opencv-contrib-python
Thanks so much for this video
I'm glad that it helped.
thanx very much
nice tutorial man!
For Linux you are not showing it for python 3.7 or am I wrong?
Windows Subsystem for Linux is currently on Python 3.5. I'd recommend that you just get the latest version. Compiling from source can be very challenging - apt-get or yum are much easier but the version (3.5) is lower.
@@apm it is more, that in your title is python 3.7 written.
It was Python 3.7 for the Windows install. The package managers make it very easy for Linux so I wouldn't necessarily recommend getting the Linux Python 3.7 distribution from python.org. However, that is an option.
THANK YOU SO MUCH SIR !
Hello sir i want to learn python. U have any channel
Yes, you can subscribe to the APMonitorcom channel on UA-cam. I also have an online Python course at apmonitor.com/che263
I keep getting the error Command "python setup.py egg_info" failed with error code 1 in C:\Users\david\AppData\Local\Temp\pip-install-ye8uykcy\\matplotlib\. How do I fix this???? It worked on one machine abut not my laptop. Please help
You may have a corrupted installation. Also, you may want to check that you have admin privileges or else install only to the local profile. I recommend uninstalling all Python distributions and starting again.
I did that like 20 times last night, I'm not even joking. Took 3 hours to no avail. I woke up this morning and went to class, came back to my dorm, popped open the command console and low and behold, pip install matplotlib actually worked. On the first try! No installation issues. I have no clue why this worked all of a sudden. Kinda curious, any idea? Could it have been a wifi issue? I did download Anaconda last night because I knew it would at least work on there. I ran my program and saw it worked, so I thought I would leave it. Could Anaconda have successfully overwritten any corrupt files?
Maybe it was an issue with PyPi as well.
@@apm it couldve been. I just dont get why it suddenly worked lol
if your here for Linux skip to 14:50
thank you man,
Thanks :)
Thank you.
merci beaucoup. c'est parfait
Je suis content que cela ait aidé.
thnkx 4 a lot
Fist time I see this video, I think you write wrong title. "Uninstall Python..." not "Install Python...".
That is a great observation! Prior installations of Python are one of the biggest obstacles for new installations so clearing them out is a good option.
nice