Open adcoding opened 3 months ago
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.
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.
Does it work outside the VMs?
Also try importing each dependency individually.
now I'm trying on windows 11. (python 3.12.2) and I have installed the dependencies individually.
I also get this error:
when I tried to run snscrape --help
, I got this error:
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.
Thank you for your help.