Giter Site home page Giter Site logo

instapy / instapy-quickstart Goto Github PK

View Code? Open in Web Editor NEW
765.0 55.0 801.0 111 KB

๐Ÿ’จ Simply get InstaPy up and running in minutes.

License: GNU General Public License v3.0

Python 85.93% Shell 8.38% Batchfile 5.69%
instapy python setup quickstart

instapy-quickstart's Introduction

Instapy Quickstart

Installation

Using this repository, you will be able to install and use InstaPy with only very few steps.

  1. Download the zip of this repository by clicking on the green button in the upper right corner Clone or download.
  2. Unzip the folder and open the installation folder
  3. Double click the installation file for your system
  4. If you missed any installation it will tell you what you have to install
  5. Once successfully installed you can edit the quickstart file or use any of the template files from the quickstart_templates folder
  6. Insert your username and password and modify anything you want. Make use of the comprehensive documentation.
  7. The last step is to open the run folder and double click the file that suits your platform, e.g. mac_start.command for MacOS.

If you're using one of the template files, make sure to copy and paste them into the same folder as the quickstart.py file is and then rename it to quickstart.py because that is the name of the file that will be chosen once you double click the run script.

Basic quickstart file

To get started quickly we've prepared a basic quickstart file in which you only have to edit the username and password, inside the single quotes, to make sure you're all set up. After testing your installation by starting InstaPy once, you can go in and use the documentation to configure your personal bot.

The basic quickstart file looks like this:

""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run

# login credentials
insta_username = ''  # <- enter username here
insta_password = ''  # <- enter password here

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
                  password=insta_password,
                  headless_browser=False)

with smart_run(session):
    """ Activity flow """
    # general settings
    session.set_relationship_bounds(enabled=True,
                                    delimit_by_numbers=True,
                                    max_followers=4590,
                                    min_followers=45,
                                    min_following=77)

    session.set_dont_include(["friend1", "friend2", "friend3"])
    session.set_dont_like(["pizza", "#store"])

    # activity
    session.like_by_tags(["natgeo"], amount=10)

When adding lines to the script, make sure to use a code editor which takes care of the indentation. Otherwise you will get an error upon execution.


Already used InstaPy before pip install instapy?

If you've used InstaPy before the update to PyPi that allows installing with pip install instapy, you have to move your database and log files into the new workspace directory.
Check out this very short guide on what to do!


Encountering an issue while installing?

If you should encounter any problem with the installation, please use the main repository InstaPy to report the issue instead of this repository.

Have fun & stay responsible!

Run on Repl.it

instapy-quickstart's People

Contributors

anirbandey303 avatar assassinumz avatar brammittendorff avatar breuerfelix avatar ctrlsam avatar drinktee avatar ema987 avatar fintzd avatar ishandutta2007 avatar markderry avatar mehtaabgill avatar mylogon341 avatar timgrossmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

instapy-quickstart's Issues

Session Ended after less than 3 mins

Please can some help me to keep the session for at least 23 hours? If possible can you heklp me with quick start scritp.

I'm newbie to python by the way.

Thanks

New templates needed for new features

We should always have some template or the other include recent apis, there are flood of questions nontech people are coming up with on how to use. documentations for them might not enough. The one's which are on mind to include are set_smart_location_hashtags and pods

issues when installing

I am getting the following error when installing the script:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/certifi'
Consider using the --user option or check the permissions.

====================
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

clarifai 2.6.1 has requirement jsonschema<3,>=2.5

Technical Help

Linux (Ubuntu 18.04)

Python 3.6.7

Include here the response of 'pip --version' or 'pip3 --version'
pip 19.0.3 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

Description of your issue

Repo steps:
Install default 18.04 Ubuntu from digital ocean
git clone https://github.com/InstaPy/instapy-quickstart.git
cd instapy-quickstart/installation/Linux/
sh install.sh
most of the install runs fine I get:
clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.
press any key to complete install

Looking around there isnt any clear ways around it.

Config

Not applicable

I can't run the bot on windows 10

INFO [2019-04-22 20:49:54] [myusername] Using built in instapy-chromedriver executable (version 2.44)
Traceback (most recent call last):
File "E:\รrea de Trabalho\InstaPy-master\quickstart.py", line 30, in
headless_browser=False)
File "E:\รrea de Trabalho\InstaPy-master\instapy\instapy.py", line 295, in init
self.set_selenium_local_session()
File "E:\รrea de Trabalho\InstaPy-master\instapy\instapy.py", line 347, in set_selenium_local_session
self.logger)
File "E:\รrea de Trabalho\InstaPy-master\instapy\browser.py", line 146, in set_selenium_local_session
chrome_options=chrome_options)
File "C:\Users\tulio\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\tulio\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Users\tulio\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 756, in init
restore_signals, start_new_session)
File "C:\Users\tulio\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
OSError: [WinError 740] A operaรงรฃo solicitada requer elevaรงรฃo

Error occurred while following through dialog box: 'follow'

Does someone know what it is about? It occurs while loading the followers using of some profile that I intend to follow. As soons as it finishes loading the list, the program crashes giving me the following error:

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-07-05 00:17:14] [emagreca_sem.loucuras]  Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo



Traceback (most recent call last):
  File "quickstart.py", line 52, in <module>
    randomize=False, interact=False)
  File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 3255, in follow_user_followers
    interact)
  File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/instapy.py", line 1088, in follow_by_list
    self.logfolder)
  File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/unfollow_util.py", line 764, in follow_user
    naply = get_action_delay("follow")
  File "/home/oxeanbits/.local/lib/python3.6/site-packages/instapy/util.py", line 1771, in get_action_delay
    custom_delay = config[action]
KeyError: 'follow'

I'm using the template basic_follow-unfollow_activity.py.

It does follow 5 people before crashing though.

Issue when running quickstart for instapy

Hi everybody, I keep on getting this error after installing and running quickstart for Mac:

Starting InstaPy with quickstart

Traceback (most recent call last):
File "../quickstart.py", line 2, in
from instapy import InstaPy
File "/Library/Python/2.7/site-packages/instapy-0.3.3-py2.7.egg/instapy/init.py", line 3, in
from .instapy import InstaPy
File "/Library/Python/2.7/site-packages/instapy-0.3.3-py2.7.egg/instapy/instapy.py", line 22, in
from .clarifai_util import check_image
File "/Library/Python/2.7/site-packages/instapy-0.3.3-py2.7.egg/instapy/clarifai_util.py", line 4, in
from clarifai.rest import Workflow
ImportError: cannot import name Workflow
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Installing Error on Mac 10.14.3

When trying to install instapy on my Mac running OS 10.14.3, I get these 2 errors:

Collecting googleapis-common-protos<2,>=1.5.0 (from clarifai>=2.4.1->instapy)
clarifai 2.5.2 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.0 which is incompatible.

&

