Skip to content
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 while installing ROSCO complitly on Windows 11 #327

Closed
AdrianEolion opened this issue Mar 21, 2024 · 5 comments
Closed

Error while installing ROSCO complitly on Windows 11 #327

AdrianEolion opened this issue Mar 21, 2024 · 5 comments

Comments

@AdrianEolion
Copy link

Hi,

I am trying to install ROSCO on my computer on Windows so I can use it with OpenFAST, but I am having trouble with the installation. I have done all the steps on the installation guide and this error happens on the last command.

pip install -e .

(rosco-env) C:\Users\adria\OpenFAST\ROSCO-v.2.9.1>pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///C:/Users/adria/OpenFAST/ROSCO-v.2.9.1
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: control in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (0.9.4)
Requirement already satisfied: numpy in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (1.26.4)
Requirement already satisfied: matplotlib in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (3.8.3)
Requirement already satisfied: scipy in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (1.12.0)
Requirement already satisfied: pandas in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (2.2.1)
Requirement already satisfied: pyparsing in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (3.1.2)
Requirement already satisfied: pyYAML in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (6.0.1)
Requirement already satisfied: pyzmq in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (25.1.2)
Requirement already satisfied: treon in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (0.1.4)
Requirement already satisfied: wisdem in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (3.13.0)
Requirement already satisfied: ruamel.yaml in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from rosco==2.9.0) (0.18.6)
Requirement already satisfied: contourpy>=1.0.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (1.2.0)
Requirement already satisfied: cycler>=0.10 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (4.50.0)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (1.4.5)
Requirement already satisfied: packaging>=20.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (24.0)
Requirement already satisfied: pillow>=8 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (10.2.0)
Requirement already satisfied: python-dateutil>=2.7 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from matplotlib->rosco==2.9.0) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from pandas->rosco==2.9.0) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from pandas->rosco==2.9.0) (2024.1)
Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ruamel.yaml->rosco==2.9.0) (0.2.8)
Requirement already satisfied: nbconvert in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from treon->rosco==2.9.0) (7.16.2)
Requirement already satisfied: jupyter-client in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from treon->rosco==2.9.0) (8.6.1)
Requirement already satisfied: jupyter in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from treon->rosco==2.9.0) (1.0.0)
Requirement already satisfied: docopt in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from treon->rosco==2.9.0) (0.6.2)
Requirement already satisfied: dearpygui in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (1.11.1)
Requirement already satisfied: jsonschema in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (4.21.1)
Requirement already satisfied: marmot-agents>=0.2.5 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (0.2.5)
Requirement already satisfied: moorpy in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (1.0.2)
Requirement already satisfied: nlopt in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (2.7.1)
Requirement already satisfied: openmdao<3.28 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (3.27.0)
Requirement already satisfied: openpyxl in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (3.1.2)
Requirement already satisfied: pydoe2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (1.3.0)
Requirement already satisfied: python-benedict in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (0.33.2)
Requirement already satisfied: simpy in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (4.1.1)
Requirement already satisfied: sortedcontainers in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (2.4.0)
Requirement already satisfied: statsmodels in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from wisdem->rosco==2.9.0) (0.14.1)
Requirement already satisfied: networkx>=2.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from openmdao<3.28->wisdem->rosco==2.9.0) (3.2.1)
Requirement already satisfied: requests in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from openmdao<3.28->wisdem->rosco==2.9.0) (2.31.0)
Requirement already satisfied: six>=1.5 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from python-dateutil>=2.7->matplotlib->rosco==2.9.0) (1.16.0)
Requirement already satisfied: attrs>=22.2.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema->wisdem->rosco==2.9.0) (23.2.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema->wisdem->rosco==2.9.0) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema->wisdem->rosco==2.9.0) (0.34.0)
Requirement already satisfied: rpds-py>=0.7.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema->wisdem->rosco==2.9.0) (0.18.0)
Requirement already satisfied: notebook in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter->treon->rosco==2.9.0) (7.1.2)
Requirement already satisfied: qtconsole in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter->treon->rosco==2.9.0) (5.5.1)
Requirement already satisfied: jupyter-console in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter->treon->rosco==2.9.0) (6.6.3)
Requirement already satisfied: ipykernel in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter->treon->rosco==2.9.0) (6.29.3)
Requirement already satisfied: ipywidgets in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter->treon->rosco==2.9.0) (8.1.2)
Requirement already satisfied: jupyter-core!=5.0.,>=4.12 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-client->treon->rosco==2.9.0) (5.7.2)
Requirement already satisfied: tornado>=6.2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-client->treon->rosco==2.9.0) (6.4)
Requirement already satisfied: traitlets>=5.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-client->treon->rosco==2.9.0) (5.14.2)
Requirement already satisfied: beautifulsoup4 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (4.12.3)
Requirement already satisfied: bleach!=5.0.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (6.1.0)
Requirement already satisfied: defusedxml in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (0.7.1)
Requirement already satisfied: jinja2>=3.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (3.1.3)
Requirement already satisfied: jupyterlab-pygments in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (0.3.0)
Requirement already satisfied: markupsafe>=2.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (2.1.5)
Requirement already satisfied: mistune<4,>=2.0.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (3.0.2)
Requirement already satisfied: nbclient>=0.5.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (0.10.0)
Requirement already satisfied: nbformat>=5.7 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (5.10.3)
Requirement already satisfied: pandocfilters>=1.4.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (1.5.1)
Requirement already satisfied: pygments>=2.4.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (2.17.2)
Requirement already satisfied: tinycss2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbconvert->treon->rosco==2.9.0) (1.2.1)
Requirement already satisfied: et-xmlfile in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from openpyxl->wisdem->rosco==2.9.0) (1.1.0)
Requirement already satisfied: python-fsutil<1.0.0,>=0.9.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from python-benedict->wisdem->rosco==2.9.0) (0.14.1)
Requirement already satisfied: python-slugify<9.0.0,>=7.0.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from python-benedict->wisdem->rosco==2.9.0) (8.0.4)
Requirement already satisfied: patsy>=0.5.4 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from statsmodels->wisdem->rosco==2.9.0) (0.5.6)
Requirement already satisfied: webencodings in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from bleach!=5.0.0->nbconvert->treon->rosco==2.9.0) (0.5.1)
Requirement already satisfied: platformdirs>=2.5 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-core!=5.0.
,>=4.12->jupyter-client->treon->rosco==2.9.0) (4.2.0)
Requirement already satisfied: pywin32>=300 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-core!=5.0.,>=4.12->jupyter-client->treon->rosco==2.9.0) (306)
Requirement already satisfied: fastjsonschema in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from nbformat>=5.7->nbconvert->treon->rosco==2.9.0) (2.19.1)
Requirement already satisfied: text-unidecode>=1.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from python-slugify<9.0.0,>=7.0.0->python-benedict->wisdem->rosco==2.9.0) (1.3)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from requests->openmdao<3.28->wisdem->rosco==2.9.0) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from requests->openmdao<3.28->wisdem->rosco==2.9.0) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from requests->openmdao<3.28->wisdem->rosco==2.9.0) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from requests->openmdao<3.28->wisdem->rosco==2.9.0) (2024.2.2)
Requirement already satisfied: soupsieve>1.2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from beautifulsoup4->nbconvert->treon->rosco==2.9.0) (2.5)
Requirement already satisfied: comm>=0.1.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (0.2.2)
Requirement already satisfied: debugpy>=1.6.5 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (1.8.1)
Requirement already satisfied: ipython>=7.23.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (8.22.2)
Requirement already satisfied: matplotlib-inline>=0.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (0.1.6)
Requirement already satisfied: nest-asyncio in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (1.6.0)
Requirement already satisfied: psutil in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipykernel->jupyter->treon->rosco==2.9.0) (5.9.8)
Requirement already satisfied: widgetsnbextension~=4.0.10 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipywidgets->jupyter->treon->rosco==2.9.0) (4.0.10)
Requirement already satisfied: jupyterlab-widgets~=3.0.10 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipywidgets->jupyter->treon->rosco==2.9.0) (3.0.10)
Requirement already satisfied: prompt-toolkit>=3.0.30 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-console->jupyter->treon->rosco==2.9.0) (3.0.43)
Requirement already satisfied: jupyter-server<3,>=2.4.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from notebook->jupyter->treon->rosco==2.9.0) (2.13.0)
Requirement already satisfied: jupyterlab-server<3,>=2.22.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from notebook->jupyter->treon->rosco==2.9.0) (2.25.4)
Requirement already satisfied: jupyterlab<4.2,>=4.1.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from notebook->jupyter->treon->rosco==2.9.0) (4.1.5)
Requirement already satisfied: notebook-shim<0.3,>=0.2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from notebook->jupyter->treon->rosco==2.9.0) (0.2.4)
Requirement already satisfied: qtpy>=2.4.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from qtconsole->jupyter->treon->rosco==2.9.0) (2.4.1)
Requirement already satisfied: decorator in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (5.1.1)
Requirement already satisfied: jedi>=0.16 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (0.19.1)
Requirement already satisfied: stack-data in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (0.6.3)
Requirement already satisfied: exceptiongroup in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (1.2.0)
Requirement already satisfied: colorama in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (0.4.6)
Requirement already satisfied: anyio>=3.1.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (4.3.0)
Requirement already satisfied: argon2-cffi in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (23.1.0)
Requirement already satisfied: jupyter-events>=0.9.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.10.0)
Requirement already satisfied: jupyter-server-terminals in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.5.3)
Requirement already satisfied: overrides in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (7.7.0)
Requirement already satisfied: prometheus-client in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.20.0)
Requirement already satisfied: pywinpty in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (2.0.13)
Requirement already satisfied: send2trash>=1.8.2 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.8.2)
Requirement already satisfied: terminado>=0.8.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.18.1)
Requirement already satisfied: websocket-client in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.7.0)
Requirement already satisfied: async-lru>=1.0.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (2.0.4)
Requirement already satisfied: httpx>=0.25.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (0.27.0)
Requirement already satisfied: jupyter-lsp>=2.0.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (2.2.4)
Requirement already satisfied: tomli in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (2.0.1)
Requirement already satisfied: babel>=2.10 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab-server<3,>=2.22.1->notebook->jupyter->treon->rosco==2.9.0) (2.14.0)
Requirement already satisfied: json5>=0.9.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyterlab-server<3,>=2.22.1->notebook->jupyter->treon->rosco==2.9.0) (0.9.24)
Requirement already satisfied: wcwidth in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from prompt-toolkit>=3.0.30->jupyter-console->jupyter->treon->rosco==2.9.0) (0.2.13)
Requirement already satisfied: sniffio>=1.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.3.1)
Requirement already satisfied: typing-extensions>=4.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (4.10.0)
Requirement already satisfied: httpcore==1.
in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from httpx>=0.25.0->jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (1.0.4)
Requirement already satisfied: h11<0.15,>=0.13 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from httpcore==1.*->httpx>=0.25.0->jupyterlab<4.2,>=4.1.1->notebook->jupyter->treon->rosco==2.9.0) (0.14.0)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (0.8.3)
Requirement already satisfied: python-json-logger>=2.0.4 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (2.0.7)
Requirement already satisfied: rfc3339-validator in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.1.4)
Requirement already satisfied: rfc3986-validator>=0.1.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (0.1.1)
Requirement already satisfied: argon2-cffi-bindings in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from argon2-cffi->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (21.2.0)
Requirement already satisfied: executing>=1.2.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (2.0.1)
Requirement already satisfied: asttokens>=2.1.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (2.4.1)
Requirement already satisfied: pure-eval in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from stack-data->ipython>=7.23.1->ipykernel->jupyter->treon->rosco==2.9.0) (0.2.2)
Requirement already satisfied: fqdn in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.5.1)
Requirement already satisfied: isoduration in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (20.11.0)
Requirement already satisfied: jsonpointer>1.13 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (2.4)
Requirement already satisfied: uri-template in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.3.0)
Requirement already satisfied: webcolors>=1.11 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.13)
Requirement already satisfied: cffi>=1.0.1 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.16.0)
Requirement already satisfied: pycparser in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (2.21)
Requirement already satisfied: arrow>=0.15.0 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (1.3.0)
Requirement already satisfied: types-python-dateutil>=2.8.10 in c:\programdata\anaconda3\envs\rosco-env\lib\site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter->treon->rosco==2.9.0) (2.9.0.20240316)
Building wheels for collected packages: rosco
Building editable for rosco (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building editable for rosco (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [136 lines of output]
WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section
running editable_wheel
creating C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info
writing C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\PKG-INFO
writing dependency_links to C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\dependency_links.txt
writing requirements to C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\requires.txt
writing top-level names to C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\top_level.txt
writing manifest file 'C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco.egg-info\SOURCES.txt'
creating 'C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco-2.9.0.dist-info'
C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\wheel\bdist_wheel.py:108: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
creating C:\Users\adria\AppData\Local\Temp\pip-wheel-0kms075r.tmp-pc3y6mfi\rosco-2.9.0.dist-info\WHEEL
running build_py
running build_ext
-- The Fortran compiler identification is GNU 13.2.0
CMake Error at C:/Users/adria/AppData/Local/Temp/pip-build-env-frct46u7/overlay/Lib/site-packages/cmake/data/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:

    cl.exe.
  Call Stack (most recent call first):
    CMakeLists.txt:2 (project)


  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 155, in run
      self._create_wheel_file(bdist_wheel)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 357, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 280, in _run_build_commands
      self._run_build_subcommands()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 307, in _run_build_subcommands
      self.run_command(name)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\cmake_build_extension\build_extension.py", line 113, in run
      self.build_extension(ext)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\cmake_build_extension\build_extension.py", line 229, in build_extension
      subprocess.check_call(configure_command)
    File "C:\ProgramData\anaconda3\envs\rosco-env\lib\subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '-S', 'C:\\Users\\adria\\OpenFAST\\ROSCO-v.2.9.1\\rosco\\controller', '-B', 'C:\\Users\\adria\\AppData\\Local\\Temp\\tmpwrz23uj4.build-temp\\Release_rosco', '-GNinja', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX:PATH=C:\\Users\\adria\\OpenFAST\\ROSCO-v.2.9.1\\rosco', '-DCMAKE_MAKE_PROGRAM=C:\\Users\\adria\\AppData\\Local\\Temp\\pip-build-env-frct46u7\\overlay\\Scripts\\ninja.EXE', '-DCMAKE_BUILD_TYPE=Release', '-DPython3_ROOT_DIR=C:\\ProgramData\\anaconda3\\envs\\rosco-env', '-DCALL_FROM_SETUP_PY:BOOL=ON', '-DBUILD_SHARED_LIBS=ON', '-DCMAKE_Fortran_FLAGS=-ffree-line-length-0']' returned non-zero exit status 1.
  C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\dist.py:988: _DebuggingTips: Problem in editable installation.
  !!

          ********************************************************************************
          An error happened while installing `rosco` in editable mode.

          The following steps are recommended to help debug this problem:

          - Try to install the project normally, without using the editable mode.
            Does the error still persist?
            (If it does, try fixing the problem before attempting the editable mode).
          - If you are using binary extensions, make sure you have all OS-level
            dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
          - Try the latest version of setuptools (maybe the error was already fixed).
          - If you (or your project dependencies) are using any setuptools extension
            or customization, make sure they support the editable mode.

          After following the steps above, if the problem still persists and
          you think this is related to how setuptools handles editable installations,
          please submit a reproducible example
          (see https://stackoverflow.com/help/minimal-reproducible-example) to:

              https://github.com/pypa/setuptools/issues

          See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
          ********************************************************************************

  !!
    cmd_obj.run()

  ==> Configuring:
  $ cmake -S C:\Users\adria\OpenFAST\ROSCO-v.2.9.1\rosco\controller -B C:\Users\adria\AppData\Local\Temp\tmpwrz23uj4.build-temp\Release_rosco -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\adria\OpenFAST\ROSCO-v.2.9.1\rosco -DCMAKE_MAKE_PROGRAM=C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Scripts\ninja.EXE -DCMAKE_BUILD_TYPE=Release -DPython3_ROOT_DIR=C:\ProgramData\anaconda3\envs\rosco-env -DCALL_FROM_SETUP_PY:BOOL=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_Fortran_FLAGS=-ffree-line-length-0

  ==> Building:
  $ cmake --build C:\Users\adria\AppData\Local\Temp\tmpwrz23uj4.build-temp\Release_rosco --config Release

  ==> Installing:
  $ cmake --install C:\Users\adria\AppData\Local\Temp\tmpwrz23uj4.build-temp\Release_rosco

  Traceback (most recent call last):
    File "C:\ProgramData\anaconda3\envs\rosco-env\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\ProgramData\anaconda3\envs\rosco-env\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\ProgramData\anaconda3\envs\rosco-env\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 273, in build_editable
      return hook(wheel_directory, config_settings, metadata_directory)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\build_meta.py", line 443, in build_editable
      return self._build_with_temp_dir(
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\build_meta.py", line 395, in _build_with_temp_dir
      self.run_setup()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 56, in <module>
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\__init__.py", line 104, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 155, in run
      self._create_wheel_file(bdist_wheel)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 357, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 280, in _run_build_commands
      self._run_build_subcommands()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 307, in _run_build_subcommands
      self.run_command(name)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\cmake_build_extension\build_extension.py", line 113, in run
      self.build_extension(ext)
    File "C:\Users\adria\AppData\Local\Temp\pip-build-env-frct46u7\overlay\Lib\site-packages\cmake_build_extension\build_extension.py", line 229, in build_extension
      subprocess.check_call(configure_command)
    File "C:\ProgramData\anaconda3\envs\rosco-env\lib\subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '-S', 'C:\\Users\\adria\\OpenFAST\\ROSCO-v.2.9.1\\rosco\\controller', '-B', 'C:\\Users\\adria\\AppData\\Local\\Temp\\tmpwrz23uj4.build-temp\\Release_rosco', '-GNinja', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX:PATH=C:\\Users\\adria\\OpenFAST\\ROSCO-v.2.9.1\\rosco', '-DCMAKE_MAKE_PROGRAM=C:\\Users\\adria\\AppData\\Local\\Temp\\pip-build-env-frct46u7\\overlay\\Scripts\\ninja.EXE', '-DCMAKE_BUILD_TYPE=Release', '-DPython3_ROOT_DIR=C:\\ProgramData\\anaconda3\\envs\\rosco-env', '-DCALL_FROM_SETUP_PY:BOOL=ON', '-DBUILD_SHARED_LIBS=ON', '-DCMAKE_Fortran_FLAGS=-ffree-line-length-0']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for rosco
Failed to build rosco
ERROR: Could not build wheels for rosco, which is required to install pyproject.toml-based projects

@AdrianEolion AdrianEolion closed this as not planned Won't fix, can't repro, duplicate, stale Apr 11, 2024
@DavidChen0429
Copy link

Hi Adrian, I encountered the same problem now, how did you solve it?

@AdrianEolion
Copy link
Author

If I am honest I dont fully know. I deleted the enviroment and reinstalled everything. It did work after that. Also see #332 if the examples do not work (only happens to me on Windows).

Maybe try to use python3 instead of python, or vice versa.

@dzalkind
Copy link
Collaborator

You may need to install a few packages. Try conda install m2w64-toolchain libpython and reinstalling.

@giannikosk
Copy link

Hello, I am no master of the software, nor have I a great programming background, but for the last day I've been trying to get a hang of rosco and wisdem and encountered the same issue. I found a way around it, so I am sharing my solution here for anyone interested.

  • I created a virtual environment for wisdem 3.13 and python 3.10 after reviewing the issues and documentation this was supposed to fix it. However, I still got the same message as the one in this issue so I am thinking that even wisdem 3.14 or more recent python version could be ok.
  • The installer could not identify gfortran compiler, and after checking for its version in the virtual environment, it didn't exist.
  • I thought it was supposed to be in the m2w64 toolchain which is a prerequisite and preinstalled in the environment.
  • I did: "conda install -c conda forge m2w64-toolchain" and after that the pip install e. worked and compiled rosco properly. Tried some examples, and they run, so I think it's ok now.

@dzalkind
Copy link
Collaborator

I think the issue is that m2w64-toolchain is not in the environment yaml because it is Windows specific, but it should be in our installation instructions. Thank you for the suggestions and software tips :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants