MikaLendingBot: Bot does not start "No module named requests"

Hi, I am running your bot for several months now.

I just updated (via git pull).

When I now try to start the bot I get the error message

pi@retropie:~/poloniexlendingbot $ python lendingbot.py Traceback (most recent call last): File “lendingbot.py”, line 17, in <module> from modules.ExchangeApiFactory import ExchangeApiFactory File “/home/pi/poloniexlendingbot/modules/ExchangeApiFactory.py”, line 6, in <module> from modules.Bitfinex import Bitfinex File “/home/pi/poloniexlendingbot/modules/Bitfinex.py”, line 6, in <module> import requests ImportError: No module named requests`

Can you help me?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Ok i found the solution.

My system is instaling the versions for python3. Have to run pip directly from the python version to install the correct version to python2

sudo python -m pip install hypothesis sudo python -m pip install pandas sudo python -m pip install pytz sudo python -m pip install requests

Thank you @utdrmac for your help!