Error about vaex - HajimeKawahara/exojax GitHub Wiki

cannot find vaex.hdf vaex.astro etc

Remove them and reinstall vaex!

pip uninstall vaex.core
pip uninstall vaex.astro
pip uninstall vaex.hdf5
pip uninstall vaex.ml
pip uninstall vaex.viz
pip uninstall vaex.jupyter
pip uninstall vaex.server

pip install vaex

from logging ...

  File "/home/kawahara/anaconda3/lib/python3.8/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
conda update --prefix /home/kawahara/anaconda3 anaconda

Oct 13th 2022: TypeError: layout() got an unexpected keyword argument 'progress'

  File "/home/kawahara/anaconda3/lib/python3.8/site-packages/vaex/dataframe.py", line 6940, in export_hdf5
    writer.layout(self, progress=progressbar_layout)
TypeError: layout() got an unexpected keyword argument 'progress'

pip install -I vaex==4.14.0

length??

  File "/home/kawahara/anaconda3/lib/python3.7/site-packages/vaex/hdf5/dataset.py", line 265, in _map_hdf5_array
    array = self._map_array(offset, dtype=dtype, length=len(data))
TypeError: _map_array() got an unexpected keyword argument 'length'

This solved the problem...

pip install -I vaex==4.5.0

loading plot...

Errors something like that

ERROR:MainThread:vaex:issue loading plot
...
ModuleNotFoundError: No module named 'vaex.viz'

even though vaex-viz is installed.

Try to reinstall vaex.

pip install -I vaex==4.4.0

Or install vaex components (vaex-viz, vaex-astro, etc.) first and then run

pip install vaex

rather than installing vaex and required vaex components simultaneously.

See here.