Skip to content

Latest commit

 

History

History
182 lines (125 loc) · 6.17 KB

FAQ.md

File metadata and controls

182 lines (125 loc) · 6.17 KB

Welcome to InstaPy's FAQ!

You're probably here because you ran into a known problem, so let's start with a checklist to make sure everything is installed:

Remember: I'll refer to the python and pip version you want to run InstaPy with (because some users have multiple python instances which lead to different aliases) as follows: python = your python alias, e.g. python2, python3, python3.x, python3x etc.

1. Is InstaPy installed?

python -m pip show instapy
It's not installed?(If there's no output):mag_right:Install it with
python -m pip install instapy

2. Is your installation up-to-date?

Look at PyPi and compare it to the version python -m pip show instapy showed you.

It's not up-to-date?:mag_right:Update InstaPy:
Git installation 🔎Use
git pull

inside of the folder you cloned from GitHub.

Pip installation:mag_right:Use

pip install instapy -U

to update the package.

don't mix the two installations up except you know exactly what you're doing.

3. Do you have Chrome and Chromedriver installed? Are they compatible?:mag_right:

3.1 Check Chrome's version:

Mac:mag_right:Search for Chrome with Spotlight search, or just open it if you have a shortcut.Then open the menu -> Help -> About Chrome.
Windows:mag_right:On Windows you can search for Chrome from the Start-Menu(the menu that comes when you press the windws-key or click the Windows logo in the bottom-left corner, or just open it if you have a shortcut.Then open the menu -> Help -> About Chrome.
Linux Debian Distros (e.g. Raspbian, Ubuntu, Kali etc.):mag_right:On Linux Debian Distros you can run
chromium-browser --version
Command can't be found?:mag_right: If chromium-browser can't be found, install it via
sudo apt-get install chromium-browser

And if tis still can't be found, use

sudo apt install chromium-browser

3.2 Check the driver's version:

You're using InstaPy's built-in Chromedriver? 🔎 Check the version with
python -m pip show instapy-chromedriver
You're not?:mag_right: TODO

3.3 Now: Check whether your Chrome and Chromedriver are compatible:

chromedriver chrome
2.4671-73
2.4570-72
2.4469-71
2.4369-71
2.4268-70
2.4167-69
2.4066-68
2.3966-68
2.3865-67
2.3764-66
2.3663-65
2.3562-64
2.3461-63
2.3360-62
2.2857+
2.2554+
2.2453+
2.2251+
2.1944+
2.1542+
They're not compatible?:mag_right: Download a compatible chromedriver by using
python -m pip uninstall instapy-chromedriver
python -m pip install instapy-chromedriver==desiredversion

and delete the Chromedriver executable in InstaPy/assets, if you had one

3. Do you have Firefox and Geckodriver installed? Are they compatible?:mag_right:

3.1 Check the Firefox's version:

Mac:mag_right:Search for Firefox with Spotlight search, or just open it if you have a shortcut. Then open the menu -> Help -> About Firefox.
Windows:mag_right:On Windows you can search for Firefox from the Start-Menu(the menu that comes when you press the windws-key or click the Windows logo in the bottom-left corner, or just open it if you have a shortcut.Then open the menu -> Help -> About Firefox.
Linux Debian Distros (e.g. Raspbian, Ubuntu, Kali etc.):mag_right:On Linux Debian Distros you can run
firefox --version
Command can't be found?:mag_right: If firefox can't be found, install it via
sudo apt-get install firefox

And if this still can't be found, use

sudo apt install firefox

3.2 Check the driver's version:

TODO

3.3 Now: Check whether your Firefox and Geckodriver are compatible:

Firefox and Geckodriver versions

They're not compatible?:mag_right: Download a compatible Geckodriver from here: Geckodriver releases

Now, that we can be sure everything is installed correctly and that hasn't fixed your issue, let's get to troubleshooting:

PLEASE FIRST READ WHAT THE ERROR OUTPUT SAYS, THINK ABOUT WHAT IT COULD MEAN AND HOW YOU COULD FIX IT

OSError: [Errno 8] Exec format error:mag_right:

Make sure your chromedriver is the correct bit-version for your system, you're probably on Raspberry if you encountered this issue. To install the chromedriver that fits the Raspberry's ARM-structure, run

pip3 install --user instapy-chromedriver==2.36.post0
No module named "xy":mag_right:

Make sure the python instance you used to execute your InstaPy script has all dependencies and the instapy package installed.

More issues will be added in the future. For further questions: there's almost always someone online on the Discord server.

Written by @TarekJ03