Python interface for RAY-UI x-ray tracing program
Project description
Install the package
Using virtualenv
- Install python3:
sudo apt install python3 python3-venv python3-wheel -y
or (I still need to check ...)
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel -y
- Initialize virtual env:
python3 -m venv .venv
-
activate venv
-
install dependencies:
python3 -m pip install wheel
python3 -m pip install numpy psutil joblib matplotlib ipython schwimmbad
python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ raypyng_test
Using conda
conda create -n raypyng_pkg python=3.9
conda activate raypyng_pkg
python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ raypyng_test
conda install numpy psutil joblib matplotlib ipython
pip install schwimmbad
Install xvfb to run RAYUI headless
xvfb is a virtual X11 framebuffer server.
Install xvfb:
sudo apt install xvfb
Note: xvfb-run script is a part of the xvfb distribuion and runs an app on a new virtual X11 server
Install RAY-UI
-
Install ray Download ray installer from https://www.helmholtz-berlin.de/forschung/oe/wi/optik-strahlrohre/arbeitsgebiete/ray_en.html. And run the installer...
-
if missing, install dependencies:
sudo apt install libxkbcommon0 libharfbuzz0b libxcb-render0
-
Install ray Download ray installer from https://www.helmholtz-berlin.de/forschung/oe/wi/optik-strahlrohre/arbeitsgebiete/ray_en.html. And run the installer...
-
History of resolving dependency issues:
Issue with the installer: missing libxkbcommon.so.0
, searching solution:
lservice@ubjl-builder-01:~/projects/ray$ apt-file search libxkbcommon.so
libxkbcommon-dev: /usr/lib/x86_64-linux-gnu/libxkbcommon.so
libxkbcommon0: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
libxkbcommon0: /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
Issue with rayui: missing libharfbuzz.so.0
, search solution:
libharfbuzz-dev: /usr/lib/x86_64-linux-gnu/libharfbuzz.so
libharfbuzz0b: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
libharfbuzz0b: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20600.4
rayui crashing with Abort(core dumed)
looking up: ldd rayui
- seems to be OK
looking up libs: ldd lib*
: we got libxcb-render.so.0 not found
lservice@ubjl-builder-01:~/projects/ray$ apt-file search libxcb-render
libxcb-render-util0: /usr/lib/x86_64-linux-gnu/libxcb-render-util.so.0
libxcb-render-util0: /usr/lib/x86_64-linux-gnu/libxcb-render-util.so.0.0.0
libxcb-render-util0: /usr/share/doc/libxcb-render-util0/NEWS.gz
libxcb-render-util0: /usr/share/doc/libxcb-render-util0/README
libxcb-render-util0: /usr/share/doc/libxcb-render-util0/changelog.Debian.gz
libxcb-render-util0: /usr/share/doc/libxcb-render-util0/copyright
libxcb-render-util0-dev: /usr/lib/x86_64-linux-gnu/libxcb-render-util.a
libxcb-render-util0-dev: /usr/lib/x86_64-linux-gnu/libxcb-render-util.so
libxcb-render-util0-dev: /usr/share/doc/libxcb-render-util0-dev/NEWS.gz
libxcb-render-util0-dev: /usr/share/doc/libxcb-render-util0-dev/README
libxcb-render-util0-dev: /usr/share/doc/libxcb-render-util0-dev/changelog.Debian.gz
libxcb-render-util0-dev: /usr/share/doc/libxcb-render-util0-dev/copyright
libxcb-render0: /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
libxcb-render0: /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
libxcb-render0: /usr/share/doc/libxcb-render0/changelog.Debian.gz
libxcb-render0: /usr/share/doc/libxcb-render0/copyright
libxcb-render0-dev: /usr/lib/x86_64-linux-gnu/libxcb-render.a
libxcb-render0-dev: /usr/lib/x86_64-linux-gnu/libxcb-render.so
libxcb-render0-dev: /usr/share/doc/libxcb-render0-dev/changelog.Debian.gz
libxcb-render0-dev: /usr/share/doc/libxcb-render0-dev/copyright
libxcb-render0 seems to be the answer ....
NOW IT WORKS!!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.