Hi I just installed biobakery_workflow via pip then I tried to install the database using the following command and it showed an error.
biobakery_workflows_databases --install wmgx
Traceback (most recent call last):
File “/home/plankton/install_workflows/bin/biobakery_workflows_databases”, line 33, in
sys.exit(load_entry_point(‘biobakery-workflows==3.0.0a7’, ‘console_scripts’, ‘biobakery_workflows_databases’)())
File “/home/plankton/install_workflows/bin/biobakery_workflows_databases”, line 25, in importlib_load_entry_point
return next(matches).load()
File “/home/plankton/anaconda3/lib/python3.9/importlib/metadata.py”, line 77, in load
module = import_module(match.group(‘module’))
File “/home/plankton/anaconda3/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 850, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/home/plankton/install_workflows/lib/python3.9/site-packages/biobakery_workflows/biobakery_workflows_databases.py”, line 30, in
from . import utilities
File “/home/plankton/install_workflows/lib/python3.9/site-packages/biobakery_workflows/utilities.py”, line 34, in
from anadama2.tracked import TrackedDirectory
File “/home/plankton/install_workflows/lib/python3.9/site-packages/anadama2/init.py”, line 83, in
from .workflow import Workflow
File “/home/plankton/install_workflows/lib/python3.9/site-packages/anadama2/workflow.py”, line 17, in
import networkx as nx
File “/home/plankton/install_workflows/lib/python3.9/site-packages/networkx/init.py”, line 84, in
import networkx.generators
File “/home/plankton/install_workflows/lib/python3.9/site-packages/networkx/generators/init.py”, line 5, in
from networkx.generators.classic import *
File “/home/plankton/install_workflows/lib/python3.9/site-packages/networkx/generators/classic.py”, line 21, in
from networkx.algorithms.bipartite.generators import complete_bipartite_graph
File “/home/plankton/install_workflows/lib/python3.9/site-packages/networkx/algorithms/init.py”, line 12, in
from networkx.algorithms.dag import *
File “/home/plankton/install_workflows/lib/python3.9/site-packages/networkx/algorithms/dag.py”, line 2, in
from fractions import gcd
ImportError: cannot import name ‘gcd’ from ‘fractions’ (/home/plankton/anaconda3/lib/python3.9/fractions.py).
Thank you