How to Create Python Environment for your WIP - EP Workbench

EP Workbench: How to Create Python Environment for your WIP

Note: WIPs run python code in the background and therefore require setting up a Conda environment.

  • WIPs (Work-in-Progress) are small plugins that can run code from within EP Workbench.
  • You can install a WIP (using the WIP Marketplace) or you can create your own WIP.

Setting up the Python Interpreter (Conda Environment)

  1. Download the requirements.txt file from the WIP repository, for example: requirements.txt

  2. Open a terminal:
    a. Create a new environment: conda create -n wip python=3.11
    b. Activate the environment: conda activate wip
    c. Install the requirements.txt file from above by typing: cd /path/to/your/folder and then pip install -r requirements.txt

  3. You also require openep installation. On your terminal do the following:
    a. Go to project location folder (wherever you’d like to install the software): cd /path/to/your/folder
    b.git clone https://github.com/openep/openep-py.git
    c. cd openep-py
    d. Go to the latest branch (usually ecci-dev); git checkout ecci-dev
    e. python3 -m pip install -e .

  4. Finally, make sure to set the interpreter path on EP Workbench EP Workbench > WIP tab > Select WIP > Info > Edit and then set the python file path (../wip/bin/python3.11). See below for example path.

Note: You can type where conda from within the environment to see where the environment path is.

** if you are part of ecci-dev please use : https://github.com/ecci-cvs/openep-py