PPhysics

Version 1.1.0 - lastest


Docs >> Installation


Installation

To install PPhysics, install the pphysics package from PyPI by running pip install pphysics.

If you get an error, maybe "Command not found: pip", you can use pip3 install pphysics or link your pip3 to pip: sudo ln /usr/bin/pip3 /usr/local/bin/pip on Linux, remove sudo if you run on macOS.

If you don't want to link or there's an error while linking: echo alias pip=pip3 >> ~/.bashrc, .bashrc can be replacing by .bash_profile, .zshrc, .zsh_profie,... depent to your shell, you can set the shell profile to auto run source ~/.rc when starting if you don't know the shell source's file, .rc can be another name.

OS-specific instructions are below.

Windows

On Windows, you can use py.exe programs to run lastest version of python:

py -m pip install pphysics

If you have multiple version of Python installed, you can select which one with a command line argument to py. For example, for Python 3.9, run:

py -3.9 -m pip install pphysics

(This is the same of running pip install pphysics)


Linux and MacOS

On macOS and Linux, you need to run python3 or using the way in top similar doing with pip (linking or creating alias) to use python:

python3 -m pip install pphysics

Or if you did it:

python -m pip install pphysics