Open HYME60 opened 2 years ago
same errors
me to
Igualmente porque sera?
apparently in python 3.10, Callable is now part of collections.abc, so opening py3k_compat.py and replace collections.Callable
with collections.abc.Callable
should work
apparently in python 3.10, Callable is now part of collections.abc, so opening py3k_compat.py and replace
collections.Callable
withcollections.abc.Callable
should work
Hi there! I've done as you have written and when I run the command, nothing happens at all. What can be done in this case?
have you fixed it because same
Installing python 3.8 and installing all modules using pip3.8 fixes this problem for me..
Hi there! I've done as you have written and when I run the command, nothing happens at all. What can be done in this case?
Same
apparently in python 3.10, Callable is now part of collections.abc, so opening py3k_compat.py and replace collections.Callable with collections.abc.Callable should work
@TvSSorA
Changing Line 5 from
import collections
to
import collections.abc.Callable
gives the following error
Traceback (most recent call last):
File "C:\Users\bhati\Documents\GitHub\Osintgram\main.py", line 16, in <module>
import pyreadline
File "C:\Users\bhati\Documents\GitHub\Osintgram\venv\lib\site-packages\pyreadline\__init__.py", line 11, in <module>
from . import unicode_helper
File "C:\Users\bhati\Documents\GitHub\Osintgram\venv\lib\site-packages\pyreadline\unicode_helper.py", line 10, in <module>
from .py3k_compat import unicode, bytes
File "C:\Users\bhati\Documents\GitHub\Osintgram\venv\lib\site-packages\pyreadline\py3k_compat.py", line 5, in <module>
import collections.abc.Callable
ModuleNotFoundError: No module named 'collections.abc.Callable'; 'collections.abc' is not a package
Traceback (most recent call last): File "C:\Users-----\Desktop\Osintgram-master\main.py", line 102, in
pyreadline.Readline().parse_and_bind("tab: complete")
File "C:\Users-----\AppData\Local\Programs\Python\Python310\lib\site-packages\pyreadline\rlmain.py", line 422, in init
BaseReadline.init(self)
File "C:\Users-----\AppData\Local\Programs\Python\Python310\lib\site-packages\pyreadline\rlmain.py", line 62, in init
mode.init_editing_mode(None)
File "C:\Users-----\AppData\Local\Programs\Python\Python310\lib\site-packages\pyreadline\modes\emacs.py", line 633, in init_editing_mode
self._bind_key('space', self.self_insert)
File "C:\Users-----\AppData\Local\Programs\Python\Python310\lib\site-packages\pyreadline\modes\basemode.py", line 162, in _bind_key
if not callable(func):
File "C:\Users-----\AppData\Local\Programs\Python\Python310\lib\site-packages\pyreadline\py3k_compat.py", line 8, in callable
return isinstance(x, collections.Callable)
AttributeError: module 'collections' has no attribute 'Callable'
im using windows 10 my python is 3.10