DistributionNotFound Error


I am getting the following error message:

Traceback (most recent call last):
File “/Users/jazz/Desktop/quantum-project-2/qaoa_trial.py”, line 33, in
dev = qml.device(“qulacs.simulator”, wires=wires)
File “/Users/jazz/Desktop/quantum-project-2/pennylane/init.py”, line 242, in device
plugin_device_class = plugin_devices[name].load()
File “/Users/jazz/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py”, line 2345, in load
self.require(*args, **kwargs)
File “/Users/jazz/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py”, line 2368, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File “/Users/jazz/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py”, line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘pennylane>=0.15’ distribution was not found and is required by the application

I installed pennylane today, so I don’t think I should have the incorrect version, but maybe I have installed it incorrectly. Is there a specific location the installed pennylane folder needs to be saved? How can I resolve this?

Thank you

Hi @jazz!

Could you post the output of

import pennylane as qml