Installation Issues with Poetry and version 9.14.3
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system, tooling
Research direction
The report names pyproject.toml and the PEP 517 wheel path; start by reproducing the failure with pip wheel --use-pep517 "matlabengine (==9.14.3)" and inspect the build backend involved in the traceback. The issue does not specify a desired fix, so confirm the expected supported installation behavior before judging completion.
Written by the indexing model from the issue text.
Description
Hi, I tried to install the latest version of the MATLAB engine but got this error:
Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source yasa. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'.
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
• Installing matlabengine (9.14.3)
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
running build_py
_get_engine_ver_major_minor returned: ('9', '14')
_get_engine_ver_major_minor returned: ('9', '14')
Traceback (most recent call last):
File "C:\Users\Ryan.Potter\.local\pipx\venvs\poetry\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\Ryan.Potter\.local\pipx\venvs\poetry\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Ryan.Potter\.local\pipx\venvs\poetry\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\build_meta.py", line 416, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\build_meta.py", line 401, in _build_with_temp_dir
self.run_setup()
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 414, in <module>
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\wheel\bdist_wheel.py", line 346, in run
self.run_command("build")
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\RYAN~1.POT\AppData\Local\Temp\tmpccoanq8a\.venv\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 380, in run
File "<string>", line 216, in get_matlab_root_from_windows_reg
File "<string>", line 259, in _find_matlab_key_from_windows_registry
RuntimeError: No compatible MATLAB installation found in Windows Registry. This release of MATLAB Engine API for Python is compatible with version 9.14. The found versions were 9.13.
at ~\.local\pipx\venvs\poetry\Lib\site-packages\poetry\installation\chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with matlabengine (9.14.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "matlabengine (==9.14.3)"'.
- Dominant language
- Python
- Stars
- 97
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mathworks/matlab-engine-for-python
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Support sparse array Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in mathworks/matlab-engine-for-python
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100