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.

КОМЕНТАРІ • 85

  • @clarawoodman9331
    @clarawoodman9331 2 роки тому +1

    thank you for this video, I didn't find any good tutorial to install pip on widows until now and this is a lifesaver!

  • @Minhowls7
    @Minhowls7 6 років тому +11

    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.

    • @apm
      @apm  6 років тому +2

      I appreciate the feedback!

  • @arunaagt8229
    @arunaagt8229 5 років тому +2

    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 😊

  • @eqbalelsid711
    @eqbalelsid711 6 років тому +3

    THIS IS BY FAR THE MOST EASIEST TO UNDERSTAND AND STEP-BY-STEP! THANK YOU VERY MUCH SIR! YOU JUST SAVE MY BACHELOR THESIS

    • @apm
      @apm  6 років тому

      I'm glad that it helped!

  • @tookjai
    @tookjai 4 роки тому +2

    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 . . .

  • @ronjonizzle
    @ronjonizzle 5 років тому +1

    Thank YOU!! For explaining how to remove older versions of python as well as setting environmental paths and installing pips... Very much appreciated!!

  • @sushmam2270
    @sushmam2270 3 роки тому +1

    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"

    • @apm
      @apm  3 роки тому

      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.

  • @jvickers1879
    @jvickers1879 5 років тому +1

    fantastic video, I'm a newbie and had trouble trying to get the IDLE window and installing pip+packages. You nailed it!

  • @preciseestimatingltd2579
    @preciseestimatingltd2579 6 років тому +1

    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.

  • @randomman3361
    @randomman3361 5 років тому +3

    I've spend hours to figure this out. Thank you so much!

  • @xiaoluwang1552
    @xiaoluwang1552 5 років тому +1

    Great and very helpful video. The installer must select the customized type and set the environment variable correctly, which other videos failed to show.

    • @apm
      @apm  5 років тому

      Thanks for pointing that out.

  • @KomalSharma-xu2qp
    @KomalSharma-xu2qp 5 років тому +2

    Thankyou so much .. i couldnt find better solutions for my error in loading numpy and panda

  • @pnachtwey
    @pnachtwey 6 років тому

    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.

    • @apm
      @apm  6 років тому

      Thanks for the tip on the hidden directories!

  • @zyganproductions3618
    @zyganproductions3618 5 років тому +1

    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!

    • @apm
      @apm  5 років тому

      Thanks!

  • @adochshanov
    @adochshanov 3 роки тому +1

    Thank you very much, sir! You're doing a great job!

  • @ritsh_
    @ritsh_ 3 роки тому +1

    How do i open python (i have linux)?

    • @apm
      @apm  3 роки тому +1

      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

  • @gamercharzard
    @gamercharzard 5 років тому

    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!!

  • @abidkhan-pm3gf
    @abidkhan-pm3gf 4 роки тому +1

    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

    • @apm
      @apm  4 роки тому

      Check the hidden extension on your file: ua-cam.com/video/YlN9ax7yC0A/v-deo.html

  • @smithicalbeast4454
    @smithicalbeast4454 5 років тому

    Thank you very much for this video. It helped a lot with installing Python. Any further instructions on installing Anaconda properly?

    • @apm
      @apm  5 років тому

      Here are Anaconda instructions as well as package management with pip: apmonitor.com/pdc/index.php/Main/InstallPython

  • @mathewboyd903
    @mathewboyd903 4 роки тому +1

    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

    • @apm
      @apm  4 роки тому

      Type python in a terminal or else create a new file with the py extension and run it with "python myfile.py"

    • @mathewboyd903
      @mathewboyd903 4 роки тому

      APMonitor.com thank you :)

    • @mathewboyd903
      @mathewboyd903 4 роки тому

      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?

    • @mathewboyd903
      @mathewboyd903 4 роки тому

      APMonitor.com Yup I figured it out lol. Sorry to bother you and thank you for the help

  • @colombedelapaix9279
    @colombedelapaix9279 6 років тому +1

    You could put a video on how to solve functional equation?please

    • @apm
      @apm  6 років тому

      Sure, here is some content from the course. apmonitor.com/che263/index.php/Main/PythonSolveEquations

  • @LucaVV1900
    @LucaVV1900 6 років тому +1

    Thank you , I have solved my problem !!! great video

  • @yasinkhan4620
    @yasinkhan4620 5 років тому +1

    the title says ppython3.7 but in your video it shows 3.5??

    • @apm
      @apm  5 років тому +1

      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.

  • @thiernosene8347
    @thiernosene8347 4 роки тому +1

    Thanks it's verry usefull

  • @shivanipawar774
    @shivanipawar774 5 років тому +1

    Sir can u guild me how to install python in cromebook for the first time ??

    • @apm
      @apm  5 років тому

      Sure, here is a tutorial: ua-cam.com/video/91OBWQexp0E/v-deo.html

  • @amigana_3450
    @amigana_3450 5 років тому

    The next document will not be changing to python file.could you please explain How to make .py file.

  • @senolkurt7864
    @senolkurt7864 6 років тому

    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?

    • @apm
      @apm  6 років тому

      Please try "pip install numpy" (without the h).

  • @doreinpaulemmanuel3614
    @doreinpaulemmanuel3614 6 років тому

    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.

    • @rrc
      @rrc 5 років тому

      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.

  • @bawk9336
    @bawk9336 6 років тому

    Does pycharm come with python or do you have to download them separately?

    • @apm
      @apm  6 років тому

      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.

  • @CommeDeGarcones
    @CommeDeGarcones 5 років тому

    17:40 didn't register as command. I couldn't continue the video any hints onto why this happened? Said "python command not found"

    • @apm
      @apm  5 років тому

      Try python3 instead.

  • @shridharkargar6830
    @shridharkargar6830 3 роки тому +1

    Thank you so much

  • @cS-bx8dt
    @cS-bx8dt 4 роки тому +1

    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

    • @apm
      @apm  4 роки тому

      Thanks for including that suggestion!

    • @cS-bx8dt
      @cS-bx8dt 4 роки тому

      @@apm No problem, great video!

  • @malikalomari1773
    @malikalomari1773 5 років тому +1

    Thx alot bro that really helpfull

  • @jarrett6917
    @jarrett6917 4 роки тому +2

    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

    • @apm
      @apm  4 роки тому

      Thanks for the tip!

  • @sylia-chan
    @sylia-chan 5 років тому +1

    i want ti install open cv with python help please

    • @apm
      @apm  5 років тому

      You'll need to use one of the following:
      pip install opencv-python
      or
      pip install opencv-contrib-python

  • @babawaleojedapo7235
    @babawaleojedapo7235 5 років тому +1

    Thanks so much for this video

    • @apm
      @apm  5 років тому

      I'm glad that it helped.

  • @coderloader2651
    @coderloader2651 5 років тому +1

    thanx very much

  • @redpilledpatriot6868
    @redpilledpatriot6868 6 років тому +1

    nice tutorial man!

  • @keiwanjamaly5360
    @keiwanjamaly5360 5 років тому

    For Linux you are not showing it for python 3.7 or am I wrong?

    • @apm
      @apm  5 років тому

      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.

    • @xxbomelxx874
      @xxbomelxx874 5 років тому

      @@apm it is more, that in your title is python 3.7 written.

    • @apm
      @apm  5 років тому

      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.

  • @hajarstihi3696
    @hajarstihi3696 5 років тому +1

    THANK YOU SO MUCH SIR !

  • @nageswar618
    @nageswar618 6 років тому

    Hello sir i want to learn python. U have any channel

    • @apm
      @apm  6 років тому

      Yes, you can subscribe to the APMonitorcom channel on UA-cam. I also have an online Python course at apmonitor.com/che263

  • @TotalDrganMania
    @TotalDrganMania 6 років тому

    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

    • @apm
      @apm  6 років тому

      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.

    • @TotalDrganMania
      @TotalDrganMania 6 років тому

      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?

    • @apm
      @apm  6 років тому

      Maybe it was an issue with PyPi as well.

    • @TotalDrganMania
      @TotalDrganMania 6 років тому

      @@apm it couldve been. I just dont get why it suddenly worked lol

  • @dropshotking1212
    @dropshotking1212 5 років тому +1

    if your here for Linux skip to 14:50

  • @TheKlapacius
    @TheKlapacius 5 років тому +1

    thank you man,

  • @gamingbud926
    @gamingbud926 4 роки тому +1

    Thanks :)

  • @user-ke6zi1cd9w
    @user-ke6zi1cd9w 6 років тому +1

    Thank you.

  • @vivienkacou3378
    @vivienkacou3378 5 років тому

    merci beaucoup. c'est parfait

    • @apm
      @apm  5 років тому +1

      Je suis content que cela ait aidé.

  • @MohaDou
    @MohaDou 5 років тому +1

    thnkx 4 a lot

  • @hokimtam625
    @hokimtam625 6 років тому

    Fist time I see this video, I think you write wrong title. "Uninstall Python..." not "Install Python...".

    • @apm
      @apm  6 років тому

      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.

  • @TeluguTechTips
    @TeluguTechTips 6 років тому +1

    nice