Installation¶
System Requirements¶
view.py requires CPython 3.8 or above.
What is CPython?
CPython is the reference/official implementation of Python. If you downloaded Python through python.org or some sort of system package manager (e.g. apt
, pacman
, brew
), it's probably CPython.
Installing with a Virtual Environment (Recommended)¶
Windows¶
Linux/macOS¶
Why a virtual environment?
view.py is a large package with lots of dependencies, as well as a big extension module. If you have no idea what a virtual environment is or why they're useful, take a look at Python's documentation.
Installing via Pip¶
Windows¶
Linux/macOS¶
Development Version¶
Finalizing¶
To ensure you've installed view.py correctly, run the view
command:
$ view
Welcome to view.py!
Docs: https://view.zintensity.dev
GitHub: https://github.com/ZeroIntensity/view.py
If this doesn't work properly, try executing via Python: