После попытки установить Matlabengine с: < /p>
Код: Выделить всё
cd "matlabroot/extern/engines/python"
python setup.py install
< /code>
Я получаю эту ошибку: < /p>
/opt/anaconda3/envs/myenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/opt/anaconda3/envs/myenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
/opt/anaconda3/envs/myenv/lib/python3.9/site-packages/setuptools/command/sdist.py:122: SetuptoolsDeprecationWarning: `build_py` command does not inherit from setuptools' `build_py`.
!!
********************************************************************************
Custom 'build_py' does not implement 'get_data_files_without_manifest'.
Please extend command classes from setuptools instead of distutils.
See https://peps.python.org/pep-0632/ for details.
********************************************************************************
!!
self._add_data_files(self._safe_data_files(build_py))
error: The installation of MATLAB is corrupted. Please reinstall MATLAB or contact Technical Support for assistance.
Я попробовал переустановить 2022b и получил ту же ошибку. Я не могу установить вне среды, так как у меня есть Python 3.12, который не поддерживается MATLAB 2022b.
Подробнее здесь: https://stackoverflow.com/questions/793 ... nvironment
Мобильная версия