cant get coolprop to work

9 views (last 30 days)
Martin Jensen
Martin Jensen on 19 Feb 2021
Commented: hosein bashi on 25 Oct 2021
>> [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
hosein bashi
hosein bashi on 25 Oct 2021
Thanks. it works.Just I had to restart the session after your tips.

Sign in to comment.

Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!