-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When I tried to install cellscanner on my wsl2 environment, I got
(cellscanner) xjzhou@GBW:~/data/Cellscanner/CellScanner$ python Cellscanner.py
2025-09-26 17:24:05.499553: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on.
You may see slightly different numerical results due to floating-point round-off errors from different computation orders.
To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2025-09-26 17:24:05.678086: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485]
Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2025-09-26 17:24:05.749107: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2025-09-26 17:24:05.768398: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452]
Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-09-26 17:24:05.895747: I tensorflow/core/platform/cpu_feature_guard.cc:210]
This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2025-09-26 17:24:06.748520: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
No need for extra stain at the training step Prediction
Panel realloc(): invalid pointer
Aborted
and I was able to fix that using the following commands:
# Create a clean conda environment with PyQt5 (from conda-forge)
conda create -n cellscanner_wsl2 python=3.10 -y
conda activate cellscanner_wsl2
conda install -c conda-forge pyqt=5.15 -y
# Clone CellScanner
git clone https://github.com/msysbio/CellScanner.git
cd CellScanner
# Edit requirements.txt once
# Open requirements.txt and remove any line that installs PyQt5, then save the file.
# (We already installed PyQt5 via conda; keeping a pip copy can mix Qt stacks.)
# Install remaining dependencies and neutralize conflicting Qt plugin env vars
pip install -r requirements.txt
unset QT_PLUGIN_PATH
unset QT_QPA_PLATFORMTHEME
# Fix XDG runtime directory permissions (critical on WSL)
mkdir -p ~/.xdg/runtime chmod 700 ~/.xdg/runtime
export XDG_RUNTIME_DIR="$HOME/.xdg/runtime"
Now I can run it as suggested
python Cellscanner.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels