Please provide information about your setup
DVC version(i.e. dvc --version
), Platform and method of installation (pip, homebrew, pkg Mac, exe (Windows), DEB(Linux), RPM(Linux))
OS: Arch Linux
Package manager: yay
DVC couldn't find the package pyfiglet when run:
~/Documents/scaleway_ansible î‚° dvc
Traceback (most recent call last):
File "/usr/bin/dvc", line 6, in <module>
from pkg_resources import load_entry_point
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3105, in <module>
@_call_aside
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3089, in _call_aside
f(*args, **kwargs)
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3118, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/anotherbugmaster/.local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyfiglet>=0.7.2' distribution was not found and is required by asciimatics
Everything works after manual installation of pyfiglet.
There's no pyfiglet in requirements.txt, maybe that causes the issue.
Hi @anotherbugmaster !
Seems like an issue with the yay package itself. As a workaround, you could try installing it with pip pip install dvc
(probably a good idea to uninstall yay package first so that dvc
paths don't overlap). @mroutis is a maintainer of that yay package, so maybe he could try to reproduce this issue.
Thanks for the feedback! 🙂
Thanks for reporting it, @anotherbugmaster, indeed, there's no pyfiglet
on the requirements.txt
;
it's listed as a dependency of asciimatics
, however, it may not be included during the python setup.py install
instruction of it.
I've just uploaded a new package release 2.23.2-2
including the python-pyfiglet
dependency :)
Again, thanks for your feedback!
I'll close the issue. Please, don't hesitate to contact me for any other questions or doubts regarding the package :smiley:
_NOTE: It would be very cool if you vote for the package at https://aur.archlinux.org/packages/dvc/ aspiring to push DVC into the community repository_
Most helpful comment
Thanks for reporting it, @anotherbugmaster, indeed, there's no
pyfiglet
on therequirements.txt
;it's listed as a dependency of
asciimatics
, however, it may not be included during thepython setup.py install
instruction of it.I've just uploaded a new package release
2.23.2-2
including thepython-pyfiglet
dependency :)Again, thanks for your feedback!
I'll close the issue. Please, don't hesitate to contact me for any other questions or doubts regarding the package :smiley:
_NOTE: It would be very cool if you vote for the package at https://aur.archlinux.org/packages/dvc/ aspiring to push DVC into the community repository_