Forum Discussion
Python script error - ImportError: DLL load failed: The specified module could not be found.
Hi TiborTuboly ,
which version of Python your Anaconda environment is using? Try to create a new conda env with Python 3.5:
conda create -n py35 anaconda python=3.5
Then pip installing relevant packages:
conda activate py35
py -m pip install matplotlib
py -m pip install pandas
After finishing it, you need to point Power BI Desktop to the new env following steps :File -> Options and Settings -> Options -> Python Scripting. Then add the Path to your new Env, looks like: "C:\ProgramData\Anaconda3\envs\py35".
You can go through the links to learn more: https://github.com/stan-dev/pystan/issues/520
https://stackoverflow.com/questions/53929599/cannot-import-aer-from-qiskit-0-7/54275759#54275759
https://github.com/Qiskit/qiskit-aer/issues/25
https://github.com/ContinuumIO/anaconda-issues/issues/10628
https://github.com/pytorch/pytorch/issues/9263
If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support to get further help.
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I just want to say thank you for posting this, I have been trying to get this to work for like 3 days and this is the one thing that finally fixed it for me.