hide_my_python icon indicating copy to clipboard operation
hide_my_python copied to clipboard

'module' object has no attribute 'generate_proxy'

Open leadscloud opened this issue 10 years ago • 2 comments

Traceback (most recent call last): File "D:\workfiles\PythonScript\hide_my_python\hide_my_python.py", line 61, in main() File "D:\workfiles\PythonScript\hide_my_python\hide_my_python.py", line 46, in main for proxy in parser.generate_proxy(args): AttributeError: 'module' object has no attribute 'generate_proxy'

leadscloud avatar May 13 '14 09:05 leadscloud

Hmm that's weird. Can I have some more info, like your Windows and Python versions and the command you input to generate this error?

the-useless-one avatar May 13 '14 19:05 the-useless-one

because parser in builtin_module

>>> import sys
>>> print(sys.builtin_module_names)
('_ast', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_collections', '_csv', '_datetime', '_functools', '_heapq', '_imp', '_io', '_json', '_locale', '_lsprof', '_md5', '_multibytecodec', '_pickle', '_random', '_sha1', '_sha256', '_sha512', '_sre', '_string', '_struct', '_symtable', '_thread', '_warnings', '_weakref', '_winapi', 'array', 'atexit', 'audioop', 'binascii', 'builtins', 'cmath', 'errno', 'faulthandler', 'gc', 'itertools', 'marshal', 'math', 'mmap', 'msvcrt', 'nt', 'operator', 'parser', 'signal', 'sys', 'time', 'winreg', 'xxsubtype', 'zipimport', 'zlib')
>>> 

leadscloud avatar Jan 09 '15 11:01 leadscloud