When I use the forest plugin for the Ensemble Classification demo, this message appears:
DistributionNotFound Traceback (most recent call last)
in
1 n_wires = 4
2
----> 3 dev0 = qml.device(“forest.qvm”, device=“4q-qvm”)
4 dev1 = qml.device(“qiskit.aer”, wires=4)
5 devs = [dev0, dev1]
/Applications/anaconda3/envs/testrun_project/lib/python3.8/site-packages/pennylane/init.py in device(name, *args, **kwargs)
185
186 # loads the device class
–> 187 plugin_device_class = plugin_devices[name].load()
188
189 if Version(version()) not in Spec(plugin_device_class.pennylane_requires):
/Applications/anaconda3/envs/testrun_project/lib/python3.8/site-packages/pkg_resources/init.py in load(self, require, *args, **kwargs)
2444 )
2445 if require:
-> 2446 self.require(*args, **kwargs)
2447 return self.resolve()
2448
/Applications/anaconda3/envs/testrun_project/lib/python3.8/site-packages/pkg_resources/init.py in require(self, env, installer)
2467 # requirements for that extra are purely optional and skip over them.
2468 reqs = self.dist.requires(self.extras)
-> 2469 items = working_set.resolve(reqs, env, installer, extras=self.extras)
2470 list(map(working_set.add, items))
2471
/Applications/anaconda3/envs/testrun_project/lib/python3.8/site-packages/pkg_resources/init.py in resolve(self, requirements, env, installer, replace_conflicting, extras)
768 if dist is None:
769 requirers = required_by.get(req, None)
–> 770 raise DistributionNotFound(req, requirers)
771 to_activate.append(dist)
772 if dist not in req:
DistributionNotFound: The ‘ruamel.yaml’ distribution was not found and is required by rpcq