JoeyDelp / JoSIM

Superconductor Circuit Simulator
MIT License
74 stars 33 forks source link

Python 3.6 DLL Files Missing #22

Closed Hassan313 closed 5 years ago

Hassan313 commented 5 years ago

Dear Joey,

When I tried the Python 3.6 version, the below problem appeared: pythondll problem

Hassan313 commented 5 years ago

I downloaded the Python 3.6 DLL file from the below website

https://www.dll-files.com/python36.dll.html

and added the DLL file to the bin folder where the executable files are, the above problem disappeared, however the below problem appeared:

image

It is saying that "ImportError: numpy.core.multiarray failed to import".

Please kindly help me with this issue.

Best Regards Hassan

JoeyDelp commented 5 years ago

Good afternoon,

I believe your environment variables are not se up correctly:

PYTHONHOME = Anaconda3 directory QT_QPA_PLATFORM_PLUGIN_PATH = %PYTHONHOME%/Library/plugins/platforms

This should sort out both your problems. Also please refrain from downloading DLL files individually as they are often not what they seem and can contain malicious code. All DLLs required by programs are provided by the package installs themselves and in this case the python36.dll was provided by your Anaconda 3 install and should be within the root directory of the Anaconda 3 folder. The system will know it is there if the environment variable is correctly setup.

Kind regards, Joey Delport

Hassan313 commented 5 years ago

Dear Joey,

Thank you for your response.

I have followed as you have said in this email. It did not work. The problem was I had to add the Anaconda3 directory to the path variable of system.

Thank you.

Best Regards Hassan

JoeyDelp commented 5 years ago

My apologies, it might be necessary to add the %PYTHONHOME% to the PATH variable as well. This however has not been necessary on some systems. I will update the readme to include this.

Hassan313 commented 5 years ago

Dear Joey,

Thank you.

Best Regards Hassan