Skip to content

Commit

Permalink
constrained numpy version, because latest numpy version causes a runt…
Browse files Browse the repository at this point in the history
…ime error when anything tries to call 'numpy.warnings'. Additionally, added 'mat4py' to the 'pip' section of environment.yaml, because without it, a compile warning will occur, along with runtime errors about 'missing module mat4py'. Finally, in README.md, installation instructions, the step to setup the weis-env conda environment points to the develop branch's environment.yaml, so this was changed to point to the main branch's environment.yaml. (#211)
  • Loading branch information
DeepFriedDerp authored Feb 10, 2023
1 parent d6ac26e commit e5e124c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The installation instructions below use the environment name, "weis-env," but an

1. Setup and activate the Anaconda environment from a prompt (WSL terminal on Windows or Terminal.app on Mac)

conda env create --name weis-env -f https://raw.githubusercontent.com/WISDEM/WEIS/develop/environment.yml python=3.9
conda env create --name weis-env -f https://raw.githubusercontent.com/WISDEM/WEIS/main/environment.yml python=3.9
conda activate weis-env # (if this does not work, try source activate weis-env)
sudo apt update # (WSL only, assuming Ubuntu)

Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
- markupsafe
- matplotlib-base
- nlopt
- numpy
- numpy=1.23.1
- numpydoc
- openmdao
- openpyxl
Expand Down Expand Up @@ -64,6 +64,7 @@ dependencies:
- pip:
- fatpack
- marmot-agents
- mat4py
# Needs to be done outside of environment file:
# - m2w64-toolchain # [win]
# - libpython # [win]
Expand Down

0 comments on commit e5e124c

Please sign in to comment.