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 commentaire

hosein bashi
hosein bashi le 25 Oct 2021
Thanks. it works.Just I had to restart the session after your tips.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by