Python Installation InstructionsΒΆ
Assuming you have already completed the base installation Instructions, the rest of the Python installation instructions is fairly simple:
change into the correct directory:
$ cd path/to/qiskit-fermions
install the Python installation tooling
$ pip install --group build
compile the pyext crate:
$ make pyext
install the Python package:
$ make pyinstall
ensure that the shared library object can be found during linking:
Copy and export the
LD_LIBRARY_PATHfrom the output below.$ make echo_ld_lib_path
Copy and export the
DYLD_LIBRARY_PATHfrom the output below.$ make echo_ld_lib_path
ensure that you copy and run the output above
verify that everything worked by running the Python API tests:
$ make testpython
From now on, you need to ensure that you always export the LD_LIBRARY_PATH
as before when you want to use this Python package.