Skip to content

Commit

Permalink
Merge pull request entropicalabs#265 from entropicalabs/dev_fixmakefile
Browse files Browse the repository at this point in the history
Dev: fixing makefile
  • Loading branch information
vishal-ph authored Aug 8, 2023
2 parents bfb0bbf + 8743092 commit 51057ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#Currently can only install all packages together for developer mode.

.PHONY: local-install
local-install:
pip install ./src/openqaoa-core
pip install ./src/openqaoa-qiskit
pip install ./src/openqaoa-pyquil
Expand Down
3 changes: 2 additions & 1 deletion src/openqaoa-core/openqaoa/backends/plugin_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ def plugin_finder_dict() -> list:
for each_plugin_entry_point in available_plugins:
try:
output_dict[each_plugin_entry_point.name] = each_plugin_entry_point.load()
except ModuleNotFoundError:
except ModuleNotFoundError as e:
print("The {} module has not been installed.".format(each_plugin_entry_point.name))
print(e)
except AttributeError:
print("An error has occured when trying to attach the {} plugin.".format(each_plugin_entry_point.name))

Expand Down
3 changes: 2 additions & 1 deletion src/openqaoa-qiskit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
qiskit>=0.36.1
qiskit-ibm-provider
qiskit-ibm-provider
qiskit-aer

0 comments on commit 51057ea

Please sign in to comment.