-
Notifications
You must be signed in to change notification settings - Fork 70
howto debug environment
Ludovico Bianchi edited this page Mar 7, 2023
·
2 revisions
which python # on Linux/macOS
where python # on Windows, gives path to Python executable
conda info --envs
pip list
pip show watertap idaes-pse pyomo
idaes environment-info
python -c "import watertap; print(watertap.__path__[0])"
From the root of your local clone of the watertap
repository, and after ensuring the correct environment is active:
pip uninstall --yes watertap && pip install -r requirements-dev.txt
pip uninstall --yes watertap idaes-pse pyomo && pip install -r requirements-dev.txt
conda info --envs # check existing envs to choose a different name for the new Conda env you're about to create
conda create --name watertap-dev-2 python=3.10 --yes && conda activate watertap-dev-2 && pip install -r requirements-dev.txt