Installing collected packages: enum34, futures, six, grpcio, idna, urllib3, certifi, chardet, requests, EasyProcess, instapy-chromedriver, emoji, functools32, pyrsistent, attrs, jsonschema, plyer, selenium, PyVirtualDisplay, future, PyYAML, regex, configparser, protobuf, MeaningCloud-python, googleapis-common-protos, clarifai, instapy
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/enum'
Consider using the --user option or check the permissions.

Check out the screenshot of my mac terminal showing these issues.
screen shot 2019-02-27 at 7 00 19 pm

Any advice or guidance through these errors would be greatly appreciated :) I'm new to anything coding related, and I'm trying to figure it out as I go but this has me stumped. Thank you!

Quickstart install.command error.

Dear Instapy community,

Thanks for all the effort. I just tried to install instaPy using the quickinstaller. However, the script gave an error and suggested me to post the error message on this page. It seems to be caused be updated dependencies. I am going to try to install it manually, but maybe this is useful for the community.

Here we go:

/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected
Python is installed
====================
Pip is installed
====================
Chrome is installed
====================
Installing InstaPy...
Collecting instapy
  Downloading https://files.pythonhosted.org/packages/ab/e9/bd46636f7bee99f2ee7ff805c1c0b4301f9c7db6633c799ce0940d677dcc/instapy-0.5.5-py2.py3-none-any.whl (226kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 235kB 3.3MB/s 
