Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'cgi' has no attribute 'escape' #111

Open
thickas opened this issue Sep 25, 2020 · 4 comments
Open

module 'cgi' has no attribute 'escape' #111

thickas opened this issue Sep 25, 2020 · 4 comments

Comments

@thickas
Copy link

thickas commented Sep 25, 2020

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'

@re0phimes
Copy link

same error

1 similar comment
@Chise1
Copy link

Chise1 commented Nov 3, 2020

same error

@AviVarma
Copy link

I have this too

@liaomingg
Copy link

pip2pi v0.8.2 Latest
@safiyat safiyat released this 04 Aug 2021
v0.8.2
7dd8437
Changed cgi.escape to html.escape.
Works with Python 3.8+ now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants