Closed gapablo closed 3 years ago
Hello! this is a well known issues between bytes and strings. We are working on fixing this issues, but I do not have bandwidth for a PR. Feel free to create a PR.
Thank you for the quick response. Do you have a suggestion on how to approach this issue and what parts of the code would need to be changed?
Manually reinstalling CoolProp as conda install conda-forge::coolprop
and initializing the StateFlooded class with byte strings as S = StateFlooded(b'R245fa', b'POE', 101.325, 300.0, 0.01, b'HEM')
seems to have fixed the issue for me.
Hi dev team,
I'm trying to run "Example_StateFlooded.py" and receiving the following error:
suggesting a compatibility problem with Python 2 and 3.
When trying an simple workaround and calling StateFlooded as S=StateFlooded(b"R245fa", b'POE', 1200, 373.15, 0.1, b'HEM'), the following error occurs:
Do you have a working StateFlooded version, or can you help me to fix this issue?
I followed your instructions to install PDSim and included "PDSim/core/state_flooded.pyx" in the compiler list in "setup.py". I'm using Python 3.8.6 and coolprop 6.4.1 in the conda environment as suggested by you.
Your support is very much appreciated.