Collecting grpcio>=1.16.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/44/41/98f0c012ee3eed1a449df504343c3f3c5f9b0c2ae4d6eb31cf6c790a560c/grpcio-1.22.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.0MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 2.0MB 1.9MB/s 
Collecting urllib3>=1.24.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 153kB 3.5MB/s 
Collecting clarifai>=2.4.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/e8/e8/e6007d70534926213f9ae15faf9e773932410bc66516b4e899c155ace8ec/clarifai-2.6.1.tar.gz (123kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 133kB 4.4MB/s 
Collecting selenium>=3.141.0 (from instapy)
  Downloading https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl (904kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 911kB 2.3MB/s 
Collecting configparser>=3.5.0 (from instapy)
  Downloading https://files.pythonhosted.org/packages/ba/05/6c96328e92e625fc31445d24d75a2c92ef9ba34fc5b037fe69693c362a0d/configparser-3.7.4-py2.py3-none-any.whl
Collecting protobuf>=3.6.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/7f/83/306081240699f9e79244549d99fa6c25c517ab8cf45fa2a47c5e9b21fcbd/protobuf-3.9.0-cp36-cp36m-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.4MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.4MB 2.0MB/s 
Collecting plyer>=1.3.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/64/02/fa5c7054a879cfda9c937fedf8abfda6706c088da2f97c16655cf3c88626/plyer-1.4.0-py3-none-any.whl (131kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 133kB 2.8MB/s 
Requirement already satisfied: chardet>=3.0.4 in ./anaconda3/lib/python3.6/site-packages (from instapy) (3.0.4)
Collecting MeaningCloud-python>=1.1.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/28/c6/deb6c9d113f94ec99116ec4017b333660ce54344734d29f0cb98fdf32945/MeaningCloud_python-1.1.1-py2.py3-none-any.whl
Collecting idna>=2.7 (from instapy)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Requirement already satisfied: PyVirtualDisplay>=0.2.1; sys_platform != "win32" in ./anaconda3/lib/python3.6/site-packages (from instapy) (0.2.1)
Collecting requests>=2.20.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 61kB 7.4MB/s 
Requirement already satisfied: jsonschema>=2.6.0 in ./anaconda3/lib/python3.6/site-packages (from instapy) (2.6.0)
Requirement already satisfied: future>=0.17.1 in ./anaconda3/lib/python3.6/site-packages (from instapy) (0.17.1)
Collecting emoji>=0.5.1 (from instapy)
  Downloading https://files.pythonhosted.org/packages/6c/ee/8cc0af26113508c8513dac40b1990b21d1d0136b3981a8b7b8a231a56c8d/emoji-0.5.2-py3-none-any.whl (41kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 51kB 7.6MB/s 
Collecting PyYAML>=3.13 (from instapy)
  Downloading https://files.pythonhosted.org/packages/a3/65/837fefac7475963d1eccf4aa684c23b95aa6c1d033a2c5965ccb11e22623/PyYAML-5.1.1.tar.gz (274kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 276kB 6.0MB/s 
Requirement already satisfied: certifi>=2018.10.15 in ./anaconda3/lib/python3.6/site-packages (from instapy) (2018.11.29)
Collecting regex>=2018.11.22 (from instapy)
  Downloading https://files.pythonhosted.org/packages/6f/4e/1b178c38c9a1a184288f72065a65ca01f3154df43c6ad898624149b8b4e0/regex-2019.06.08.tar.gz (651kB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 655kB 2.0MB/s 
Requirement already satisfied: six>=1.11.0 in ./anaconda3/lib/python3.6/site-packages (from instapy) (1.11.0)
Collecting instapy-chromedriver (from instapy)
  Downloading https://files.pythonhosted.org/packages/94/04/22385b4cce7546d9166882be6f89cffc02ed819910a99f138bb27a62309b/instapy_chromedriver-2.46-py3-none-any.whl (17.1MB)
    100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 17.1MB 570kB/s 
Requirement already satisfied: EasyProcess>=0.2.3 in ./anaconda3/lib/python3.6/site-packages (from instapy) (0.2.3)
Collecting googleapis-common-protos<2,>=1.5.0 (from clarifai>=2.4.1->instapy)
  Downloading https://files.pythonhosted.org/packages/eb/ee/e59e74ecac678a14d6abefb9054f0bbcb318a6452a30df3776f133886d7d/googleapis-common-protos-1.6.0.tar.gz
Requirement already satisfied: setuptools in ./anaconda3/lib/python3.6/site-packages (from protobuf>=3.6.1->instapy) (36.5.0.post20170921)
Building wheels for collected packages: clarifai, PyYAML, regex, googleapis-common-protos
  Running setup.py bdist_wheel for clarifai ... done
  Stored in directory: /Users/vermaat/Library/Caches/pip/wheels/d5/38/9b/83e6a82753fcdee14ce08443fa5adc7e891e94cd51abf988cc
  Running setup.py bdist_wheel for PyYAML ... done
  Stored in directory: /Users/vermaat/Library/Caches/pip/wheels/16/27/a1/775c62ddea7bfa62324fd1f65847ed31c55dadb6051481ba3f
  Running setup.py bdist_wheel for regex ... done
  Stored in directory: /Users/vermaat/Library/Caches/pip/wheels/35/e4/80/abf3b33ba89cf65cd262af8a22a5a999cc28fbfabea6b38473
  Running setup.py bdist_wheel for googleapis-common-protos ... done
  Stored in directory: /Users/vermaat/Library/Caches/pip/wheels/9e/3d/a2/1bec8bb7db80ab3216dbc33092bb7ccd0debfb8ba42b5668d5
Successfully built clarifai PyYAML regex googleapis-common-protos
google-search-api 1.1.14 has requirement selenium<3.0.0,>=2.44.0, but you'll have selenium 3.141.0 which is incompatible.
botocore 1.12.72 has requirement urllib3<1.25,>=1.20; python_version >= "3.4", but you'll have urllib3 1.25.3 which is incompatible.
boto3 1.7.14 has requirement botocore<1.11.0,>=1.10.14, but you'll have botocore 1.12.72 which is incompatible.
awscli 1.16.82 has requirement PyYAML<=3.13,>=3.10, but you'll have pyyaml 5.1.1 which is incompatible.
Installing collected packages: grpcio, urllib3, idna, requests, configparser, protobuf, googleapis-common-protos, clarifai, selenium, plyer, MeaningCloud-python, emoji, PyYAML, regex, instapy-chromedriver, instapy
  Found existing installation: urllib3 1.22
    Uninstalling urllib3-1.22:
      Successfully uninstalled urllib3-1.22
  Found existing installation: idna 2.6
    Uninstalling idna-2.6:
      Successfully uninstalled idna-2.6
  Found existing installation: requests 2.18.4
    Uninstalling requests-2.18.4:
      Successfully uninstalled requests-2.18.4
  Found existing installation: selenium 2.53.6
    Uninstalling selenium-2.53.6:
      Successfully uninstalled selenium-2.53.6
  Found existing installation: PyYAML 3.12
Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
====================
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues

You can also manually install InstaPy with this guide: https://github.com/timgrossmann/InstaPy

Sorry for the inconveniences
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...47 completed.

[Process completed]


password needed

what is my instagram password if i logged in with facebook??

Instagram block 'likes' everytime

Hi,

Instagram block my account for likes and comments after few hours of running my script.
I try to reduce likes distribution, it's not work.

One month ago, the script worked very well with >800 likes/day

Can you check my script please ? thanks !

`
import random
from instapy import InstaPy
from instapy import smart_run

login credentials

insta_username = '...'
insta_password = '...'

restriction data

dont_likes = ['#exactmatch', '[startswith', ']endswith', 'broadmatch', 'sex', 'nude', 'naked', 'pussy', 'dick', 'squirt', 'gay', 'homo', '#fit', '#fitfam', '#fittips', 'sex', 'nude', 'naked', 'pussy', '#abs', '#kids', '#children', '#child']
ignore_users = ['user1', 'user2', 'user3']

""" Prevent commenting on and unfollowing your good friends (the images will
still be liked)...
"""
friends = ["list of my following"]

""" Prevent posts that contain...
"""
ignore_list = []

TARGET data

""" Set similar accounts and influencers from your niche to target...
"""
targets = ["list of 36 account"]

""" Skip all business accounts, except from list given...
"""
target_business_categories = ['category1', 'category2', 'category3']

COMMENT data

comments = ['Oh! Nice! @{}',
'Really cool ๐Ÿ™Œ๐Ÿ˜ฎ',
'What camera or phone did you use @{}?',
'Nice one @{} ๐Ÿป',
'Oh nice! What is your next trip โœˆ๏ธ ?',
':raised_hands: Yes!',
'What an nice shot! ๐Ÿ˜ Did you use an app to edit? ๐Ÿ’…',
'Ohh! ๐Ÿ˜ ๐Ÿ˜‰',
':thumbsup: :thumbsup: cool!',
':raised_hands: hey !',
'Like it ๐Ÿ‘ ๐Ÿ‘ !',
':ok_hand: ! Where is it?',
u'๐Ÿ˜ฎ',
u'๐ŸŒฑ',
u'๐Ÿ•',
u'๐Ÿš€',
u'๐Ÿ’ฌ',
u'๐Ÿ’…',
u'๐Ÿฆ‘',
u'๐ŸŒป',
u'โšก๏ธ',
u'๐ŸŒˆ',
u'๐ŸŽ‰',
u'๐Ÿ˜ป']

get a session!

while True:
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False,
disable_image_load=True,
multi_logs=True)

let's go! :>

with smart_run(session):
    # HEY HO LETS GO
    # general settings
    session.set_dont_include(friends)
    session.set_dont_like(dont_likes)
    session.set_ignore_if_contains(ignore_list)
    session.set_ignore_users(ignore_users)
    session.set_simulation(enabled=False)
    session.set_relationship_bounds(enabled=True,
                                    potency_ratio=None,
                                    delimit_by_numbers=True,
                                    max_followers=3500,
                                    max_following=900,
                                    min_followers=15,
                                    min_following=25,
                                    min_posts=8)

    session.set_skip_users(skip_private=True,
                           skip_no_profile_pic=True,
                           skip_business=True)

    session.set_user_interact(amount=3, randomize=True, percentage=99, media='Photo')
    session.set_do_like(enabled=True, percentage=91)
    session.set_do_comment(enabled=True, percentage=1)
    session.set_comments(comments, media='Photo')
    session.set_do_follow(enabled=True, percentage=8, times=1)
    session.set_action_delays(enabled=True, like=20, randomize=True, random_range=(80, 200))
    session.set_quota_supervisor(enabled=True, sleep_after=['likes'], sleepyhead=True, stochastic_flow=True, notify_me=False, peak_likes=(55, 500))


    # activities

    # FOLLOW+INTERACTION on TARGETED accounts
    """ Select users form a list of a predefined targets...
    """
    number = random.randint(4, 6)
    random_targets = targets

    if len(targets) <= number:
        random_targets = targets

    else:
        random_targets = random.sample(targets, number)

    """ Interact with the chosen targets...
    """
    session.interact_user_followers(random_targets,
                                  amount=random.randint(420, 660))

    # UNFOLLOW activity
    """ Unfollow nonfollowers after one day...
    """
    session.unfollow_users(amount=random.randint(20, 40),
                           InstapyFollowed=(True, "nonfollowers"),
                           style="FIFO",
                           unfollow_after=24 * 60 * 60, sleep_delay=400)

    """ Unfollow all users followed by InstaPy after one week to keep the
    following-level clean...
    """
    session.unfollow_users(amount=random.randint(20, 40),
                           InstapyFollowed=(True, "all"), style="FIFO",
                           unfollow_after=96 * 60 * 60, sleep_delay=400)

    """ Joining Engagement Pods...
    """
    session.join_pods('general', 'travel')

"""
Have fun while optimizing for your purposes, Nuzzo
"""
`

error while installing Quickstart

ERROR: Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 397, in _error_catcher
yield
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 479, in read
data = self._fp.read(amt)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 447, in read
n = self.readinto(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 491, in readinto
n = self.fp.readinto(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in main
status = self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 345, in run
resolver.resolve(requirement_set)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve
self._resolve_one(requirement_set, req)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 307, in _get_abstract_dist_for
self.require_hashes
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 199, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1050, in unpack_url
progress_bar=progress_bar
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 910, in unpack_http_url
progress_bar)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1138, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 847, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/hashes.py", line 75, in check_against_chunks
for chunk in chunks:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 815, in written_chunks
for chunk in chunks:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/ui.py", line 156, in iter
for x in it:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 804, in resp_read
decode_content=False):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 531, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 496, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 402, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

Question about friends_last_post_likes_and_interact_with_user_based_on_hashtahs.py

Hi!
How to use this script? In file The file has this information:
`This config is ment to run with docker-compose inside a folder call z_{user}
(Added to gitignore)
Folder content:

  • data.yaml
  • docker-compose.yaml
  • start.py (Containing this script)
    `
    Is there any simpler way to run the script (without docker-compose, data.yaml etc) and if not what should be in the data.yaml and docker-compose.yaml files?

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/PyYAML-5.1.1.dist-info' Consider using the `--user` option or check the permissions.

Last login: Sat Jul 13 14:27:23 on ttys000
Nurtays-MBP:~ nurtaichik$ /Users/nurtaichik/Downloads/instapy-quickstart-master/installation/MacOs/install.command ; exit;
/Users/nurtaichik/Downloads/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected
Python is installed

Pip is installed

Chrome is installed

Installing InstaPy...
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting instapy
Using cached https://files.pythonhosted.org/packages/ab/e9/bd46636f7bee99f2ee7ff805c1c0b4301f9c7db6633c799ce0940d677dcc/instapy-0.5.5-py2.py3-none-any.whl
Collecting PyYAML>=3.13 (from instapy)
Collecting MeaningCloud-python>=1.1.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/28/c6/deb6c9d113f94ec99116ec4017b333660ce54344734d29f0cb98fdf32945/MeaningCloud_python-1.1.1-py2.py3-none-any.whl
Collecting clarifai>=2.4.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/d2/e3/5c2e868bd49db72a8a771e9c8fa66c96ef6e8fa1bc8b9de4a28c47a3e5c6/clarifai-2.6.1-py2-none-any.whl
Collecting chardet>=3.0.4 (from instapy)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2018.10.15 (from instapy)
Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting jsonschema>=2.6.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl
Collecting PyVirtualDisplay>=0.2.1; sys_platform != "win32" (from instapy)
Using cached https://files.pythonhosted.org/packages/cf/ad/b15f252bfb0f1693ad3150b55a44a674f3cba711cacdbb9ae2f03f143d19/PyVirtualDisplay-0.2.4-py2.py3-none-any.whl
Collecting six>=1.11.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting instapy-chromedriver (from instapy)
Collecting emoji>=0.5.1 (from instapy)
Collecting future>=0.17.1 (from instapy)
Collecting protobuf>=3.6.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/cb/7a/723fc155769200bee7c934180483eadad7a836f1ee63203726dc6f174c70/protobuf-3.9.0-cp27-cp27m-macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting plyer>=1.3.1 (from instapy)
Collecting selenium>=3.141.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl
Collecting configparser>=3.5.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/ba/05/6c96328e92e625fc31445d24d75a2c92ef9ba34fc5b037fe69693c362a0d/configparser-3.7.4-py2.py3-none-any.whl
Collecting urllib3>=1.24.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting regex>=2018.11.22 (from instapy)
Collecting grpcio>=1.16.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/2a/ef/f713328b4ce158e76b9fd7b4b440a5b7cc5744a6f61a1eba27a6ccbc1932/grpcio-1.22.0-cp27-cp27m-macosx_10_9_x86_64.whl
Collecting idna>=2.7 (from instapy)
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting requests>=2.20.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting EasyProcess>=0.2.3 (from instapy)
Using cached https://files.pythonhosted.org/packages/fa/29/40040d1d64a224a5e44df9572794a66494618ffe5c77199214aeceedb8a7/EasyProcess-0.2.7-py2.py3-none-any.whl
Collecting enum34<2,>=1.1 (from clarifai>=2.4.1->instapy)
Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting googleapis-common-protos<2,>=1.5.0 (from clarifai>=2.4.1->instapy)
Collecting typing>=3.6 (from clarifai>=2.4.1->instapy)
Using cached https://files.pythonhosted.org/packages/79/be/e43ccd1317f483e14de507787322c74092a688707d02fa5f16562270eb63/typing-3.7.4-py2-none-any.whl
Collecting attrs>=17.4.0 (from jsonschema>=2.6.0->instapy)
Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting functools32; python_version < "3" (from jsonschema>=2.6.0->instapy)
Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from jsonschema>=2.6.0->instapy) (18.5)
Collecting pyrsistent>=0.14.0 (from jsonschema>=2.6.0->instapy)
Collecting futures>=2.2.0; python_version < "3.2" (from grpcio>=1.16.1->instapy)
Using cached https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl
ERROR: clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.
Installing collected packages: PyYAML, urllib3, certifi, chardet, idna, requests, MeaningCloud-python, six, protobuf, configparser, enum34, attrs, functools32, pyrsistent, jsonschema, googleapis-common-protos, typing, future, futures, grpcio, clarifai, EasyProcess, PyVirtualDisplay, instapy-chromedriver, emoji, plyer, selenium, regex, instapy
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/PyYAML-5.1.1.dist-info'
Consider using the --user option or check the permissions.

====================
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues

You can also manually install InstaPy with this guide: https://github.com/timgrossmann/InstaPy

Sorry for the inconveniences
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

quickstart-templates

could anyone make quickstart script to follow specified account?
example: I have 1 main account and 10 bot accounts, and I want to follow my main account using my bot accounts, so how to configure each bot account to follow specified target account?(my main account)

selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally

My system: Centos 7, i tried to install all requirements by this script: https://gist.github.com/kaze/eb35d0a815553204cb6d1a9129b20163
but i got this error:

[root@musicbot instapy-quickstart]# python3.6 quickstart.py Traceback (most recent call last): File "quickstart.py", line 2, in <module> from instapy import InstaPy File "/usr/lib/python3.6/site-packages/instapy/__init__.py", line 3, in <module> from .instapy import InstaPy File "/usr/lib/python3.6/site-packages/instapy/instapy.py", line 25, in <module> from .clarifai_util import check_image File "/usr/lib/python3.6/site-packages/instapy/clarifai_util.py", line 3, in <module> from clarifai.rest import ClarifaiApp File "/usr/lib/python3.6/site-packages/clarifai/rest/__init__.py", line 3, in <module> from clarifai.rest.client import ApiClient File "/usr/lib/python3.6/site-packages/clarifai/rest/client.py", line 23, in <module> from future.moves.urllib.parse import urlparse File "/usr/lib/python3.6/site-packages/future/moves/__init__.py", line 8, in <module> import_top_level_modules() File "/usr/lib/python3.6/site-packages/future/standard_library/__init__.py", line 810, in import_top_level_modules with exclude_local_folder_imports(*TOP_LEVEL_MODULES): File "/usr/lib/python3.6/site-packages/future/standard_library/__init__.py", line 781, in __enter__ module = __import__(m, level=0) File "/root/instapy-quickstart/test.py", line 17, in <module> driver = webdriver.Chrome('/usr/local/bin/chromedriver',chrome_options=chrome_options) File "/usr/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__ desired_capabilities=desired_capabilities) File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 3.10.0 x86_64)

follow/unfollow script - not issue, only a question

Hi everyone!
I have simple question.
When I use the follow/unfollow script (for exemple massive_follow_then_unfollow_works-non-stop.py), how to prevent the removal of people I am now follow?
Thanks for any help!
:)

problem install.sh Ubuntu

I try to install on my server Ubuntu just with script install.sh .

I have this error :

100% |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 143kB 25.1MB/s
Collecting grpcio>=1.16.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/51/a3/489ce6a67047263e9b0da8784b2925c4f89b688a6e33073c5bb6c4c2867f/grpcio-1.18.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting six>=1.11.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting configparser>=3.5.0 (from instapy)
Downloading https://files.pythonhosted.org/packages/43/63/220afe02a0d302c2244309b1dce3d884a865be65c7d8148ededfc0c29c31/configparser-3.7.1-py3-none-any.whl
Collecting MeaningCloud-python>=1.1.1 (from instapy)
Downloading https://files.pythonhosted.org/packages/28/c6/deb6c9d113f94ec99116ec4017b333660ce54344734d29f0cb98fdf32945/MeaningCloud_python-1.1.1-py2.py3-none-any.whl
Collecting PyYAML>=3.13 (from instapy)
Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'setuptools'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-1mmh1g1l/PyYAML/
install.sh: 31: install.sh: pushd: not found
Setup is completed.

cormo template

Hi guys, im non tech, sorry for disturbing

been using tis template, but it doenst unfollow who already followed. The author says it uses 2 files, one for follow, another for unfollow, but I cant find the 2 files or in which part of the code I could split it in 2.

Thanks in advance,

cheers

Issue installing using Mac OS

Using pip3 install instapy results in this error. I'd appreciate any thoughts / input please

Requirement already satisfied: pyrsistent>=0.14.0 in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages (from jsonschema>=2.6.0->instapy) (0.15.2)
ERROR: clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.
Installing collected packages: grpcio, googleapis-common-protos, clarifai, instapy
Running setup.py install for grpcio ... error
ERROR: Complete output from command /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import setuptools, tokenize;file='"'"'/private/tmp/pip-install-9ukjutob/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-5sr6q0xu/install-record.txt --single-version-externally-managed --compile:
ERROR: Found cython-generated files...
running install
..
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/code.h:105:28: note: candidate function not viable: requires 16 arguments, but 15 were provided
PyAPI_FUNC(PyCodeObject *) PyCode_New(
^
src/python/grpcio/grpc/_cython/cygrpc.cpp:64304:34: error: no matching function for call to 'PyCode_New'

RequestsDependencyWarning with latest Ubuntu 19

instapy-quickstart# python3 quickstart.py
/usr/local/lib/python3.7/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

Installation Issue

Help would be very much appreaciated. I am following the Udemy course and received this error when installing InstaPY. Note - not extremely experienced in development.

I am receiving the attached errors.

Screenshot 2019-05-04 at 15 29 29

Regex Build Failed

** Failed building wheel for regex
Running setup.py clean for regex
Building wheel for PyYAML (setup.py) ... done
Stored in directory:
Building wheel for functools32 (setup.py) ... done
Stored in directory:
Building wheel for pyrsistent (setup.py) ... done
Stored in directory:
Building wheel for googleapis-common-protos (setup.py) ... done
Stored in directory:
Successfully built EasyProcess instapy-chromedriver emoji plyer PyVirtualDisplay future PyYAML functools32 pyrsistent googleapis-common-protos
Failed to build regex
clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.
Installing collected packages: enum34, futures, six, grpcio, idna, urllib3, certifi, chardet, requests, EasyProcess, instapy-chromedriver, emoji, functools32, pyrsistent, attrs, jsonschema, plyer, selenium, MeaningCloud-python, PyVirtualDisplay, future, protobuf, regex, configparser, PyYAML, googleapis-common-protos, typing, clarifai, instapy
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/enum'
Consider using the --user option or check the permissions.

Saying Chrome isn't installed (Windows 10)

chrome issue
Everytime I try running the install.bat, it comes up with the error chrome not installed.
I made sure that theres a chrome path, so typing chrome in CMD will run chrome. I have the latest version of chrome.
I made sure that the file location of chrome matches the install.bat location (C:\Program Files (x86)\Google\Chrome\Application).
I'm not sure the next step is?

can not import name "smart run"

I used the usual instapy before and it worked well.
Now I wanted to try out the quickstart version and after running the quickstart script I get this error
starting instapy with quickstart.
Installed it on Windows

Traceback (most recent call last):
File "../quickstart.py", line 4, in
from instapy import smart_run
ImportError: cannot import name 'smart_run'
Drรผcken Sie eine beliebige Taste . . .

does annyone know what is wrong with it?

good commenting strategy and new qs system script

Like what this is intended to do! I had it running great for about 30mins then started to get some follow and like errors where it wouldn't process. How can I slow this down a little bit to try and avoid being temp banned?

Instagram security code bypass

Hi!

Thanks for the wonderful codes here! I'm just wondering - my Instagram credentials are OK, but for some security reasons, when I try my bot, it always wants the Security code which is sent to my mobile.

The message says exactly: "CRITICAL [2019-05-13 19:02:02] [barush108] Wrong login data!"

Is there any way how to include some dialogue window to insert the new security code manually? Or how to bypass the Instagram security settings?

Many thanks! :)
Bara

P.S.: sorry, I had the 2 factor authentication turned on :))))) so please ignore this issue :) thanks and sorry again :))

No module named 'instapy'

โ‰ซ  python quickstart.py 
Traceback (most recent call last):
  File "quickstart.py", line 3, in <module>
    from instapy import InstaPy
ModuleNotFoundError: No module named 'instapy'

Here is my quickstart.py:

"" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run

# login credentials
insta_username = ' '  # <- enter username here
insta_password = ' '  # <- enter password here

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
                  password=insta_password,
                  headless_browser=True)

with smart_run(session):
    """ Activity flow """
    # general settings
    session.set_relationship_bounds(enabled=True,
                                    delimit_by_numbers=True,
				    max_followers=6000,
                                    max_following=3000,                                    				    min_followers=45,
                                    min_following=77)

    #session.set_dont_include(["friend1", "friend2", "friend3"])
    #session.set_dont_like(["pizza", "#store"])
    session.set_do_follow(enabled=True, percentage=50)
    session.set_do_like(enabled=True, percentage=100)
    session.set_do_comment(enabled=True, percentage=20)
    session.set_comments(
        ['Nice shot! @{}', 'I love your profile! @{}', '@{} Love it!',
         '@{} :heart::heart:',
         '@{}:revolving_hearts::revolving_hearts:', '@{}:fire::fire::fire:'],
        media='Photo')

    session.set_delimit_commenting(enabled=True, max=250, min=0)
    # activity
    session.like_by_tags(["florist", "weddingphotographer", "boutique"], amount=1000)

