JustAnotherArchivist / snscrape

A social networking service scraper in Python
GNU General Public License v3.0
4.39k stars 702 forks source link

Installation error #179

Closed philose83 closed 3 years ago

philose83 commented 3 years ago

Hi! I am trying to install the development version but having an error below:

Collecting git+https://github.com/JustAnotherArchivist/snscrape.git Cloning https://github.com/JustAnotherArchivist/snscrape.git to /private/var/folders/qp/cht2sjw917b55xyn3mj0vvtw0000gp/T/pip-req-build-y_rju0mi ERROR: Command errored out with exit status 1: git clone -q https://github.com/JustAnotherArchivist/snscrape.git /private/var/folders/qp/cht2sjw917b55xyn3mj0vvtw0000gp/T/pip-req-build-y_rju0mi Check the logs for full command output.

Thanks!

JustAnotherArchivist commented 3 years ago

Check the logs for full command output.

Have you tried that? The part you posted doesn't provide any information why it failed, and it's working fine here.

philose83 commented 3 years ago

Yes, I executed "!pip install git+https://github.com/JustAnotherArchivist/snscrape.git" in Jupyter notebook and got the error (I followed "https://github.com/MartinBeckUT/TwitterScraper/blob/master/snscrape/python-wrapper/snscrape-python-wrapper.ipynb"). Is there a way to get more detail about the error?

The thing is I want to get "replycounts" but it seems it is only available for the development version. There was no problem with installing the basic version though.

JustAnotherArchivist commented 3 years ago

The path given in the error message (/private/var/folders/qp/cht2sjw917b55xyn3mj0vvtw0000gp/T/pip-req-build-y_rju0mi in your first message) should contain a log file, I believe.

philose83 commented 3 years ago

I checked the path, but couldn't find anything starting with "pip-req ..." This is weird. Is there another way to install the development version?

philose83 commented 3 years ago

Solved! I found that I need to install Git. After installing git, everything works great. Thanks!