K
K
kossav2019-06-21 09:32:05
Python
kossav, 2019-06-21 09:32:05

Instapy on aws amazon possible?

Good afternoon.
Is it possible to run the instapy library on aws
tried to run it gives an error.

Traceback (most recent call last):
  File "bot.py", line 23, in <module>
    headless_browser=False)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/instapy/instapy.py", lin                       e 309, in __init__
    self.set_selenium_local_session()
  File "/home/ubuntu/.local/lib/python3.6/site-packages/instapy/instapy.py", lin                       e 363, in set_selenium_local_session
    raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/ubunt                       u/.local/lib/python3.6/site-packages/instapy_chromedriver/chromedriver_linux64

As I understand it, he lacks chromium.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nmelis, 2019-06-30
@kossav

chromedriver seems to need to be installed
try

apt-get install chromium-browser
apt-get install chromedriver

K
kossav, 2019-07-05
@kossav

The issue was resolved by installing chrome and only under Windows. Doesn't work on other systems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question