-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error encountered while installing disco environment in Windows #172
Comments
@ann-sherin I know this is frustrating, but there's not much we can do about it. I've seen this error and the user gets a very clear message that says, "go to this link and install this software." Do you have any suggestions? It's possible that if all dependent packages are stored in conda, we could avoid the need to build. But we have so many 3rd-party dependencies, I'm not even sure that would work. |
You are right. It usually is pretty clear on what the issue is. And is easy to fix by going to the link and installing. My sense is that for this particular issue - it would not work at all on Windows if we don't have the Microsoft Build Tools software installed. (which is a pretty big install ~9GB). Because it was such a big install, I wasnt sure if I should install it or try to find a work around I just wanted to make a note of this issue in case someone else faces this. |
Perhaps it's worth adding the need to have Microsoft build tools installed (for Windows--maybe something similar for Mac or other?) to the DISCO installation notes? |
Following up on this issue, I encountered the same error while installing Disco on Windows. I followed the process of installing Microsoft build tools, however, I still get the error "ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects" |
@ppaudyal-nrel It seems like your installation of the MS Build Tools did not work. The cause of this issue is this chain of dependences: disco -> pydss -> aiohttp -> multidict. Disco users (and most pydss users) do not need aiohttp, so I've opened a PR in PyDSS to remove this requirement: NREL/PyDSS#120 Here are your options:
|
A workaround for this issue is to install
|
Expected behavior
DISCO environment should be installed when running command:
pip install NREL-disco
Actual behavior
Installation fails with error:
Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
To Reproduce
Steps to reproduce the behavior:
Additional context
https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst
The text was updated successfully, but these errors were encountered: