Jump to content

Recommended Posts

Posted

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. 

  • wolstech changed the title to [VPS Admin] PIP install not works
Posted

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/

  • Thanks 1
Posted

Try something like this

python3 -m venv .venv
source .venv/bin/activate
pip3 install python-telegram-bot pillow pytesseract requests email-validator python-dotenv

 

  • Thanks 1
Posted
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 :rolleyes:

  • Krydos changed the title to [Solved] PIP install not works
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...