WEIS icon indicating copy to clipboard operation
WEIS copied to clipboard

Unable to install all packages for WEIS

Open Yuksel-Rudy opened this issue 2 years ago • 8 comments

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.

Yuksel-Rudy avatar Jun 22 '22 16:06 Yuksel-Rudy

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?

yonghoonlee avatar Jun 22 '22 16:06 yonghoonlee

oh yes, removing it actually fixed the issue. Thank you @yonghoonlee

Yuksel-Rudy avatar Jun 22 '22 16:06 Yuksel-Rudy

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

dzalkind avatar Jun 22 '22 16:06 dzalkind

Yong Hoon,

Have you set up WEIS and compiled things on a Windows system?

Best, Dan

dzalkind avatar Jun 22 '22 16:06 dzalkind

Hi @dzalkind I use WEIS on a WSL.

AthulKrishnaSundarrajan avatar Jun 22 '22 17:06 AthulKrishnaSundarrajan

I see what you mean @dzalkind. When running an example, it definitely asks for pyoptsparse.

Yuksel-Rudy avatar Jun 22 '22 17:06 Yuksel-Rudy

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

dzalkind avatar Jun 22 '22 17:06 dzalkind

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.

yonghoonlee avatar Jun 22 '22 17:06 yonghoonlee