facing problem linking Coolprop with MATLAB

ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\naveed\\AppData\\Local\\Temp\\pip-install-9fkca5bt\\coolprop_3bb74c022d4849f58309fe9aab7b93dc\\setup.py'"'"'; __file__='"'"'C:\\Users\\naveed\\AppData\\Local\\Temp\\pip-install-9fkca5bt\\coolprop_3bb74c022d4849f58309fe9aab7b93dc\\setup.py'"'"';f = getattr(tokenize , '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"' );code = f.read().replace('"'"'\r\n'"'"', '"'"'
ans =
1

1 个评论

Seemingly there is a problem when installing CoolProp with Python 3.9.
The solution that worked for me is to install python 3.8 and the problem was fixed.
Hopefully this work for you.
Regards,
Ahmed

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by