Closed hizawye closed 2 years ago
I found out that the problem is with installing "gnureadline" library . So when it's not installed the script will that the platform is running on it's windows because of this lines of code in the main.py script
is_windows = False
try: import gnureadline except: is_windows = True import pyreadline
Hello even me I m getting the same problem for termux can anyone help me Traceback (most recent call last):
File "/data/data/com.termux/files/home/Osintgram/main.py", line 3, in
can someone help me plzz
Hello even me I m getting the same problem for termux can anyone help me Traceback (most recent call last): File "/data/data/com.termux/files/home/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/data/data/com.termux/files/home/Osintgram/src/Osintgram.py", line 13, in from geopy.geocoders import Nominatim ModuleNotFoundError: No module named _ 'geopy'
can someone help me plzz
Just type : pip install geopy
(I typed this using termux and it worked) Hope this helps. :)
Same plz help
I have the same problem can someone please help
I found out that the problem is with installing "gnureadline" library . So when it's not installed the script will that the platform is running on it's windows because of this lines of code in the main.py script
is_windows = False
try: import gnureadline except: is_windows = True import pyreadline
So how do I fix that
How to fix Failed to build gnureadline ERROR: Could not build wheels for gnureadline, which is required to install pyproject.toml-based projects
there is libraries specified just for windows , and that's okay if you are using Linux but in my case I'm using Android so I have problem with that because if there is not there is the library I can just install it easily but when when I run the script there is a problem I'm using termux it's supposed to be like an emulator for Linux :
import pyreadline File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyreadline/init.py", line 12, in
from . import logger, clipboard, lineeditor, modes, console
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyreadline/clipboard/init.py", line 13, in
from .win32_clipboard import GetClipboardText, SetClipboardText
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyreadline/clipboard/win32_clipboard.py", line 39, in
from pyreadline.keysyms.winconstants import CF_UNICODETEXT, GHND
File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyreadline/keysyms/init.py", line 23, in
raise ImportError("Could not import keysym for local pythonversion", x)
NameError: name 'x' is not defined