kbp2025 Posted July 17 Posted July 17 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.
Krydos Posted July 18 Posted July 18 What error do you get when you try running that yourself via SSH?
kbp2025 Posted July 18 Author Posted July 18 50 minutes ago, Krydos said: What error do you get when you try running that yourself via SSH? This one
Krydos Posted July 18 Posted July 18 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
Krydos Posted July 18 Posted July 18 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
kbp2025 Posted July 18 Author Posted July 18 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
Recommended Posts