(user㉿kali)-[~/OsintGram/Osintgram]
$ sudo python3 main.py
Traceback (most recent call last):
File "/home/us3r/OsintGram/Osintgram/main.py", line 3, in
from src.Osintgram import Osintgram
File "/home/us3r/OsintGram/Osintgram/src/Osintgram.py", line 13, in
from geopy.geocoders import Nominatim
File "/usr/local/lib/python3.9/dist-packages/geopy/init.py", line 12, in
from geopy.geocoders import * # noqa
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/init.py", line 223, in
from geopy.geocoders.algolia import AlgoliaPlaces
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/algolia.py", line 5, in
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/base.py", line 7, in
from geopy.adapters import (
File "/usr/local/lib/python3.9/dist-packages/geopy/adapters.py", line 55, in
import aiohttp
File "/usr/lib/python3/dist-packages/aiohttp/init.py", line 6, in
from .client import (
File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in
from . import hdrs, http, payload
File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in
from .http_parser import (
File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in
class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str
(user㉿kali)-[~/OsintGram/Osintgram] $ sudo python3 main.py Traceback (most recent call last): File "/home/us3r/OsintGram/Osintgram/main.py", line 3, in
from src.Osintgram import Osintgram
File "/home/us3r/OsintGram/Osintgram/src/Osintgram.py", line 13, in
from geopy.geocoders import Nominatim
File "/usr/local/lib/python3.9/dist-packages/geopy/init.py", line 12, in
from geopy.geocoders import * # noqa
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/init.py", line 223, in
from geopy.geocoders.algolia import AlgoliaPlaces
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/algolia.py", line 5, in
from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
File "/usr/local/lib/python3.9/dist-packages/geopy/geocoders/base.py", line 7, in
from geopy.adapters import (
File "/usr/local/lib/python3.9/dist-packages/geopy/adapters.py", line 55, in
import aiohttp
File "/usr/lib/python3/dist-packages/aiohttp/init.py", line 6, in
from .client import (
File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in
from . import hdrs, http, payload
File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in
from .http_parser import (
File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in
class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str