Skip to content

Instantly share code, notes, and snippets.

@plashchynski
Created December 1, 2022 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plashchynski/fe3760a0444c1203ac8e92e8048237f8 to your computer and use it in GitHub Desktop.
Save plashchynski/fe3760a0444c1203ac8e92e8048237f8 to your computer and use it in GitHub Desktop.
$
$
$ matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2021 The MathWorks, Inc.
R2021b Update 4 (9.11.0.2022996) 64-bit (glnxa64)
July 22, 2022
To get started, type doc.
For product information, visit www.mathworks.com.
>> exit
$
$
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/matlab/bin/glnxa64
$
$ python3 -m pip install matlabengine
Collecting matlabengine
Downloading matlabengine-9.13.1.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: matlabengine
Building wheel for matlabengine (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmparjkwrm0 build_wheel /tmp/tmpcero9mfk
cwd: /tmp/pip-install-e49fhtah/matlabengine
Complete output (48 lines):
running bdist_wheel
running build
running build_py
Traceback (most recent call last):
File "/tmp/tmparjkwrm0", line 280, in <module>
main()
File "/tmp/tmparjkwrm0", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmparjkwrm0", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 413, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 309, in <module>
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 325, in run
self.run_command("build")
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/tmp/pip-build-env-0pyx82y5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 300, in run
File "<string>", line 265, in search_path_for_directory_unix
RuntimeError: No compatible version of MATLAB was found. This feature supports MATLAB 9.9 (R2020b) through 9.13 (R2022b), inclusive.
----------------------------------------
ERROR: Failed building wheel for matlabengine
Failed to build matlabengine
ERROR: Could not build wheels for matlabengine which use PEP 517 and cannot be installed directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment