Files
pymol-open-source/INSTALL

65 lines
2.1 KiB
Plaintext

----------------------------------------------------------------------
INSTALLATION VIA COMPILATION
----------------------------------------------------------------------
See also: http://pymolwiki.org/index.php/Linux_Install
REQUIREMENTS
- C++17 compiler (e.g. gcc 8+)
- CMake (3.13+)
- Python 3.9+
- pip (with build submodule <pip install build>; conda's package name is python-build)
- Pmw (Python Megawidgets) (optional, for legacy GUI/plugins)
https://github.com/schrodinger/pmw-patched
- OpenGL
- GLEW
- GLUT (freeglut) (optional, enable with --glut=true)
- libpng
- freetype
- libxml2 (optional, for COLLADA export, disable with --libxml=no)
- msgpack-c 2.1.5+ (optional, for fast MMTF loading and export,
disable with --use-msgpackc=no)
- mmtf-cpp (for fast MMTF export, disable with --use-msgpackc=no)
- PyQt5, PyQt6, PySide2 or PySide6 (optional, will fall back to Tk
interface if compiled with --glut=true)
- glm
- catch2 (optional, enable with --testing=true)
- openvr 1.0.x (optional, enable with --openvr=true)
- libnetcdf (optional, disable with --vmd-plugins=no)
SETUP OPTIONS
pip install --help
Special install options:
--pymol-path= installation directory for PyMOL data ($PYMOL_PATH)
--no-launcher skip installation of the pymol launcher
Environment variables:
PREFIX_PATH Colon-delimited list of paths to search for headers and
libraries, e.g. $HOME/mmtf-cpp:$HOME/msgpack-c:/opt/local
CXX C++ compiler command
CC C compiler command
CXXFLAGS C++ compiler flags
CFLAGS C compiler and linker flags
CPPFLAGS C/C++ preprocessor flags, e.g. -I/tmp/msgpack-c/include
LDFLAGS linker flags
INSTALLATION
Clean build and installation
pip install .
Recommended for developers (build output, incremental build, and building C++ unit tests)
pip install --verbose --no-build-isolation --config-settings testing=True .
RUNNING PyMOL
$PYMOL_PATH/bin/pymol
or
$PYTHONUSERBASE/bin/pymol
Good luck!