Pymca install bcflight missing
Brought to you by:
vasole
Hello Armando,
I tried to install the latest pymca version on Ubuntu 18.04 and it did not install the bcflight package required to open the bruker files. I had to copy it from a Windows installation. I managed to have it work in a conda environment running python3.11
Is it normal that this package is not installed together with PyMca?
Also, the pymca window is bigger than my screen and cannot be reduced. That is not really an issue but maybe it is of interest for you.
Kind regards,
Jean (Cauzid)
Hi Jean,
That package is not installed together with PyMca because the license is GPL.
You can install it as
pip install https://github.com/vasole/bcflight/tarball/master
What is your screen resolution?
Have you changed screen? In that case start PyMca as
pymca -f
to bypass previous settings.
Please keep me informed.
Best regards,
Armando
Hello Armando,
My screen resolution is 1920x1080 on my laptop screen and 1680x1050 on the extra screen plugged onto it.
running pymca -f with the extra screen unplugged does not change it.
Best regards,
Jean
That resolution should not be a problem (tested under windows).
Some possible workarounds:
pymca --backend=silx
Can you upgrade things? I am thinking about PyQt5 and matplotlib.
What is the output of the command "pip freeze"?
Best regards.
Armando
pip freeze:
contourpy==1.1.0
cycler==0.11.0
Cython==0.29.36
fisx==1.3.1
fonttools==4.40.0
h5py==3.9.0
kiwisolver==1.4.4
matplotlib==3.7.2
numpy==1.25.1
packaging==23.1
Pillow==10.0.0
PyMca5==5.8.7
pyparsing==3.0.9
PyQt5==5.15.9
PyQt5-Qt5==5.15.2
PyQt5-sip==12.12.1
python-dateutil==2.8.2
six==1.16.0
No idea :(
You could try other binding:
pip install PySide6
pymca --binding=PySide6
I guess it has to do with using xorg or wayland
https://itsfoss.com/switch-xorg-wayland/