User Tools

Site Tools


howto:pymol_install_on_windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:pymol_install_on_windows [2019/02/18 09:20] jphowto:pymol_install_on_windows [2021/03/18 15:40] (current) – [Running PyMOL] jp
Line 8: Line 8:
 So, first we a Python interpreter.  PyMOL is written in the Python programming language, hence you need this to run PyMOL. So, first we a Python interpreter.  PyMOL is written in the Python programming language, hence you need this to run PyMOL.
  
-  - Download Python 3.7.2 from the [[https://www.python.org/downloads/windows/|Python website]] (the file you want is called ''Windows x86-64 executable installer''). +  - Download Python 3.9.2 (the minor version - the last number - may change) from the [[https://www.python.org/downloads/windows/|Python website]] (the file you want is under in link ''Windows installer (64-bit)''). 
-  - Run the downloaded file and select the customized installation.  Leave everything as is, with the exception of the install location and adding Python to the path environment variable.  Set the install location as shown below to ''C:\Python37''.  Also check the tick box //Add Python to environment variables//.+  - Run the downloaded file and select the customized installation.  Select the ''Add Python 3.9 to PATH'' at the bottom.  Leave everything as is (press ''Next'' on the first screen), with the exception of the install location.  Set the install location as shown to ''C:\Python39''.
  
-{{ :images:py_setting_win.png?nolink&600 |}}+{{ :images:py39_win_setup.png?nolink&600 |}}
  
 ===== Downloading PyMOL =====  ===== Downloading PyMOL ===== 
Line 17: Line 17:
 PyMOL is a complex bit of software, but someone has assembled it to work on Windows for us (thanks [[https://www.lfd.uci.edu/~gohlke/|Christoph Gohlke]]!). PyMOL is a complex bit of software, but someone has assembled it to work on Windows for us (thanks [[https://www.lfd.uci.edu/~gohlke/|Christoph Gohlke]]!).
  
-  - From the [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol|PyMOL]] section on the Gohlke page, download the file ''pymol‑2.3.0‑cp37cp37m‑win_amd64.whl'' in directory ''C:\pymol_installation'' You need to create this directory first from Windows Explorer. +  - From the [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol|Pymol-open-source]] section on the Gohlke page, download the file ''pymol‑2.4.0‑cp39cp39‑win_amd64.whl'' in directory ''C:\pymol_installation'' You need to create this directory first from Windows Explorer. 
-  - Under the [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol|PyMOL]] section on the Gohlke page, also download the file ''pymol_launcher‑2.1‑cp37cp37m‑win_amd64.whl'' in directory ''C:\pymol_installation''.+  - Under the same section, [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol|PyMOL]]on the Gohlke page, also download the file ''pymol_launcher‑2.1‑cp39cp39‑win_amd64.whl'' in directory ''C:\pymol_installation''.
  
 You should now have two files in your ''C:\pymol_installation'' directory. You should now have two files in your ''C:\pymol_installation'' directory.
Line 26: Line 26:
   - Open a //Command Prompt// Search for the //Command Prompt//, right-click and click on //Run as administrator// option.   - Open a //Command Prompt// Search for the //Command Prompt//, right-click and click on //Run as administrator// option.
   - In the command prompt execute ''pip install wheel''.   - In the command prompt execute ''pip install wheel''.
-  - In the command prompt execute ''pip install --upgrade pip'' 
   - Go to the PyMOL installation directory ''cd \pymol_installation''   - Go to the PyMOL installation directory ''cd \pymol_installation''
-  - Run the command ''pip install pymol-2.3.0-cp37-cp37m-win_amd64.whl'' +  - Run the command ''pip install pymol2.3.0cp37cp37mwin_amd64.whl'' 
-  - Run the command ''pip install pymol_launcher-2.1-cp37-cp37m-win_amd64.whl''+  - Run the command ''pip install pymol_launcher2.1cp37cp37mwin_amd64.whl''
  
 ===== Running PyMOL =====  ===== Running PyMOL ===== 
  
-To run PyMOL you just need to type ''pymol'' in the //Command Prompt// Alternatively, browse your ''C:\Python37'' directory, right-click on the file ''pymol.exe'' and select the option //Send to// followed by //Desktop (create shortcut)// You can now access PyMOL by clicking on the PyMOL icon on your desktop.+To run PyMOL you just need to type ''pymol'' in the //Command Prompt// Alternatively, browse your ''C:\Python39\Scripts'' directory, right-click on the file ''pymol.exe'' and select the option //Send to// followed by //Desktop (create shortcut)// You can now access PyMOL by clicking on the PyMOL icon on your desktop.
  
 Get in touch if you have any problems. Get in touch if you have any problems.
howto/pymol_install_on_windows.1550481633.txt.gz · Last modified: 2019/02/18 09:20 by jp