-
Notifications
You must be signed in to change notification settings - Fork 235
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
Issues with developer installation with "Failed to build jupyter_contrib_nbextensions" error #1529
Comments
@andrewlee94 did this happen using a Conda environment? While it's possible to install IDAES without Conda, it's definitely an uphill battle, especially on Windows. |
It was not in a conda environment, although I did install Miniconda first. |
Recall that you should be using Miniforge now. Also, the Pyomo thing is a known issue, and the last time we discussed it the easiest way was just to install from requirements-dev then uninstall that version of Pyomo and reinstall from sources. As for |
Building on what @dallan-keylogic said, I'm fairly confident that (1) and (3) from @andrewlee94's original list can be traced back to environment issues (such as e.g. a mismatch between the |
Actually, I just tried running through things in Windows Sandbox and had issues, so @andrewlee94 is probably on to something (as was likely from the beginning).
and I was unable to run |
@andrewlee94: @dallan-keylogic and I are trying to debug this issue, but I haven't been able to reproduce it yet on the Windows machine I'm using for testing. Can you check if the same error message was shown when you ran the |
@lbianchi-lbl I did get the same error as Doug but mostly ignored and forgot it as I figured I didn't care too much about notebooks. I did not stop to think it might have been a terminal error that stopped the installation before it finished/ |
OK, thanks for confirming, it looks like is a genuine issue and I was wrong for summarily chucking it into the "Windows is weird, just use Conda" bin, sorry about that. If you don't mind, I'll edit the title so that it's more descriptive now that we have a better sense of what's happening. |
@andrewlee94 If you comment out |
(Note from @lbianchi-lbl: I've amended the title following confirmation that the error described in #1529 (comment) also applies to @andrewlee94's original reporting of the issue)
I did a new developer installation of IDAES today on Windows and found a few things that were missing from the installation instructions:
pip install -r requirements-dev.txt
which only installs the developer dependencies. When you then try to runidaes get-extension
you get an error as IDAES has not been installed yet.pip install -r requirements-dev.txt
installed a new version of Pyomo even though I had a fresh clone of Pyomo already installed. There is a note about this, but it comes after the instruction to run this command.The text was updated successfully, but these errors were encountered: