instapy-quickstart icon indicating copy to clipboard operation
instapy-quickstart copied to clipboard

SyntaxError: invalid syntax

Open jt7777777 opened this issue 4 years ago • 4 comments

When I try to run script for installing bot i always get this error can somebody help please:

SyntaxError: invalid syntax There was a problem installing InstaPy, please copy the error message and create an issue here: https://github.com/InstaPy/instapy-quickstart/issues

Full logs:

Last login: Fri Jan 29 22:44:06 on ttys000

The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh. For more details, please visit https://support.apple.com/kb/HT208050. /Users/jakubtabak/Downloads/instapy-quickstart-master/installation/MacOs/install.command ; exit; MacBook-Pro-uzivatela-Jakub:~ jakubtabak$ /Users/jakubtabak/Downloads/instapy-quickstart-master/installation/MacOs/install.command ; exit; /Users/jakubtabak/Downloads/instapy-quickstart-master/installation/MacOs/install.command: line 3: [: !=: unary operator expected Python is installed

Pip is installed

Chrome is installed

Installing InstaPy... Traceback (most recent call last): File "/usr/local/bin/pip", line 11, in load_entry_point('pip==21.0', 'console_scripts', 'pip')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2843, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2434, in load return self.resolve() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2440, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Library/Python/2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax

Traceback (most recent call last): File "/usr/local/bin/pip", line 11, in load_entry_point('pip==21.0', 'console_scripts', 'pip')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2843, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2434, in load return self.resolve() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2440, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Library/Python/2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax 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.

[Proces dokonÄŤenĂ˝]

jt7777777 avatar Jan 29 '21 21:01 jt7777777

I also tried execute: pip install instapy but also get error:

Last login: Fri Jan 29 22:45:09 on ttys000

The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh. For more details, please visit https://support.apple.com/kb/HT208050. MacBook-Pro-uzivatela-Jakub:~ jakubtabak$ pip install instapy Traceback (most recent call last): File "/usr/local/bin/pip", line 11, in load_entry_point('pip==21.0', 'console_scripts', 'pip')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2843, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2434, in load return self.resolve() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2440, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/Library/Python/2.7/site-packages/pip-21.0-py2.7.egg/pip/_internal/cli/main.py", line 60 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax

jt7777777 avatar Jan 29 '21 21:01 jt7777777

do you have any update, how to solve this issue?

kotya341 avatar Feb 18 '21 21:02 kotya341

this issue is very annoying

jayjay992 avatar Dec 05 '21 22:12 jayjay992

Screen Shot 2021-12-05 at 4 56 36 PM


Screen Shot 2021-12-05 at 4 56 24 PM )

jayjay992 avatar Dec 05 '21 22:12 jayjay992