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

How to use it on VM ParrotOS #1043

Open
adcoding opened this issue Mar 31, 2024 · 4 comments
Open

How to use it on VM ParrotOS #1043

adcoding opened this issue Mar 31, 2024 · 4 comments
Labels
question Further information is requested

Comments

@adcoding
Copy link

Hello!
I am new to this tool.
I've been trying to use this library but there no way I can make it work.

I set up a virtual machine with ParrotOS.
But all I can get is: Illegal instruction.

image

image

Thank you for your help.

@adcoding adcoding added the question Further information is requested label Mar 31, 2024
@JustAnotherArchivist
Copy link
Owner

This is the first time I hear of Parrot OS, so I'm afraid I have no idea what might be wrong there. snscrape itself is pure Python code though, and 'Illegal instruction' is something that would be caused by machine code. So I think the issue lies elsewhere. Given that you're able to run pip, Python seems to likely be fine. So I would guess that one of the other packages wasn't compiled for the correct CPU architecture or similar. As a starting point, perhaps try to import the dependencies of snscrape individually to see which one breaks.

@adcoding
Copy link
Author

adcoding commented Apr 3, 2024

Yeah I have tried to install the dependencies individually but I still get the same error.
I also tried on Ubuntu and it is the same so most likely is something related to the way I set up my virtual machine.
No clue tho.

@TheTechRobo
Copy link
Contributor

Does it work outside the VMs?

Also try importing each dependency individually.

@adcoding
Copy link
Author

adcoding commented Apr 4, 2024

now I'm trying on windows 11. (python 3.12.2)
and I have installed the dependencies individually.

image

I also get this error:
image

image

when I tried to run snscrape --help , I got this error:
Screenshot 2024-04-04 105040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants