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

snscrape: error: unrecognized arguments: --jsonl #77

Closed
rodolfopardo opened this issue Sep 24, 2020 · 4 comments
Closed

snscrape: error: unrecognized arguments: --jsonl #77

rodolfopardo opened this issue Sep 24, 2020 · 4 comments
Labels
invalid This doesn't seem right

Comments

@rodolfopardo
Copy link

This is my shell command?
Can i help me?

snscrape --jsonl twitter-user rodipardo_

Result:

snscrape: error: unrecognized arguments: --jsonl

@WhiteLin3s
Copy link

Hey,

guess you installed it from repository using pip. The "--jsonl"" flag seems to be present only in the newer version that is available on github. So either run

pip3 install --upgrade git+https://github.com/JustAnotherArchivist/snscrape@master

or

pip install --upgrade git+https://github.com/JustAnotherArchivist/snscrape@master

to get the newest version. Then your command should work as desired.

@rodolfopardo
Copy link
Author

Thanks so much! , but now i have other issue

snscrape --jsonl twitter-user rodipardo_

Result:

module 'functools' has no attribute 'cached_property'

@WhiteLin3s
Copy link

Hmm probably has sth. to do with your Python Version. The command as you specified it works with my setup using "Python 3.7.6". Probably try upgrading Python to the newest version beforehand.

@JustAnotherArchivist
Copy link
Owner

The newest version of snscrape requires Python 3.8, as listed in setup.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants