
Maybe another __init__.py
in the src folder too

but i already put __init__.py
in src

Sorry I meant the url gen folder

locally still the same error

I wonder if that space in the folder name is giving it problems 🧐

let me try without space then



now the folder name is urlGen_S4


i'm trying to do this way but still shows error

this is when i did same locally (using sntwitter part)

Why can't you install this using requirements.txt?


pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git

No...not with git

currently this is dev version of the package that works

so when put git+https://github.com/JustAnotherArchivist/snscrape.git
in requirements.txt it's shows build error

No, install it normally like any other pypi package

normally i just put snscrape in requirements.txt but the current version of this package shows some error so the developer suggested to use this git+https://github.com/JustAnotherArchivist/snscrape.git

@Steven it finally imported it


i meant to do this:

output

ok...i know why the relative import didn't work now. the stacktrace is:
Traceback (most recent call last):
File "/usr/local/src/userlib/src/index.py", line 8, in main
from .snscrape.modules import twitter as sntwitter
File "/usr/local/src/userlib/src/snscrape/modules/__init__.py", line 17, in <module>
_import_modules()
File "/usr/local/src/userlib/src/snscrape/modules/__init__.py", line 13, in _import_modules
module = importer.find_module(moduleName).load_module(moduleName)
File "/usr/local/src/userlib/src/snscrape/modules/facebook.py", line 10, in <module>
import snscrape.base
They try to find the module from the global scope, which won't show up
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
