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 Comment

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

Sign in to comment.

Answers (0)

Tags

Asked:

on 11 Dec 2021

Commented:

on 13 Dec 2021

Community Treasure Hunt

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

Start Hunting!