You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
failed to install eagerx-gui in Poetry envrionment
To Reproduce
Firstly, I follow the instruction installing eagerx with Poetry.
I want to add eagerx-gui in this virtual environment. So I try to add it in poetry by:
poetry add eagerx-gui
Then came the error:
Using version ^0.2.14 for eagerx-gui
Updating dependencies
Resolving dependencies... (0.0s)
The current project's Python requirement (>=3.6.2,<4.0.0) is not compatible with some of the required packages Python requirement: - eagerx-gui requires Python >=3.8,<4.0, so it will not be satisfied for Python >=3.6.2,<3.8Because eagerx-gui (0.2.14) requires Python >=3.8,<4.0 and no versions of eagerx-gui match >0.2.14,<0.3.0, eagerx-gui is forbidden.So, because eagerx depends on eagerx-gui (^0.2.14), version solving failed. • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties For eagerx-gui, a possible solution would be to set the `python` property to ">=3.8,<4.0.0" https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies, https://python-poetry.org/docs/dependency-specification/#using-environment-markers
The python version is 3.9.13, which fit the condition ">=3.8,<4.0.0". So I do not know why it can not be installed.
I also tried:
python3.9 -m pip install eagerx-gui
Then came another error.
Collecting eagerx-gui
Using cached eagerx_gui-0.2.14-py3-none-any.whl (20 kB)
Requirement already satisfied: eagerx<0.2.0,>=0.1.30 in /home/marunyu/.cache/pypoetry/virtualenvs/eagerx-izmxb-y5-py3.9/lib/python3.9/site-packages (from eagerx-gui) (0.1.33)
Collecting pyqtgraph<0.13.0,>=0.12.4
Using cached pyqtgraph-0.12.4-py3-none-any.whl (995 kB)
Collecting PyQt6<7.0.0,>=6.2.3
Using cached PyQt6-6.4.0.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Querying qmake about your Qt installation...
Traceback (most recent call last):
File "/home/marunyu/.cache/pypoetry/virtualenvs/eagerx-izmxb-y5-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/marunyu/.cache/pypoetry/virtualenvs/eagerx-izmxb-y5-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in<module>main()
File "/home/marunyu/.cache/pypoetry/virtualenvs/eagerx-izmxb-y5-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/marunyu/.cache/pypoetry/virtualenvs/eagerx-izmxb-y5-py3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "/tmp/pip-build-env-h5ltwfq7/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
File "/tmp/pip-build-env-h5ltwfq7/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/tmp/pip-build-env-h5ltwfq7/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 601, in setup
self.update(tool)
File "project.py", line 162, in update
sipbuild.exceptions.UserException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details
It seems there is no way to install eagerx-gui for me now.
Checklist
I have checked that there is no similar issue in the repo (required)
🐛 Bug
failed to install eagerx-gui in Poetry envrionment
To Reproduce
Firstly, I follow the instruction installing eagerx with Poetry.
I want to add eagerx-gui in this virtual environment. So I try to add it in poetry by:
Then came the error:
The python version is 3.9.13, which fit the condition ">=3.8,<4.0.0". So I do not know why it can not be installed.
I also tried:
Then came another error.
It seems there is no way to install eagerx-gui for me now.
Checklist
The text was updated successfully, but these errors were encountered: