rsalmei / alive-progress

A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
MIT License
5.39k stars 204 forks source link

alive-progress not compatible for python 3.11 yes #230

Closed AbdoCherry closed 1 year ago

AbdoCherry commented 1 year ago

Hi all. First thanks for this great library. It beautifies the way of running sql files from python. Nevertheless I'm working on a large project with a whole bunch of libraries in my virtual env for Py3.11.x and unfortunately alive-progress is not importable for my project, even it is 100% installed in my virtual-env.

from alive_progress import alive_bar
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 from alive_progress import alive_bar

ModuleNotFoundError: No module named 'alive_progress'

pip_search alive-progress                                                                                                        ๎‚ฒ 100% ๏•ธ ๎‚ผ
                                                ๐Ÿ https://pypi.org/search/?q=alive-progress ๐Ÿ                                                
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ Package                   โ”ƒ Version  โ”ƒ Released   โ”ƒ Description                                                                             โ”ƒ
โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
โ”‚ ๐Ÿ“‚ alive-progress         โ”‚ 3.0.1 == โ”‚ 01-01-2023 โ”‚ A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!   โ”‚
โ”‚ ๐Ÿ“‚ progress0316           โ”‚ 0.1.2    โ”‚ 29-11-2022 โ”‚ Progress Bar                                                                            โ”‚
โ”‚ ๐Ÿ“‚ progress2              โ”‚ 1.3.0    โ”‚ 01-09-2015 โ”‚ Allows for easy creation of progress-bars and text                                      โ”‚
โ”‚ ๐Ÿ“‚ progress               โ”‚ 1.6      โ”‚ 28-07-2021 โ”‚ Easy to use progress bars                                                               โ”‚
โ”‚ ๐Ÿ“‚ django-alive           โ”‚ 1.2.1    โ”‚ 23-07-2021 โ”‚ Healtchecks for Django                                                                  โ”‚
โ”‚ ๐Ÿ“‚ keep-alive             โ”‚ 0.0.1    โ”‚ 16-09-2020 โ”‚ A package to keep an application online with HTTPS requests.                            โ”‚
โ”‚ ๐Ÿ“‚ pandas-alive           โ”‚ 0.2.4    โ”‚ 07-11-2020 โ”‚ Animated plotting extension for Pandas with Matplotlib                                  โ”‚
โ”‚ ๐Ÿ“‚ replit-keep-alive      โ”‚ 1.2.0    โ”‚ 09-11-2022 โ”‚ Create a simple Flask webserver to keep your Repl online using a pinger. (such as       โ”‚
โ”‚                           โ”‚          โ”‚            โ”‚ https://up.rdsl.ga/)                                                                    โ”‚
โ”‚ ๐Ÿ“‚ https-keep-alive       โ”‚ 0.0.1    โ”‚ 16-09-2020 โ”‚ A package to keep an application online with HTTPS requests.                            โ”‚
โ”‚ ๐Ÿ“‚ keep-repl-alive        โ”‚ 1.4      โ”‚ 23-08-2021 โ”‚ A simple python module for keeping repls awake                                          โ”‚
โ”‚ ๐Ÿ“‚ laser-keep-alive       โ”‚ 1.0.0    โ”‚ 18-04-2020 โ”‚ Keeping the original LASER project alive                                                โ”‚
โ”‚ ๐Ÿ“‚ django-alive-ext       โ”‚ 66.0.2   โ”‚ 10-02-2023 โ”‚ A package to prevent Dependency Confusion attacks against Yandex.                       โ”‚
โ”‚ ๐Ÿ“‚ django-alive-external  โ”‚ 66.0.2   โ”‚ 10-02-2023 โ”‚ A package to prevent Dependency Confusion attacks against Yandex.                       โ”‚
โ”‚ ๐Ÿ“‚ progress-reporter      โ”‚ 2.0      โ”‚ 03-12-2018 โ”‚                                                                                         โ”‚
โ”‚ ๐Ÿ“‚ django-progress        โ”‚ 1.0.4    โ”‚ 04-05-2017 โ”‚ Django Progress                                                                         โ”‚
โ”‚ ๐Ÿ“‚ progress-rajanmandanka โ”‚ 0.0.1    โ”‚ 09-01-2020 โ”‚ A terminal process package                                                              โ”‚
โ”‚ ๐Ÿ“‚ joblib-progress        โ”‚ 1.0.3    โ”‚ 18-12-2022 โ”‚ A contextmanager to track progress of joblib execution                                  โ”‚
โ”‚ ๐Ÿ“‚ progress_meter         โ”‚ 1.0      โ”‚ 17-01-2012 โ”‚ A simple progress bar for long running tasks (Tkinter based)                            โ”‚
โ”‚ ๐Ÿ“‚ progress-disp          โ”‚ 0.0.0    โ”‚ 12-02-2018 โ”‚                                                                                         โ”‚
โ”‚ ๐Ÿ“‚ celery-progress        โ”‚ 0.2      โ”‚ 02-03-2023 โ”‚ Drop in, configurable, dependency-free progress bars for your Django/Celery             โ”‚
โ”‚                           โ”‚          โ”‚            โ”‚ applications.                                                                           โ”‚
โ”‚ ๐Ÿ“‚ celery-progress        โ”‚ 0.2      โ”‚ 02-03-2023 โ”‚ Drop in, configurable, dependency-free progress bars for your Django/Celery             โ”‚
โ”‚                           โ”‚          โ”‚            โ”‚ applications.                                                                           โ”‚
โ”‚ ๐Ÿ“‚ light-progress         โ”‚ 0.7.0.0  โ”‚ 07-01-2023 โ”‚ Light progress reporting tool for Python                                                โ”‚
โ”‚ ๐Ÿ“‚ progress-table         โ”‚ 0.1.22   โ”‚ 07-03-2023 โ”‚ Display progress as a pretty table in the command line.                                 โ”‚
โ”‚ ๐Ÿ“‚ progress-counter       โ”‚ 0.0.1    โ”‚ 30-04-2020 โ”‚ simple text progress counter                                                            โ”‚
โ”‚ ๐Ÿ“‚ progress-py            โ”‚ 1.1      โ”‚ 14-03-2021 โ”‚ Make customizable progress bars and spinners for cli                                    โ”‚
โ”‚ ๐Ÿ“‚ progress-text          โ”‚ 0.0.5    โ”‚ 22-12-2020 โ”‚ Python package for printing progress in text.                                           โ”‚
โ”‚ ๐Ÿ“‚ log_progress           โ”‚ 1.1      โ”‚ 11-04-2017 โ”‚                                                                                         โ”‚
โ”‚ ๐Ÿ“‚ progress-printer       โ”‚ 0.7      โ”‚ 16-04-2020 โ”‚ Provides a progress indicator                                                           โ”‚
โ”‚ ๐Ÿ“‚ progress_bar           โ”‚ 8        โ”‚ 15-12-2014 โ”‚ An annotated, single-line progress bar for terminals.                                   โ”‚
โ”‚ ๐Ÿ“‚ smart-progress         โ”‚ 1.0.2    โ”‚ 07-12-2016 โ”‚ Smart progressbar with multiple backends selected depending on the environment          โ”‚
โ”‚ ๐Ÿ“‚ python-progress        โ”‚ 0.1.0    โ”‚ 14-01-2022 โ”‚ Simple function bar and spinner function wrappers                                       โ”‚
โ”‚ ๐Ÿ“‚ slack-progress         โ”‚ 0.5      โ”‚ 29-10-2018 โ”‚ A realtime progress bar for Slack                                                       โ”‚
โ”‚ ๐Ÿ“‚ watchbot-progress      โ”‚ 0.9.1    โ”‚ 07-12-2018 โ”‚ Watchbot reduce-mode helpers for python                                                 โ”‚
โ”‚ ๐Ÿ“‚ incremental-progress   โ”‚ 1.1.0    โ”‚ 20-01-2020 โ”‚ Teaching tool for recording development steps                                           โ”‚
โ”‚ ๐Ÿ“‚ tar-progress           โ”‚ 1.3.3    โ”‚ 10-10-2019 โ”‚ This utility offer a progress-bar to the GNU tar program, and provide it on Windows     โ”‚
โ”‚ ๐Ÿ“‚ cs.progress            โ”‚ 20230212 โ”‚ 12-02-2023 โ”‚ A progress tracker with methods for throughput, ETA and update notification; also a     โ”‚
โ”‚                           โ”‚          โ”‚            โ”‚ compound progress meter composed from other progress meters.                            โ”‚
โ”‚ ๐Ÿ“‚ pytest-progress        โ”‚ 1.2.5    โ”‚ 31-01-2022 โ”‚ pytest plugin for instant test progress status                                          โ”‚
โ”‚ ๐Ÿ“‚ progress-checkpoint    โ”‚ 1.0.5    โ”‚ 26-05-2022 โ”‚ Helpers for reporting a progress from functions by the means of callbacks.              โ”‚
โ”‚ ๐Ÿ“‚ progress1bar           โ”‚ 0.3.0    โ”‚ 18-10-2022 โ”‚ A customizable ANSI-based progress bar                                                  โ”‚
โ”‚ ๐Ÿ“‚ progress-timer         โ”‚ 0.2.0    โ”‚ 30-03-2020 โ”‚ A Python module which prints elapsed time and estimated time left with accordance to    โ”‚
โ”‚                           โ”‚          โ”‚            โ”‚ percentage                                                                              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

Of course this is not crucial and I can proceed without the bar. It would be just nice to add it into the project.

Best regards, Abdo

rsalmei commented 1 year ago

Hi @AbdoCherry, thank you!

Wow, that's very weird. I have no clue what might be happening. I'm going to try install Python 3.11 here and simulate it. You did install alive-progress with pip, didn't you? Have you tried on a clean venv?

AbdoCherry commented 1 year ago

Hi @rsalmei,

thanks for your quick respond by the way. I could solve the issue by uninstalling all libraries within my virtual env and reinstalling the libraries incl. alive_progress library. I had a requirements.txt within my project directory which I had used. Deleted my virtual environment and created a new one.

After all it suddenly worked which was surprisingly for me to be honest, but now it's working.

It is a very cool library. Thank you for your contribution ๐Ÿ‘๐Ÿผ