-
Notifications
You must be signed in to change notification settings - Fork 254
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
TWARC Utilities #387
Comments
Which tutorial are you following? Do you have a link? for 1: I assume you intend to run https://github.com/DocNow/twarc/blob/main/utils/network.py ? In that case, it may be that the documentation isn't correct, the file name should be for 2: The
try running this
in the terminal instead. |
Thanks for the question @shamreeza and for responding @igorbrigadir! I think this issue really speaks to how twarc utilities would be better aligned as installable packages that could be invoked via a subcommand with twarc. We've been discussing this a bit for twarc2. If they were installable the dependencies and documentation could be managed better. The current approach to the utils directory as a kitchen sink was good for idea generation but has proven difficult to manage and use over time. |
Thanks for your response. I tried many times but problem is still there |
Shamreezas-MacBook-Air:Ms Higgins shamreezariaz$ pip3 install networks Please suggest if there is any error. I am not from this field and trying TWARC by using tutorial. https://scholarslab.github.io/learn-twarc/07-utilities-mac |
Thanks! That documentation definitely needs an update in that case. (For reference, this is the repo https://github.com/scholarslab/learn-twarc but i don't know who maintains it) Also,
should be
that would install the correct package, https://pypi.org/project/networkx/ |
Closing out some old issues: the solution for future is using plugins https://twarc-project.readthedocs.io/en/latest/plugins/ instead of the scripts. But to get older scripts in utils to run, the way to do it is to install the required packages manually. Unfortunately this is a bit of guesswork. Feel free to reopen / open a new issue if this comes up again. |
Hi while doing the TWARC tutorial, I have encounter following errors. Would appreciate any advice how to resolve. Thanks
1.
Shamreezas-MacBook-Air:#COVID19Vic shamreezariaz$ utils/d3_network.py tweets.jsonl tweet_graph.html
-bash: utils/d3_network.py: No such file or directory
2.
Shamreezas-MacBook-Air:#COVID19Vic shamreezariaz$ utils/wall.py tweets.jsonl > tweets.html
Traceback (most recent call last):
File "utils/wall.py", line 17, in
import requests
ImportError: No module named requests
The text was updated successfully, but these errors were encountered: