You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(funannotate2) [shagan@ln01 FUNANNOTATE2_DB]$ funannotate2 install -d all
[Jul 15 11:24 AM] Python v3.10.20; funannotate2 v26.6.21; gfftk v26.5.22; buscolite v26.6.21; annorefine v2026.2.22
Traceback (most recent call last):
File "/public/home/shagan_lab/shagan/miniconda3/envs/funannotate2/bin/funannotate2", line 10, in
sys.exit(main())
File "/public/home/shagan_lab/shagan/miniconda3/envs/funannotate2/lib/python3.10/site-packages/funannotate2/main.py", line 22, in main
install(args)
File "/public/home/shagan_lab/shagan/miniconda3/envs/funannotate2/lib/python3.10/site-packages/funannotate2/install.py", line 47, in install
os.makedirs(env["FUNANNOTATE2_DB"])
File "/public/home/shagan_lab/shagan/miniconda3/envs/funannotate2/lib/python3.10/os.py", line 210, in makedirs
head, tail = path.split(name)
File "/public/home/shagan_lab/shagan/miniconda3/envs/funannotate2/lib/python3.10/posixpath.py", line 103, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not bool
Activity
hyphaltip commentedon Jul 15, 2026
did you set the FUNANNOTATE2_DB to a path you want to store the databases in? eg
some related instructions on setting the variable persistently in the conda env funannotate2 https://github.com/nextgenusfs/funannotate2#apple-silicon-m-series
zut0may0 commentedon Jul 16, 2026
yes, I did it,thanks!!But i have a new question
did i need Installing Databases one by one ?
zut0may0 commentedon Jul 16, 2026
@hyphaltip I need use VPN to install ?
nextgenusfs commentedon Jul 16, 2026
Looks like your internet connection is quite slow and unstable. I'll try to push a fix that might improve this, no guarantees it will work though.
nextgenusfs commentedon Jul 16, 2026
Try to install from latest, ie from your environment run this:
And then try the install command again and see if it's able to complete.
peterjc commentedon Aug 4, 2026
I filed a duplicate of the original issue about an exception error when
$FUNANNOTATE2_DBisn't set as #83 (whoops), but my fix in #84 has been merged.