Skip to content

PyHAT installation steps not complete for Windows users

The instructions to install PyHAT do not include the procedures to be followed for Windows, beginning at step 4, so I outline the steps I took for the installation here. I went about this by creating a conda environment in the anaconda navigator, and then launching PyCharm through the navigator. Some of the dependencies were installed this way, but not all. I changed the python interpreter to the PyHAT interpreter, then selected “Show All” from the drop down menu. I then added the path to where the PyHAT application was installed on my local desktop. Then the terminal within PyCharm was used to navigate into the pyhat-main folder, and the command to update PyHAT will install the remaining dependencies. Here is a link for instructions on how to modify the python interpreter: https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#widget. After these steps were taken, the command "import libpyhat" was able to run successfully.