Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #47

Open
simsonzhao opened this issue Jun 28, 2019 · 4 comments

Comments

@simsonzhao
Copy link

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]

@simsonzhao
Copy link
Author

I got this problem when i install so i can't keep going now.
Could someone help me? Thanks.

@jmfibla
Copy link

jmfibla commented Jul 19, 2019

I got this problem too, please some help? Thanks.

@maroshod
Copy link

try running the code:

pip install instapy --user

@guigui739
Copy link

Hello,

I have the same problem as people upstair.

I just dowloaded the last version of Python for Mac ( 3.11.4). I am trying to install the " instapy QuickStart master" and I am getting the following message from my terminal.

Last login: Mon Jul 17 09:45:27 on ttys000
/Users/guillaumebenoit/Desktop/instapy-quickstart-master/installation/MacOs/install.command ; exit;
guillaumebenoit@MacBook-Pro-de-Guillaume ~ % /Users/guillaumebenoit/Desktop/instapy-quickstart-master/installation/MacOs/install.command ; exit;
/Users/guillaumebenoit/Desktop/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected
Please install the latest version of Python from https://www.python.org/downloads/

Sorry for the inconveniences

Installing pip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2544k 100 2544k 0 0 8061k 0 --:--:-- --:--:-- --:--:-- 8154k
Please insert your password in order to install pip
Password: ( small cadenas emoji )

Can someone help me? ``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants