Install Python

Main.InstallPython History

Hide minor edits - Show changes to output

Changed lines 5-8 from:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.7+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Anaconda and Python.org.

!!!! Install Anaconda
to:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.7+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide.

.

Install
Changed line 12 from:
<iframe width="560" height="315" src="https://www.youtube.com/embed/LrMOrMb8-3s" frameborder="0" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="https://www.youtube.com/embed/" frameborder="0" allowfullscreen></iframe>
Changed lines 15-16 from:
!!!! Install Python from Python.org
to:
!!!! Install Python
Changed line 18 from:
<iframe width="560" height="315" src="https://www.youtube.com/embed/bXWlyOMYpRE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="https://www.youtube.com/embed/" frameborder="0" allow="a; -" allowfullscreen></iframe>
Changed lines 21-22 from:
!!!! Install Jupyter Lab, Notebook, VSCode
to:
!!!! Install
Changed line 24 from:
<iframe width="560" height="315" src="https://www.youtube.com/embed/eUq-6ZuwC_A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="https://www.youtube.com/embed/eUq-6ZuwC_A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Changed lines 27-29 from:
!!!! Install Packages with '''pip''' (Command Line)

Sometimes a script uses a package that is not yet installed. Once Python is installed, a package manager such as ''pip'' or ''conda'' can be used to install, remove, or update packages.
to:
!!!! Install Packages

Sometimes a script uses a package that is not yet installed. Once Python is installed, a package manager such as ''pip'' or ''conda'' can be used to install, remove, or update packages.
October 06, 2020, at 11:25 am by 136.36.211.159 -
Changed line 7 from:
!!!! Install Anaconda (recommended)
to:
!!!! Install Anaconda
June 05, 2020, at 11:28 pm by 174.148.68.215 -
Added lines 17-22:





December 30, 2019, at 04:19 pm by 136.36.211.159 -
Changed line 5 from:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.6+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Anaconda and Python.org.
to:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Anaconda and Python.org.
December 01, 2019, at 10:53 pm by 136.36.211.159 -
Changed lines 27-32 from:
Below is an example on how to install [[https://apmonitor.com/wiki/index.php/Main/PythonApp|APMonitor Optimization Suite]] from the command line (start ''cmd'').

 pip install APMonitor

The ''APMonitor'' package name can be replaced with any available package name such as [[https://www.numpy.org|NumPy]].
to:
Below is an example on how to install [[https://.///|Optimization Suite]] from the command line (start ''cmd'').

 pip install

The '''' package name can be replaced with any available package name such as [[https://www.numpy.org|NumPy]].
Added lines 34-39:





August 22, 2018, at 05:00 pm by 10.35.117.63 -
Changed line 16 from:
<iframe width="560" height="315" src="https://www.youtube.com/embed/Ju6zw83PoKo" frameborder="0" allowfullscreen></iframe>
to:
<iframe width="560" height="315" src="https://www.youtube.com/embed/" frameborder="0" allowfullscreen></iframe>
June 02, 2018, at 11:56 pm by 45.56.3.173 -
Changed lines 39-40 from:
'''Load and Optionally Install APMonitor Package'''
to:
'''Load and Optionally Install '''
Added line 42:
Changed line 44 from:
   from APMonitor.apm import *
to:
   from import
Changed lines 46-48 from:
   import pip
   pip.main(['install','APMonitor'])
  from APMonitor.apm import *
to:
   pip.
(['install',])
Changed lines 50-62 from:
'''Load and Optionally Install NumPy Package'''

(:source lang=python:)
try:
  import numpy as np
except:
  import pip
  pip.main(['install','numpy'])
  import numpy as np
(:sourceend:)

The ''APMonitor'' or ''NumPy'' package names can be replaced with any available package. The pip package manager connects to an online repository to retrieve the latest version of the package and install it. Sometimes a package is needed on a computer that isn't connected to the internet or the package isn't available through pip. Below is information on installing a package wheel (''whl'') file.
to:
''''. The pip package manager connects to an online repository to retrieve the latest version of the package and install it. Sometimes a package is needed on a computer that isn't connected to the internet or the package isn't available through pip. Below is information on installing a package wheel (''whl'') file.
Deleted lines 65-69:

or else use pip from within a Python script:

import pip
pip.main(['list'])
Added lines 71-95:
























Changed lines 13-17 from:
!!!! Install Python 3.6 from Python.org
to:
!!!! Install Python from Python.org



Added lines 8-11:



Changed line 29 from:
Packages can also be managed from a Python script by attempting to load the package with ''try''. If the import fails, the ''except'' section is run to import ''pip'' and install the package.
to:
Packages can also be managed from a Python script by attempting to load the package with ''try''. If the import fails, the ''except'' section i''pip'' and installthe package.
Changed lines 5-9 from:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.6+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Python.org and Aanaconda.
to:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.6+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Python.org



Changed lines 15-16 from:
Below is an example on how to install ''APMonitor'' from the command line (start ''cmd'').
to:
Below is an example on how to install from the command line (start ''cmd'').
Changed line 19 from:
The ''APMonitor'' package name can be replaced with any available package name such as ''numpy''.
to:
The ''APMonitor'' package name can be replaced with any available package name such as numpy.
Changed line 58 from:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/|Christoph Gohlke's whl files]] for Windows installations. Many of the packages depend on the [[https://www.microsoft.com/en-us/download/details.aspx?id=53587|Visual C++ 2015]] (x64 and x86 for CPython 3.5 and 3.6) that is available from Microsoft. After installing the Visual C++ redistributable, download and install [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy|NumPy]] and [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|SciPy]] packages for Python 3.6 on Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
to:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/|Christoph Gohlke's whl files]] for Windows installations. Many of the packages depend on the [[https://www.microsoft.com/en-us/download/details.aspx?id=53587|Visual C++ 2015 ]] (x64 and x86 for CPython 3.5 and 3.6) that is available from Microsoft. After installing the Visual C++ redistributable, download and install [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy|NumPy]] and [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|SciPy]] packages for Python 3.6 on Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
Changed line 58 from:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|Christoph Gohlke's whl files]] for NumPy and SciPy packages for Python 3.6 on Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
to:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/|Christoph Gohlke's whl files]] for packages for Python 3.6 on Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
Changed line 55 from:
 pip install numpy‑1.13.1+mkl-cp36-cp36m-win_amd64.whl
to:
 pip install numpy.13.1+mkl-cp36-cp36m-win_amd64.whl
Changed lines 53-55 from:
The pip package manager can also be used to install local (previously downloaded) wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.

 pip install scipy‑0.19.1‑cp36‑cp36m‑win_amd64.whl
to:
The pip package manager can also be used to install local (previously downloaded) wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for version .1.1 .6 with 64-bit Python.

 pip install .1.1
_amd64.whl
Changed lines 51-53 from:
!!!! Install Package Wheels (whl)

The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.
to:
!!!! Install Package Wheels (whl)

The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.
Changed line 57 from:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|Christoph Gohlke's whl files]] for NumPy and SciPy packages for Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
to:
Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|Christoph Gohlke's whl files]] for NumPy and SciPy packages for Windows. The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
Changed lines 53-54 from:
The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python. Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|Christoph Gohlke's whl files]] for NumPy and SciPy packages for Windows.
to:
The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.
Changed lines 57-58 from:
The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
to:
The downloaded wheel file names should not be changed because the wheel file name verifies compatibility with the current Python version.
Changed lines 7-8 from:
!!!! Install Packages with '''pip'''
to:
!!!! Install Packages with '''pip'''
Added lines 22-23:

Added lines 25-26:

Deleted line 30:
   # Automatically install APMonitor
Added lines 35-47:












Added line 11:
Added line 13:
Changed lines 5-6 from:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.6+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Python.org and Aanaconda. Use [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy|Christoph Gohlke's whl files]] for the most up-to-date NumPy and SciPy packages for Windows.
to:
Python is a high-level and general-purpose programming language and is a [[https://www.google.com/search?q=popular+programming+languages|top choice for programmers (Google search)]]. Part of the reason that it is a popular choice for scientists and engineers is the language versatility, online community of users, and powerful analysis packages such as Numpy and Scipy. This course uses Python 2.7 or Python 3.6+. Python is free and open-source and is easy to install with [[https://www.continuum.io/downloads|Anaconda (IPython, Jupyter, Spyder)]], [[https://www.jetbrains.com/pycharm/download/|PyCharm]], or the [[https://www.python.org/downloads/|Python.org]] distributions. Below is a tutorial on getting started with Python with a complete installation guide for Python.org and Aanaconda.

'
Changed lines 33-35 from:
The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.
to:


The pip package manager can also be used to install local wheel (''.whl'') files but dependencies may not be automatically installed if not connected to the internet. Below is an example wheel file installation for SciPy version 0.19.1 for Python 3.6 with a 64-bit version of Python.
Added lines 1-36:



































Course Information

Assignments

Projects

Exams

Dynamic Modeling

Equipment Design

Control Design

Optimal Control

Related Courses

Admin

Streaming Chatbot
💬