BotacsPro---Bot-Auto_Checkout-Flashsale-Shopee-Promo icon indicating copy to clipboard operation
BotacsPro---Bot-Auto_Checkout-Flashsale-Shopee-Promo copied to clipboard

pip OS error

Open Zerovictim opened this issue 4 years ago • 7 comments

kalau eror tidak bisa install pip OS bagaimana? python3 BotacsPro.py

Traceback (most recent call last): File "BotacsPro.py", line 8, in import pyautogui File "/home/korosensei/.local/lib/python3.8/site-packages/pyautogui/init.py", line 241, in import mouseinfo File "/home/korosensei/.local/lib/python3.8/site-packages/mouseinfo/init.py", line 223, in _display = Display(os.environ['DISPLAY']) File "/usr/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'DISPLAY'

Zerovictim avatar Nov 27 '20 14:11 Zerovictim

versi pythonnya udah sesuai gan?

yogawicak avatar Dec 07 '20 04:12 yogawicak

saya pakai yang versi terbaru dan ketika install pip os juga tidak bisa

Zerovictim avatar Dec 07 '20 22:12 Zerovictim

gan eror JIT debuging gimana cara ngatasinnya gan ?

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.`

ilham67-netizen avatar Dec 08 '20 14:12 ilham67-netizen

Salah nya dimana ini

python -V Python 3.9.0 u0_a170@localhost ~/s/d/t/B/s/BotacsPro> python BotacsPro.py Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/init.py", line 20, in init eng = _activeEngines[driverName] File "/data/data/com.termux/files/usr/lib/python3.9/weakref.py", line 134, in getitem o = self.datakey KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/storage/emulated/0/Download/tools/BotacsPro2/shopy/BotacsPro/BotacsPro.py", line 8, in mesin = pyttsx3.init() File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/init.py", line 22, in init eng = Engine(driverName, debug) File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/engine.py", line 30, in init self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug) File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/driver.py", line 50, in init self._module = importlib.import_module(name) File "/data/data/com.termux/files/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/drivers/espeak.py", line 9, in from . import _espeak, toUtf8, fromUtf8 File "/data/data/com.termux/files/usr/lib/python3.9/site-packages/pyttsx3/drivers/_espeak.py", line 18, in dll = cdll.LoadLibrary('libespeak.so.1') File "/data/data/com.termux/files/usr/lib/python3.9/ctypes/init.py", line 452, in LoadLibrary return self._dlltype(name) File "/data/data/com.termux/files/usr/lib/python3.9/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: dlopen failed: library "libespeak.so.1" not found

b0l3nk avatar Dec 08 '20 16:12 b0l3nk

Mungkin bisa dimodifikasi dependency nya sesuai dengan fungsionalitas repository, emit/remove dep pyttsx https://github.com/AnandaRauf/BotacsPro---Bot-Auto_Checkout-Flashsale-Shopee-Promo/blob/217a12d3dec1ce447536bd3feb76fa598cd28741/BotacsPro/BotacsPro.py#L1-L14

ii64 avatar Dec 11 '20 15:12 ii64

@Zerovictim https://stackoverflow.com/questions/21665914/installing-and-configuring-xvfb

kalau eror tidak bisa install pip OS bagaimana? python3 BotacsPro.py _display = Display(os.environ['DISPLAY']) File "/usr/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'DISPLAY'

ii64 avatar Dec 11 '20 15:12 ii64

@Zerovictim https://stackoverflow.com/questions/21665914/installing-and-configuring-xvfb

kalau eror tidak bisa install pip OS bagaimana? python3 BotacsPro.py _display = Display(os.environ['DISPLAY']) File "/usr/lib/python3.8/os.py", line 675, in getitem raise KeyError(key) from None KeyError: 'DISPLAY'

ini disuruh ngapain gapaham

AmigoSniper avatar Dec 13 '20 06:12 AmigoSniper