SiLab-Bonn / pyBAR

Bonn ATLAS Readout in Python - A readout software for FEI4 pixel detectors
BSD 3-Clause "New" or "Revised" License
9 stars 17 forks source link

ViTables v2.1 incompatibel with pytables 3.3 #66

Closed laborleben closed 7 years ago

laborleben commented 7 years ago

The ViTables version v2.1 installed by pyBAR is incompatible with pytables 3.3. The API issues with pytables was fixed in develop branch of PyTables (https://github.com/uvemas/ViTables).

Unfortunately pip install git+https://github.com/uvemas/ViTables@develop does not work either, because ViTables throws the following error: IOError: [Errno 2] No such file or directory: '[...]/miniconda2/lib/python2.7/site-packages/vitables/vtwidgets/rename_dlg.ui'

Cloning ViTables and installing from sources works:

pip uninstall vitables
git clone https://github.com/uvemas/ViTables
git checkout develop
cd ViTables
python setup.py develop
DavidLP commented 7 years ago

But that is no solution for a setup with Qt5, no?

laborleben commented 7 years ago

Not yet tested with Qt5. The solution above is also not satisfying. ViTables just needs more support.

DavidLP commented 7 years ago

ViTables is another dead python package. Changing to Qt5 would take a couple of hours. Internetfame, anybody?

DavidLP commented 7 years ago

A work around is to setup a python environment with QT4 for vitables only.

conda create -n vitables python=2.7 pyqt=4.11.4 pytables
source activate conda vitables
pip install https://github.com/uvemas/ViTables/archive/v2.1.zip
laborleben commented 7 years ago

Seems like this is the only viable solution right now.

laborleben commented 7 years ago

This was recently fixed in ViTables master branch.

Use python setup.py install to install vitables.