bioconvert / bioconvert

Bioconvert is a collaborative project to facilitate the interconversion of life science data from one format to another.
http://bioconvert.readthedocs.io
GNU General Public License v3.0
356 stars 42 forks source link

mamba installation not working #320

Closed yoann-dufresne closed 9 months ago

yoann-dufresne commented 1 year ago

After installation of bioconvert using mamba, I am not able to run the software. Every attempt ends on :

bioconvert
Traceback (most recent call last):
  File "/home/yoann/bioinfo/bioconvert/py310/bin/bioconvert", line 33, in <module>
    sys.exit(load_entry_point('bioconvert', 'console_scripts', 'bioconvert')())
  File "/home/yoann/bioinfo/bioconvert/py310/bin/bioconvert", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 957, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 548, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for bioconvert
cokelaer commented 1 year ago

@yoann-dufresne I see that it is python 3.10 here. not sure what should be the python version. According to the 'search command' the latest bioconvert version on bioconda is"

bioconvert                     0.6.2    pyhdfd78af_0  bioconda            

I'm pretty sure that the bioconda version of bioconvert will not be working for py3.10.

This method seems to work:

 conda create -n bioconvert python=3.7
 conda activate bioconvert
 conda install mamba
 mamba install bioconvert
 bioconvert --version

except for a warning. I have not tried python 3.8 - 3.9 - 3.10