myQLM / myqlm-issues

4 stars 1 forks source link

Need jax and jaxlib modules for last release and those doesn't get installed by default #24

Closed MarionQuandela closed 1 year ago

MarionQuandela commented 1 year ago

jax and jaxlib are needed for last release and those doesn't install by default. Just update your module accordingly.

The above exception was the direct cause of the following exception: /usr/lib/python3.10/importlib/init.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_converter_myqlm.py:37: in from qat.lang.AQASM import Program, H, X, Y, Z, I, S, T, PH, RX, RY, RZ, SWAP, CNOT, CSIGN, AbstractGate init.py:18: in init qat.lang.init ??? decorator.py:15: in init qat.lang.decorator ??? venv10/lib/python3.10/site-packages/jax/init.py:35: in from jax import config as _config_module venv10/lib/python3.10/site-packages/jax/config.py:17: in from jax._src.config import config # noqa: F401 venv10/lib/python3.10/site-packages/jax/_src/config.py:27: in from jax._src import lib venv10/lib/python3.10/site-packages/jax/_src/lib/init.py:26: in raise ModuleNotFoundError( E ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installation instructions.


Fixed after installing jax & jaxlib
ArnaudAtos commented 1 year ago

Dear @MarionQuandela, Thank you very much for your feedback. A new version of myQLM will be released next week, fixing this issue

MarionQuandela commented 1 year ago

Fix with 1.9.3 version