rsalmei/alive-progress

alive-progress not compatible for python 3.11 yes

AbdoCherry opened this issue · 2 comments

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

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?

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 👍🏼