Git Product home page Git Product logo

Comments (2)

aorgazf avatar aorgazf commented on August 15, 2024

I tried installing qibocal with pip install -e .but when running qq-live it throws another error as if pint hadn't been installed properly:

Traceback (most recent call last):
  File "/home/users/alvaro.orgaz/.conda/envs/qiboteam/bin/qq-live", line 5, in <module>
    from qibocal import live_plot
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/__init__.py", line 2, in <module>
    from .cli import command, live_plot, upload
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/cli/__init__.py", line 3, in <module>
    from ._base import command, live_plot, upload
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/cli/_base.py", line 14, in <module>
    from qibocal.cli.builders import ActionBuilder
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/cli/builders.py", line 9, in <module>
    from qibocal import calibrations
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/calibrations/__init__.py", line 2, in <module>
    from qibocal.calibrations.characterization.allXY import *
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/calibrations/characterization/allXY.py", line 6, in <module>
    from qibocal import plots
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/plots/__init__.py", line 2, in <module>
    from qibocal.plots.heatmaps import *
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/plots/heatmaps.py", line 7, in <module>
    from qibocal.data import DataUnits
  File "/nfs/users/alvaro.orgaz/qibocal/src/qibocal/data.py", line 9, in <module>
    import pint_pandas
  File "/home/users/alvaro.orgaz/.conda/envs/qiboteam/lib/python3.9/site-packages/pint_pandas/__init__.py", line 3, in <module>
    from .pint_array import PintArray, PintType
  File "/home/users/alvaro.orgaz/.conda/envs/qiboteam/lib/python3.9/site-packages/pint_pandas/pint_array.py", line 22, in <module>
    from pint.quantity import _Quantity
ModuleNotFoundError: No module named 'pint.quantity'


from qibocal.

andrea-pasquale avatar andrea-pasquale commented on August 15, 2024

Hi @aorgazf,
regarding the first comment I think that this is the same problem the Boulos was having. It happened to me also once and to @DavidSarlle.
It seems that there is a problem between poetry and a program called keyring that usually run in linux devices.
The easiest solution to avoid this error is to disable it by typing:

keyring --disable

If you try to install the package again using poetry it should work.
It is not a problem related to qibocal itself so, apart from writing a warning in the documentation, we cannot do much else.
A possible solution at least for sadyaat would be to disable this program by default for all users.

Regarding the second comment I have no idea why this happens. I will look more into that as soon as I'm back.

from qibocal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.