OceanParcels / Parcels

Main code for Parcels (Probably A Really Computationally Efficient Lagrangian Simulator)
https://www.oceanparcels.org
MIT License
295 stars 136 forks source link

conda-forge missing tqdm ? #1130

Closed apatlpo closed 2 years ago

apatlpo commented 2 years ago

I installed parcels via conda-forge and tqdm was not installed resulting in a:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <module>
      1 get_ipython().run_line_magic('matplotlib', 'inline')
----> 2 from parcels import FieldSet, ParticleSet, JITParticle, AdvectionRK4, ParticleFile, plotTrajectoriesFile
      3 import numpy as np
      4 import xarray as xr

File ~/Code/parcels/parcels/__init__.py:7, in <module>
      5 from parcels.particle import *  # noqa
      6 from parcels.collection import *  # noqa
----> 7 from parcels.particleset import *  # noqa
      8 from parcels.particlefile import *  # noqa
      9 from parcels.field import *  # noqa

File ~/Code/parcels/parcels/particleset/__init__.py:1, in <module>
----> 1 from .baseparticleset import BaseParticleSet  # noqa
      2 from .particlesetaos import ParticleSetAOS  # noqa
      3 from .particlesetsoa import ParticleSetSOA  # noqa

File ~/Code/parcels/parcels/particleset/baseparticleset.py:10, in <module>
      7 import time as time_module
      8 import cftime
---> 10 from tqdm import tqdm
     12 from parcels.tools.statuscodes import StateCode
     13 from parcels.tools.global_statics import get_package_dir

ModuleNotFoundError: No module named 'tqdm'

Can somebody confirm?

erikvansebille commented 2 years ago

Ah yes, tqdm has been a requirement since https://github.com/OceanParcels/parcels/pull/1111, but conda still has the latest release, which is older. This will be fixed when we release the new version soon; in the meantime, simply issue a conda install -c conda-forge tqdm