Closed Rajmsr closed 2 years ago
Traceback (most recent call last): File "/root/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/root/Osintgram/src/Osintgram.py", line 13, in from geopy.geocoders import Nominatim
this is the problem im getting , can anybody please help me
Traceback (most recent call last): File "/root/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/root/Osintgram/src/Osintgram.py", line 13, in from geopy.geocoders import Nominatim
this is the problem im getting , can anybody please help me
go in requirments.txt file then change the geopy version from 2.0.0 to 2.2.0
👍
Traceback (most recent call last): File "/root/Osintgram/main.py", line 3, in
from src.Osintgram import Osintgram
File "/root/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 221, 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 53, 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