InstaPy / InstaPy/instapy-quickstart

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.

Đang mở
#53 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
777
Fork
763
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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]

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with installation/MacOs/install.command and reproduce the reported macOS installation failure. Inspect the line 3 shell error, the pip invocation, and the PyYAML permission and jsonschema conflict shown in the output. Done means the installer completes without the reported installation error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.