Instapy: Any Guide for Raspbian working?

Created on 24 Oct 2018  路  9Comments  路  Source: timgrossmann/InstaPy

Hey Guys, im trying to setup InstaPy on Raspbian Raspberry Pi 3+ without any success.
Tried everything i found in the forums, nothing seems to work :(. Can anyone help me find a solution? Tried firefox and tried chromium. Both dont work. Whats my best bet right now?

Most helpful comment

What's not working?
If is chromedriver for me this worked:

Installation with raspbian stretch lite (v4.14)
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install chromium-browser python-pip git
git clone https://github.com/timgrossmann/InstaPy.git instapy
in the instapy folder: pip install .
in the assets folder: wget https://github.com/electron/electron/releases/download/v3.0.0-beta.5/chromedriver-v3.0.0-beta.5-linux-armv7l.zip
also in the assets folder: unzip chromedriver-v3.0.0-beta.5-linux-armv7l.zip
馃帀

All 9 comments

What's not working?
If is chromedriver for me this worked:

Installation with raspbian stretch lite (v4.14)
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install chromium-browser python-pip git
git clone https://github.com/timgrossmann/InstaPy.git instapy
in the instapy folder: pip install .
in the assets folder: wget https://github.com/electron/electron/releases/download/v3.0.0-beta.5/chromedriver-v3.0.0-beta.5-linux-armv7l.zip
also in the assets folder: unzip chromedriver-v3.0.0-beta.5-linux-armv7l.zip
馃帀

chmod +x /home/ubuntu/ifollow/assets/chromedriver
chmod 755 /home/ubuntu/ifollow/assets/chromedriver

Seems to work now.

When i tried to do it like this:
pip install . -> gave me an error that pillow couldnt be installed because The headers or library files could not be found for jpeg,

sudo apt-get install libjpeg-dev

fixed the error.
pip install . worked

I modified the quickstart.py (username and password) and tried to start with python quickstart.py

Finished up with

sudo pip install future
sudo apt-get install xvfb
sudo pip install pyvirtualdisplay
sudo reboot (may not be required, but no harm)
sudo xvfb-run python quickstart.py -> gave me an error with chrome browser so i used
xvfb-run python quickstart.py and it seems to work for now

Maybe @eggator you can add some of this advice in the documentation. I'm sure @timgrossmann will merge it

Yeah i can do this, will need some testing before though, pretty new to unix world and i dont know if this causes any problems.

With Raspian Lite worked on a clean install. Also remember to use Python3 and pip3!

working! Just remember to apply chmod 755 chromedriver in /assets folder

(working using pip3 and python3)

Also add nogui=True in quickstart.py as follow:

session = InstaPy(username=insta_username,
                  password=insta_password,
                  headless_browser=True,
                  multi_logs=True, nogui=True)

No activity for a long time. pls, reopen it if you need.

Was this page helpful?
0 / 5 - 0 ratings