pip2pi icon indicating copy to clipboard operation
pip2pi copied to clipboard

module 'cgi' has no attribute 'escape'

Open thickas opened this issue 5 years ago • 4 comments

windows + python 3.8.5

Error message:

c:\dir2pi . Traceback (most recent call last): File "e:\python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "e:\python38\lib\runpy.py", line 87, in run_code exec(code, run_globals) File "E:\Python38\Scripts\dir2pi.exe_main.py", line 7, in File "e:\python38\lib\site-packages\libpip2pi\commands.py", line 316, in dir2pi return _dir2pi(option, argv) File "e:\python38\lib\site-packages\libpip2pi\commands.py", line 388, in _dir2pi cgi.escape(pkg_dir_name), AttributeError: module 'cgi' has no attribute 'escape'

thickas avatar Sep 25 '20 00:09 thickas

same error

re0phimes avatar Oct 28 '20 08:10 re0phimes

same error

Chise1 avatar Nov 03 '20 04:11 Chise1

I have this too

AviVarma avatar Mar 23 '21 12:03 AviVarma

pip2pi v0.8.2 Latest @safiyat safiyat released this 04 Aug 2021 v0.8.2 https://github.com/wolever/pip2pi/commit/7dd84371221a38b9dc934e6ea386969356d4a5a7 Changed cgi.escape to html.escape. Works with Python 3.8+ now.

liaomingg avatar Oct 27 '22 03:10 liaomingg