cant get coolprop to work

9 visualizzazioni (ultimi 30 giorni)
Martin Jensen
Martin Jensen il 19 Feb 2021
Commentato: hosein bashi il 25 Ott 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 Commento
hosein bashi
hosein bashi il 25 Ott 2021
Thanks. it works.Just I had to restart the session after your tips.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su C Shared Library Integration in Help Center e File Exchange

Tag

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by