Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dosnt work on ubuntu #13

Open
macbrave opened this issue Aug 15, 2024 · 2 comments
Open

Dosnt work on ubuntu #13

macbrave opened this issue Aug 15, 2024 · 2 comments

Comments

@macbrave
Copy link

It doesn't work on Ubuntu.
I got some error
ModuleNotFoundError: No module named 'pyrogram',deep_translaor, sewar,

@alfi4000
Copy link

alfi4000 commented Nov 9, 2024

I run it on raspberry pi 4 and run ubuntu 22.04.5 and it works well with ubuntu version are you using?

@alfi4000
Copy link

alfi4000 commented Nov 9, 2024

If you have nothing important running on that machine I would if I were you try this that said chatgpt (chatgpt often can help solve issues but sometimes issues get worse! Be carefull!):

It sounds like you’re missing some Python packages. Here’s how to install them to resolve the ModuleNotFoundError for pyrogram, deep_translator, and sewar.

Step 1: Update pip
First, ensure that pip (Python’s package manager) is up-to-date. Open your terminal and run:

pip install --upgrade pip
Step 2: Install Missing Modules
Now install each missing module:

pip install pyrogram
pip install deep-translator
pip install sewar
If you're using Python 3 and pip is not linked to it, try replacing pip with pip3 in the commands above.

Step 3: Verify Installation
To confirm these packages are installed correctly, you can try running Python and importing each one:

python3

import pyrogram
import deep_translator
import sewar
If there are still issues, let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants