1.1.3. PyPi (Mac)

1.1.3.1. Install Dependencies

  • Install MacPorts for your macOs.

  • Install gcc8

    sudo port install gcc8
    

1.1.3.2. Install Python

  • Install Python 3.8 using MacPorts

    sudo port install python38 py38-pip
    

1.1.3.3. Install in terminal

  • To install

    python3.8 -m pip install openseespy
    
    python3.8 -m pip install --user openseespy
    
  • To upgrade

    python3.8 -m pip install --upgrade openseespy
    
    python3.8 -m pip install --user --upgrade openseespy
    
  • To import

    import openseespy.opensees as ops