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

unsupported pickle protocol: 3 InstaPy ended #67

Open
ferrufin0 opened this issue Jun 5, 2018 · 1 comment
Open

unsupported pickle protocol: 3 InstaPy ended #67

ferrufin0 opened this issue Jun 5, 2018 · 1 comment

Comments

@ferrufin0
Copy link

ferrufin0 commented Jun 5, 2018

need help here please

Error: INFO [2018-06-04 22:44:34] [jorgeferrufino] Session started - 2018-06-04 22:44:34 Traceback (most recent call last): File "quickstart.py", line 5, in <module> session.login() File "/Users/user/Downloads/InstaPy/instapy/instapy.py", line 322, in login self.bypass_suspicious_attempt): File "/Users/user/Downloads/InstaPy/instapy/login_util.py", line 107, in login_user .format(logfolder,username), 'rb')): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1378, in load return Unpickler(file).load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load dispatch[key](self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 886, in load_proto raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3

@KevinKeo
Copy link

KevinKeo commented Sep 4, 2018

Hello,
So here's how you solve this problem
I think you are launching the quickstart with python 2.x
(to check it just type python and you will see the vestion)
So either you use python3 quickstart.py
Or you can use alias python=python3
and then use python quickstart.py

If you encounter some import problem, you can also try pip3 install .
or pip3 install "MODULE_NAME"

;)

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

2 participants