And the result of updating:

Requirement already up-to-date: instapy in /usr/local/lib/python3.7/site-packages (0.5.5)
Requirement already satisfied, skipping upgrade: EasyProcess>=0.2.3 in /usr/local/lib/python3.7/site-packages (from instapy) (0.2.5)
Requirement already satisfied, skipping upgrade: plyer>=1.3.1 in /usr/local/lib/python3.7/site-packages (from instapy) (1.4.0)
Requirement already satisfied, skipping upgrade: six>=1.11.0 in /usr/local/lib/python3.7/site-packages (from instapy) (1.12.0)
Requirement already satisfied, skipping upgrade: regex>=2018.11.22 in /usr/local/lib/python3.7/site-packages (from instapy) (2019.3.12)
Requirement already satisfied, skipping upgrade: instapy-chromedriver in /usr/local/lib/python3.7/site-packages (from instapy) (2.46)
Requirement already satisfied, skipping upgrade: jsonschema>=2.6.0 in /usr/local/lib/python3.7/site-packages (from instapy) (3.0.1)
Requirement already satisfied, skipping upgrade: MeaningCloud-python>=1.1.1 in /usr/local/lib/python3.7/site-packages (from instapy) (1.1.1)
Requirement already satisfied, skipping upgrade: PyVirtualDisplay>=0.2.1; sys_platform != "win32" in /usr/local/lib/python3.7/site-packages (from instapy) (0.2.1)
Requirement already satisfied, skipping upgrade: certifi>=2018.10.15 in /usr/local/lib/python3.7/site-packages (from instapy) (2019.3.9)
Requirement already satisfied, skipping upgrade: future>=0.17.1 in /usr/local/lib/python3.7/site-packages (from instapy) (0.17.1)
Requirement already satisfied, skipping upgrade: urllib3>=1.24.1 in /usr/local/lib/python3.7/site-packages (from instapy) (1.24.1)
Requirement already satisfied, skipping upgrade: chardet>=3.0.4 in /usr/local/lib/python3.7/site-packages (from instapy) (3.0.4)
Requirement already satisfied, skipping upgrade: protobuf>=3.6.1 in /usr/local/lib/python3.7/site-packages (from instapy) (3.7.1)
Requirement already satisfied, skipping upgrade: emoji>=0.5.1 in /usr/local/lib/python3.7/site-packages (from instapy) (0.5.1)
Requirement already satisfied, skipping upgrade: idna>=2.7 in /usr/local/lib/python3.7/site-packages (from instapy) (2.8)
Requirement already satisfied, skipping upgrade: requests>=2.20.1 in /usr/local/lib/python3.7/site-packages (from instapy) (2.21.0)
Requirement already satisfied, skipping upgrade: clarifai>=2.4.1 in /usr/local/lib/python3.7/site-packages (from instapy) (2.6.1)
Requirement already satisfied, skipping upgrade: configparser>=3.5.0 in /usr/local/lib/python3.7/site-packages (from instapy) (3.7.4)
Requirement already satisfied, skipping upgrade: PyYAML>=3.13 in /usr/local/lib/python3.7/site-packages (from instapy) (5.1)
Requirement already satisfied, skipping upgrade: grpcio>=1.16.1 in /usr/local/lib/python3.7/site-packages (from instapy) (1.19.0)
Requirement already satisfied, skipping upgrade: selenium>=3.141.0 in /usr/local/lib/python3.7/site-packages (from instapy) (3.141.0)
Requirement already satisfied, skipping upgrade: attrs>=17.4.0 in /usr/local/lib/python3.7/site-packages (from jsonschema>=2.6.0->instapy) (19.1.0)
Requirement already satisfied, skipping upgrade: pyrsistent>=0.14.0 in /usr/local/lib/python3.7/site-packages (from jsonschema>=2.6.0->instapy) (0.14.11)
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/site-packages (from jsonschema>=2.6.0->instapy) (40.9.0)
Requirement already satisfied, skipping upgrade: googleapis-common-protos<2,>=1.5.0 in /usr/local/lib/python3.7/site-packages (from clarifai>=2.4.1->instapy) (1.5.9)```

Installing Error Mac 10.13.6

Having trouble installing instapy and receive the following error messages:

ERROR: clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.
Installing collected packages: urllib3, certifi, chardet, idna, requests, MeaningCloud-python, six, protobuf, configparser, enum34, attrs, functools32, pyrsistent, jsonschema, googleapis-common-protos, typing, future, futures, grpcio, clarifai, EasyProcess, PyVirtualDisplay, instapy-chromedriver, emoji, plyer, selenium, PyYAML, regex, instapy
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/urllib3-1.25.3.dist-info'
Consider using the --user option or check the permissions.

I'm new to coding so any help trying to resolve this in simple terms would be appreciated! :)

Quickstart by Nuzzo session end

Hello! :)
I recently started using the Quickstart script from Nuzzo235.
I really like the way the script works!

I'd like to run the bot 24/7 permanently.
Unfortunately, the script stops with the message "Session ended!" after about 1-2 hours.

What do I have to do for the script to continue working permanently?

Thank you for your help!

Best regards,
zaz7zaz

mac_start.command Issue/Error

I have successfully installed instapy but when trying to run mac_start.command from instapy quickstart, I get the following:

Ivans-MacBook:~ ivan$ /Users/ivan/Downloads/instapy-quickstart-master/run/mac_start.command ; exit;
Starting InstaPy with quickstart

.. .. .. .. .. .. ._.
Workspace in use: "/Users/ivan/InstaPy"
WARNING [2019-05-30 13:02:15] [None] Heeh! Error occurred while getting a DB profile for 'None':
NOT NULL constraint failed: profiles.name
Traceback (most recent call last):
File "../quickstart.py", line 24, in
headless_browser=False)
File "/Library/Python/2.7/site-packages/instapy/instapy.py", line 292, in init
get_database(make=True) # IMPORTANT: think twice before relocating
File "/Library/Python/2.7/site-packages/instapy/database_engine.py", line 60, in get_database
id = get_profile(name, address, logger) if id is None or make else id
File "/Library/Python/2.7/site-packages/instapy/database_engine.py", line 147, in get_profile
profile = dict(profile)
TypeError: 'NoneType' object is not iterable
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]

Any help would be appreciated!

Not following

I am running the simple_but_effective.py script.
It shows that the bot is up and running, but in fact, the number of followers in my account does not increase.

Any solution?
prob

Here is a screenshot of my bot activation.

installing instapy ERROR

clarifai 2.5.2 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.0 which is incompatible.
Installing collected packages: future, emoji, instapy-chromedriver, urllib3, idna, chardet, certifi, requests, six, protobuf, functools32, pyrsistent, attrs, jsonschema, enum34, configparser, futures, grpcio, googleapis-common-protos, clarifai, MeaningCloud-python, EasyProcess, PyVirtualDisplay, regex, PyYAML, selenium, plyer, instapy
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/_dummy_thread'
Consider using the --user option or check the permissions.

ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.2 which is incompatible. ERROR: clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.

ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.2 which is incompatible. ERROR: clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.

I'm sure this can be fixed with a virtualenv, but I did a quick and dirty hack

pip uninstall urllib3
pip uninstall jsonschema
pip install urllib3==1.24.1
pip install jsonschema==2.6.0

Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

Hey Team!

I want to follow people using InstaPy, but something is keeping my code from running.

This is the code:
....

get an InstaPy session!

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

with smart_run(session):
""" Activity flow """
# general settings
session.set_relationship_bounds(enabled=True,
potency_ratio=None,
delimit_by_numbers=True,
max_followers=6000,
max_following=3000,
min_followers=30,
min_following=30)

session.set_dont_include(["friend1", "friend2", "friend3"])

ammount_number = 50
session.follow_user_followers(['refikanadol', 'nvidia', 'lilmiquela', 'bruthethe', 'tiltgamer', 'wuyckhuyse'],
amount=ammount_number, randomize=False, interact=True)

....

When ran, the quickstart logs in and starts by going to refikanadol's followers, but then the session is interrupted.

Here's the error:
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

Do you know the fix for this?

Thanks!
Tijana

like_by_tags method could be more efficient

Currently, sometimes the method goes to the photo from the tag, then visits the user's page, and returns to the photo. I'm not sure what causes it to visit the main page or not.

There was a problem installing InstaPy

InstaPy doesn't work, it gives me the following error:

Traceback (most recent call last):
  File "../quickstart.py", line 15, in <module>
    from instapy import InstaPy
ImportError: No module named instapy
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Proces voltooid]

Did the install by: sudo pip3 install instapy --ignore-installed. But it gives me this error.

Who can help me out?

Install Issue

Had two error messages when attempting to install InstaPy:

clarifai 2.6.1 has requirement jsonschema<3,>=2.5, but you'll have jsonschema 3.0.1 which is incompatible.

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/enum'
Consider using the --user option or check the permissions.

Chinese Support

please contact me for chinese support! ins: wx.daaaxian wechat: daaaxian

Cannot install on Mac 10.14.2

Hi there, I'm running into an issue when installing InstaPy using the Install.command under MacOS Installation. Please see below:

Using cached https://files.pythonhosted.org/packages/61/29/1549f61917eadd11650e42b78b4afcfe9cb467157af4510ab8cb59535f14/googleapis-common-protos-1.5.6.tar.gz
Installing collected packages: six, grpcio, idna, urllib3, certifi, chardet, requests, EasyProcess, emoji, functools32, jsonschema, plyer, selenium, instapy-chromedriver, PyVirtualDisplay, future, protobuf, regex, PyYAML, MeaningCloud-python, googleapis-common-protos, clarifai, instapy
  Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
====================
There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues


Full thread below:

Last login: Mon Feb  4 12:05:44 on console
Brians-MacMachine:~ Brian$ /Users/Brian/Downloads/instapy-quickstart-master/installation/MacOs/install.command ; exit;
/Users/Brian/Downloads/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected
Python is installed
====================
Pip is installed
====================
Chrome is installed
====================
Installing InstaPy...
Collecting instapy
  Using cached https://files.pythonhosted.org/packages/b7/f2/5bc92a59ed3cc9450e2a9149aa19b7aee1f616cbeb199d39485b34969c2d/instapy-0.1.1-py2.py3-none-any.whl
Collecting grpcio>=1.16.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/35/c2/546d5c216f3daa8020c147dcb338db19cf3a641714f83e5c6622cf800f06/grpcio-1.18.0-cp27-cp27m-macosx_10_9_x86_64.whl
Collecting idna>=2.7 (from instapy)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting requests>=2.20.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting EasyProcess>=0.2.3 (from instapy)
  Using cached https://files.pythonhosted.org/packages/45/3a/4eecc0c7995a13a64739bbedc0d3691fc574245b7e79cff81905aa0c2b38/EasyProcess-0.2.5.tar.gz
Collecting urllib3>=1.24.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting emoji>=0.5.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/41/5a/5b2cbaf1f8936e54a3756c4f0587cbe0615cd50c6b31340214ea61f92782/emoji-0.5.1.tar.gz
Collecting certifi>=2018.10.15 (from instapy)
  Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Collecting jsonschema>=2.6.0 (from instapy)
  Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting chardet>=3.0.4 (from instapy)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting plyer>=1.3.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/22/8c/3bdd25b9e489fa62b06937b51dc2611844e58108f458c8e12ea6de7c5db3/plyer-1.4.0.tar.gz
Collecting selenium>=3.141.0 (from instapy)
  Using cached https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl
Collecting instapy-chromedriver==2.44 (from instapy)
  Using cached https://files.pythonhosted.org/packages/d6/ef/7706399f705534d0fc56269ec03dd9a87dd86a53b341b3bd3640d36fd8f3/instapy-chromedriver-2.44.tar.gz
Collecting PyVirtualDisplay>=0.2.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/39/37/f285403a09cc261c56b6574baace1bdcf4b8c7428c8a7239cbba137bc0eb/PyVirtualDisplay-0.2.1.tar.gz
Collecting future>=0.17.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz
Collecting protobuf>=3.6.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/2b/2b/d51219eb18a140836cb656053e5408cd18fd752217ff73ca596204cd3183/protobuf-3.6.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting regex>=2018.11.22 (from instapy)
  Using cached https://files.pythonhosted.org/packages/f5/35/6dc256e648a0386a79fb6a456498bfd0ff1dcfc725c9894994e12fd239c2/regex-2019.02.03.tar.gz
Collecting six>=1.11.0 (from instapy)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied: configparser>=3.5.0 in ./Library/Python/2.7/lib/python/site-packages (from instapy) (3.5.0)
Collecting PyYAML>=3.13 (from instapy)
  Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz
Collecting MeaningCloud-python>=1.1.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/28/c6/deb6c9d113f94ec99116ec4017b333660ce54344734d29f0cb98fdf32945/MeaningCloud_python-1.1.1-py2.py3-none-any.whl
Collecting clarifai>=2.4.1 (from instapy)
  Using cached https://files.pythonhosted.org/packages/ca/aa/9153ee6afe041b4c4010170ebb862ee867e4431cb7ac9fae0392686e4f88/clarifai-2.5.2-py2-none-any.whl
Requirement already satisfied: enum34>=1.0.4 in ./Library/Python/2.7/lib/python/site-packages (from grpcio>=1.16.1->instapy) (1.1.6)
Requirement already satisfied: futures>=2.2.0 in ./Library/Python/2.7/lib/python/site-packages (from grpcio>=1.16.1->instapy) (3.2.0)
Collecting functools32; python_version == "2.7" (from jsonschema>=2.6.0->instapy)
  Using cached https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from protobuf>=3.6.1->instapy) (18.5)
Collecting googleapis-common-protos<2,>=1.5.0 (from clarifai>=2.4.1->instapy)
  Using cached https://files.pythonhosted.org/packages/61/29/1549f61917eadd11650e42b78b4afcfe9cb467157af4510ab8cb59535f14/googleapis-common-protos-1.5.6.tar.gz
Installing collected packages: six, grpcio, idna, urllib3, certifi, chardet, requests, EasyProcess, emoji, functools32, jsonschema, plyer, selenium, instapy-chromedriver, PyVirtualDisplay, future, protobuf, regex, PyYAML, MeaningCloud-python, googleapis-common-protos, clarifai, instapy
  Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
====================
There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues

You can also manually install InstaPy with this guide: https://github.com/timgrossmann/InstaPy

Sorry for the inconveniences
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]


Any suggestions?

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/easyprocess' Consider using the `--user` option or check the permissions.

Last login: Sat Jun 29 04:23:51 on ttys000
yanbos-MBP:~ yanbozhao$ /Users/yanbozhao/Desktop/instapy-quickstart-master/installation/MacOs/install.command ; exit;
/Users/yanbozhao/Desktop/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected
Python is installed

Pip is installed

Chrome is installed

Installing InstaPy...
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting instapy
Using cached https://files.pythonhosted.org/packages/13/38/4d893b103723416a204a2ac57d663a1e5eb34f1d194e059eaf693c796f01/instapy-0.5.2-py2.py3-none-any.whl
Requirement already satisfied: grpcio>=1.16.1 in /Library/Python/2.7/site-packages (from instapy) (1.21.1)
Requirement already satisfied: idna>=2.7 in /Library/Python/2.7/site-packages (from instapy) (2.8)
Requirement already satisfied: requests>=2.20.1 in /Library/Python/2.7/site-packages (from instapy) (2.22.0)
Collecting EasyProcess>=0.2.3 (from instapy)
Using cached https://files.pythonhosted.org/packages/fa/29/40040d1d64a224a5e44df9572794a66494618ffe5c77199214aeceedb8a7/EasyProcess-0.2.7-py2.py3-none-any.whl
Collecting instapy-chromedriver (from instapy)
Collecting emoji>=0.5.1 (from instapy)
Requirement already satisfied: certifi>=2018.10.15 in /Library/Python/2.7/site-packages (from instapy) (2019.6.16)
Requirement already satisfied: jsonschema>=2.6.0 in /Library/Python/2.7/site-packages (from instapy) (2.6.0)
Requirement already satisfied: chardet>=3.0.4 in /Library/Python/2.7/site-packages (from instapy) (3.0.4)
Collecting plyer>=1.3.1 (from instapy)
Collecting selenium>=3.141.0 (from instapy)
Using cached https://files.pythonhosted.org/packages/80/d6/4294f0b4bce4de0abf13e17190289f9d0613b0a44e5dd6a7f5ca98459853/selenium-3.141.0-py2.py3-none-any.whl
Requirement already satisfied: future>=0.17.1 in /Library/Python/2.7/site-packages (from instapy) (0.17.1)
Collecting PyVirtualDisplay>=0.2.1; sys_platform != "win32" (from instapy)
Using cached https://files.pythonhosted.org/packages/cf/ad/b15f252bfb0f1693ad3150b55a44a674f3cba711cacdbb9ae2f03f143d19/PyVirtualDisplay-0.2.4-py2.py3-none-any.whl
Collecting PyYAML>=3.13 (from instapy)
Collecting regex>=2018.11.22 (from instapy)
Requirement already satisfied: six>=1.11.0 in ./Library/Python/2.7/lib/python/site-packages (from instapy) (1.12.0)
Requirement already satisfied: urllib3>=1.24.1 in /Library/Python/2.7/site-packages (from instapy) (1.25.3)
Requirement already satisfied: configparser>=3.5.0 in ./Library/Python/2.7/lib/python/site-packages (from instapy) (3.7.4)
Requirement already satisfied: protobuf>=3.6.1 in /Library/Python/2.7/site-packages (from instapy) (3.8.0)
Collecting MeaningCloud-python>=1.1.1 (from instapy)
Using cached https://files.pythonhosted.org/packages/28/c6/deb6c9d113f94ec99116ec4017b333660ce54344734d29f0cb98fdf32945/MeaningCloud_python-1.1.1-py2.py3-none-any.whl
Requirement already satisfied: clarifai>=2.4.1 in /Library/Python/2.7/site-packages (from instapy) (2.6.1)
Requirement already satisfied: enum34>=1.0.4; python_version < "3.4" in /Library/Python/2.7/site-packages (from grpcio>=1.16.1->instapy) (1.1.6)
Requirement already satisfied: futures>=2.2.0; python_version < "3.2" in /Library/Python/2.7/site-packages (from grpcio>=1.16.1->instapy) (3.2.0)
Requirement already satisfied: functools32; python_version == "2.7" in /Library/Python/2.7/site-packages (from jsonschema>=2.6.0->instapy) (3.2.3.post2)
Requirement already satisfied: setuptools in /Library/Python/2.7/site-packages (from protobuf>=3.6.1->instapy) (41.0.1)
Requirement already satisfied: googleapis-common-protos<2,>=1.5.0 in /Library/Python/2.7/site-packages (from clarifai>=2.4.1->instapy) (1.6.0)
Requirement already satisfied: typing>=3.6 in /Library/Python/2.7/site-packages (from clarifai>=2.4.1->instapy) (3.7.4)
Installing collected packages: EasyProcess, instapy-chromedriver, emoji, plyer, selenium, PyVirtualDisplay, PyYAML, regex, MeaningCloud-python, instapy
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/easyprocess'
Consider using the --user option or check the permissions.

====================
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues

You can also manually install InstaPy with this guide: https://github.com/timgrossmann/InstaPy

Sorry for the inconveniences
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Error will installing

ERROR: Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 397, in _error_catcher
yield
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 479, in read
data = self._fp.read(amt)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 447, in read
n = self.readinto(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 491, in readinto
n = self.fp.readinto(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 188, in main
status = self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 345, in run
resolver.resolve(requirement_set)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve
self._resolve_one(requirement_set, req)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 307, in _get_abstract_dist_for
self.require_hashes
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 199, in prepare_linked_requirement
progress_bar=self.progress_bar
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1050, in unpack_url
progress_bar=progress_bar
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 910, in unpack_http_url
progress_bar)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 1138, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 847, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/hashes.py", line 75, in check_against_chunks
for chunk in chunks:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 815, in written_chunks
for chunk in chunks:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/ui.py", line 156, in iter
for x in it:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/download.py", line 804, in resp_read
decode_content=False):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 531, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 496, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 402, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.