cquest / tootbot

python bot to clone tweets to a mastodon account
GNU Affero General Public License v3.0
101 stars 35 forks source link

urllib3 existing #19

Closed osauzet closed 1 year ago

osauzet commented 1 year ago

Hi, is it possible to install your bot on an mastodon instance ? I have this error on my server :

Found existing installation: urllib3 1.24.1 Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'urllib3'. No files were found to uninstall.

And when i try to run the bot : /usr/lib/python3/dist-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning)

Thanks for your help... Olivier.S

cquest commented 1 year ago

To avoid dependencies incompatibility, you should setup a virtual environment for tootbot.

cquest commented 1 year ago

Package version numbers have been added to make sure pip installs the right/tested ones

https://github.com/cquest/tootbot/commit/46be184d410e4595d550fdd2c9a898bf61418a99