Version 3.5.1 fails to execute on Linux due to colorama
Closed this issue · 4 comments
realcharmer commented
Running on Void Linux with colorama
on version v0.4.5
. Is this strictly dependent on v0.4.6
? Version locks should be included in requirements.txt
.
[Autodetect] tkinter available, using --manual-captcha
Traceback (most recent call last):
File "/bin/ulozto-downloader", line 33, in <module>
sys.exit(load_entry_point('ulozto-downloader==3.5.1', 'console_scripts', 'ulozto-downloader')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uldlib/cmd.py", line 124, in run
from colorama import just_fix_windows_console
ImportError: cannot import name 'just_fix_windows_console' from 'colorama' (/usr/lib/python3.11/site-packages/colorama/__init__.py)
realcharmer commented
I installed colorama
version 0.4.6
and it started working. Please, include dependency versions in requirements.txt
. Perhaps it is not even needed on Linux and could be avoided entirely?
JackPieCZ commented
Simply run pip install -U colorama
which will update colorama
to the latest version. See the following article for more details.
realcharmer commented
Yes, but requirements do not specify this constraint. This should be explicitly set as >=0.4.6
to avoid these sorts of problems. This goes for all dependencies.
JackPieCZ commented
Yeah, you are right. Open a merge request for that if you feel like it
…On Sun, 18 Jun 2023, 17:18 Emil Miler, ***@***.***> wrote:
Yes, but requirements do not specify this constraint. This should be
explicitly set as >=0.4.6 to avoid these sorts of problems. This goes for
all dependencies.
—
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARJA5OF3SBPYHHGT3EX4UWTXL4L5VANCNFSM6AAAAAAXUUAKEU>
.
You are receiving this because you commented.Message ID:
***@***.***>