.egg packages deprication

I cannot install Vosk trough pip because pip doesn’t support egg packages any longer. the installation of Picar modules run with setup.py, so the recommended option it to uninstall them and install using newest pip. How to do it exactly???

our product does not require the installation of Vosk, you may try the following command for installation:
sudo pip3 install vosk

I tried this and everything even virtual environment(which let’s install Vosk but causes problem with pcar modules imprt in my script). The rpoblem lies in the way the modules are being installed- it’s DEPRICATED

You may try consulting GPT (like ChatGPT) for assistance to see if it can help resolve your issue.

Hi Sunfounder
Chatgpt is not the right way to go here. Externally-managed-environment requires project specific optimization, which gpt is not good at. It is too general.

I’d suggest to read the python docs, which is what I did, and then implement the venv/pip/docker mix that best matches ones own environment and project needs.

I have already posted multiple videos and code segments on Sunfounders forums and Facebook pages using vosk and many other python libraries. It requires a bit more effort than previously, but, as my postings show, perfectly feasible with sunfounders existing code

Hi, can I have a link to your Facebook? I’d like to see those postings.
You’re right, waiti g for chatgpt response takes top much time - IT is not optimized.
My original thought, before I decided to buy API tokens, was to use one speech to text model locally like Vosk and second one - general purpose installed locally- would worki on that text data. Unfortunatelly I managed to install Vosk using venv but I couldn’t run picar modules…
Is this even possible?

Please use pip3 install Vosk --break-system-packages to install and see the installation results.
If you are worried about the package affecting the system environment, use Python virtual environment.

Yes. Perfectly possible.

As SF said, you can use venv or --break-external-packages, or remove the EXTERNALLY-MANAGED file, depending on the library versions you are using. Venv is recommended as the other methods may break your system. I used a mixture. If you choose to use --break-external-packages option then make a backup first and run regression testing, as it can lead to unexpected problems, immediately or in the future.