InstaPy / InstaPy/instapy-quickstart

Quickstart install.command error.

オープン
#51 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
777
フォーク
763
PR マージ指標
30日以内にマージされた PR はありません

説明

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]

```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

installation/MacOs/install.command から始め、macOS で報告された quickinstaller の実行を再現します。3 行目のシェルエラーと、その後の PyYAML のインストール失敗を調査し、インストーラーが処理すべき失敗がどちらなのかを判断します。レポートに示された依存関係のバージョンで quick installer が正常に完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, shell
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。