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.
python -m pip show instapyIt's not installed?(If there's no output):mag_right:
Install it withpython -m pip install instapyLook 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.
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 runchromium-browser --versionCommand can't be found?:mag_right:
Ifchromium-browser can't be found, install it via
sudo apt-get install chromium-browserAnd if tis still can't be found, use
sudo apt install chromium-browserYou're using InstaPy's built-in Chromedriver? 🔎
Check the version withpython -m pip show instapy-chromedriverYou're not?:mag_right:
TODO| chromedriver | chrome |
|---|---|
| 2.46 | 71-73 |
| 2.45 | 70-72 |
| 2.44 | 69-71 |
| 2.43 | 69-71 |
| 2.42 | 68-70 |
| 2.41 | 67-69 |
| 2.40 | 66-68 |
| 2.39 | 66-68 |
| 2.38 | 65-67 |
| 2.37 | 64-66 |
| 2.36 | 63-65 |
| 2.35 | 62-64 |
| 2.34 | 61-63 |
| 2.33 | 60-62 |
| 2.28 | 57+ |
| 2.25 | 54+ |
| 2.24 | 53+ |
| 2.22 | 51+ |
| 2.19 | 44+ |
| 2.15 | 42+ |
They're not compatible?:mag_right:
Download a compatible chromedriver by usingpython -m pip uninstall instapy-chromedriver
python -m pip install instapy-chromedriver==desiredversionand delete the Chromedriver executable in InstaPy/assets, if you had one
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 runfirefox --versionCommand can't be found?:mag_right:
Iffirefox can't be found, install it via
sudo apt-get install firefoxAnd if this still can't be found, use
sudo apt install firefoxTODO
They're not compatible?:mag_right:
Download a compatible Geckodriver from here: Geckodriver releasesNow, 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.post0No 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
