cant get coolprop to work

>> [v,e] = pyversion; system([e,' -m pip install --user -U CoolProp'])
Requirement already up-to-date: CoolProp in c:\users\11024490\appdata\roaming\python\python37\site-packages (6.4.1)
You are using pip version 10.0.1, however version 21.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
ans =
0
>> py.CoolProp.CoolProp.PropsSI('T','P',101325,'Q',0,'Water')
Unable to resolve the name py.CoolProp.CoolProp.PropsSI.
>> py.CoolProp.CoolProp.PropsSI('T','P',101325,'Q',0,'Water')
Unable to resolve the name py.CoolProp.CoolProp.PropsSI.
"New pip installed previouys to this"

1 Comment

Thanks. it works.Just I had to restart the session after your tips.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2019b

Tags

Asked:

on 19 Feb 2021

Commented:

on 25 Oct 2021

Community Treasure Hunt

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

Start Hunting!