kbp2025 Posted 6 hours ago Posted 6 hours ago Can some one please, sudo apt update && sudo apt install -y python3 python3-pip tesseract-ocr libtesseract-dev && pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv install these for me. the pip is not working via terminal. Quote
Krydos Posted 4 hours ago Posted 4 hours ago What error do you get when you try running that yourself via SSH? Quote
kbp2025 Posted 3 hours ago Author Posted 3 hours ago 50 minutes ago, Krydos said: What error do you get when you try running that yourself via SSH? This one Quote
Krydos Posted 3 hours ago Posted 3 hours ago The command is working fine, it's just letting you know that you should use a virtual environment. Parts of the operating system use Python too so if you change the versions or install random stuff to environment that the operating system uses you could break the whole VPS. Here is a guide for how to create a virtual environment and install modules with pip inside it. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ 1 Quote
Krydos Posted 3 hours ago Posted 3 hours ago Try something like this python3 -m venv .venv source .venv/bin/activate pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv 1 Quote
kbp2025 Posted 3 hours ago Author Posted 3 hours ago 3 minutes ago, Krydos said: Try something like this python3 -m venv .venv source .venv/bin/activate pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv Now it worked finely. Thank you again Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.