WEIS
WEIS copied to clipboard
Unable to install all packages for WEIS
Hi WEIS developers: I was following the installation steps, but I'm stuck at installing the pyoptsparse package for some reason. I'm getting this message:
"PackagesNotFoundError: The following packages are not available from current channels:
-
pyoptsparse Current channels:
-
https://conda.anaconda.org/conda-forge/win-64
-
https://conda.anaconda.org/conda-forge/noarch
-
https://repo.anaconda.com/pkgs/main/win-64
-
https://repo.anaconda.com/pkgs/main/noarch
-
https://repo.anaconda.com/pkgs/r/win-64
-
https://repo.anaconda.com/pkgs/r/noarch
-
https://repo.anaconda.com/pkgs/msys2/win-64
-
https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org"
When I check the packages in my environment, not even other packages were installed. Your help is deeply appreciated.
Thank you.
I guess pyoptsparse is only available for Mac and Linux. @dzalkind Would it be a good idea to move pyoptsparse to the Mac/Linux specific installation?
oh yes, removing it actually fixed the issue. Thank you @yonghoonlee
Hi Rudy and Yong Hoon,
Currently, WEIS is only supported for Windows users when using Windows Subsystem Linux. I'd recommend taking this route. Otherwise, some of the modules need to be compiled separately and the setup.py
script will ned to be adjusted. We are currently working on better Windows documentation.
Best, Dan
Yong Hoon,
Have you set up WEIS and compiled things on a Windows system?
Best, Dan
Hi @dzalkind I use WEIS on a WSL.
I see what you mean @dzalkind. When running an example, it definitely asks for pyoptsparse.
According to @AthulKrishnaSundarrajan, it seems like
conda install compilers
when running on WSL in Windows is a good option. I will try to verify and include this in the instructions.
Thanks, Athul!
Working on general documentation here: #170 and will try to include everyone's findings
Yong Hoon,
Have you set up WEIS and compiled things on a Windows system?
Best, Dan
I tried on the bare PowerShell environment before but it was not quite working well. However, I did not try recently. As you mentioned, WSL would be a good place to run WEIS.