1.1.2. PyPi (Linux)¶
1.1.2.1. Install Python¶
- Install Python 3 using your Linux’s package manager
- Ubuntu/Debian:
sudo apt install python3 python3-pip
- Centos/Redhat:
sudo yum install python3 python3-pip
- Ubuntu/Debian:
1.1.2.2. Install in terminal¶
To install
python3 -m pip install openseespy python3 -m pip install --user openseespy
To upgrade
python3 -m pip install --upgrade openseespy python3 -m pip install --user --upgrade openseespy
To import
import openseespy.opensees as ops