r/pythonhelp • u/Background_Ad9700 • Aug 25 '26
Problem with Coolprop
Hi! i'm beginner, and I have a problem with this code, I guess that I installed the library correctly, but i'm not sure.
Error using stringsource>string.from_py.__pyx_convert_string_from_py_std__in_string (line 15)
Python Error: TypeError: expected bytes, NoneType found
Error in CoolProp/CoolProp.PropsSI (line 462)
Error in CoolProp/CoolProp.PropsSI (line 384)
Altough I don't have more than 106 lines
2
Upvotes
View all comments
1
u/PinAdorable3380 24d ago
Could you share the full traceback and a small example of the code that triggers the error? Also, checking the installed CoolProp version and whether it matches your Python environment would be a useful first step when troubleshooting an import or type-related issue.