BenThelen / python-refprop

Python (3.x & 2.x) API for NIST Standard Reference Database 23 (a.k.a. Refprop) on Linux and Windows
Other
43 stars 25 forks source link

Installation on Windows #12

Open markusG79 opened 9 years ago

markusG79 commented 9 years ago

Hi and thank you for your work!

I seem to be missing something, possibly due to being new at this. I have the NIST Refprop Application installed under C:\Program Files (x86)\REFPROP\ I have downloaded your repository and also set the environment variables as explained in the FAQs of NIST.

I can't make much of... "Install the python API to refprop in your python dist-packages"

I assume I continue in the python2.7 folder but don't really know how. I went ahead and tried

python ./refprop.py

but got only the error

WindowsError: [Error 193] %1 ist keine zulõssige Win32-Anwendung

which means

WindowsError: [Error 193] %1 is an invalid Win32-application

so either my "bold move" was useless or there is some other problem.

Ah, yes. I have the anaconda distribution installed.

Cheers!

WoWolf commented 8 years ago

answer, found in stackoverflow:

Thanks. Although i have compiled the DLL for 64bit and had the Python 64bit version installed, it didn't work. Now i have the 32bit version of Python installed and everything works great.