-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When running the program I am getting
> bart2 geneset -i hg38_example.genelist.txt -s hg38 --outdir bart2_output
/usr/bin/bart2:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').run_script('bart2==2.1', 'bart2')
Traceback (most recent call last):
File "/usr/bin/bart2", line 4, in <module>
__import__('pkg_resources').run_script('bart2==2.1', 'bart2')
File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 691, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1530, in run_script
exec(code, namespace, namespace)
File "/usr/lib/python3.12/site-packages/bart2-2.1-py3.12.egg/EGG-INFO/scripts/bart2", line 26, in <module>
from bart2.main import bart
File "/usr/lib/python3.12/site-packages/bart2-2.1-py3.12.egg/bart2/main.py", line 7, in <module>
from bart2 import OptValidator, ReadCount, RPRegress, EnhancerIdentifier, AUCcalc, StatTest, score_on_UDHS, WriteFile
File "/usr/lib/python3.12/site-packages/bart2-2.1-py3.12.egg/bart2/RPRegress.py", line 6, in <module>
import tables
File "/usr/lib/python3.12/site-packages/tables-3.9.2-py3.12-linux-x86_64.egg/tables/__init__.py", line 44, in <module>
from .utilsextension import get_hdf5_version as _get_hdf5_version
File "tables/utilsextension.pyx", line 1, in init tables.utilsextension
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Installation and run
Setup conda environment:
conda create -n bart_env312 python numpy pandas scipy tables scikit-learn matplotlib
conda activate bart_env312
mkdir -p /mnt/sda2/Manjaro/bart2/python3.12/site-packages
export PYTHONPATH=/mnt/sda2/Manjaro/bart2/python3.12/site-packages/:$PYTHONPATH
python setup.py install --prefix /mnt/sda2/Manjaro/bart2/python3.12/site-packages
There seems to be no error during installation:
setup_output.txt
After this I run the command above with the example file from the webpage.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels