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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...