You are not logged in.

#1 2020-10-28 14:40:52

pauledd
Member
Registered: 2019-12-14
Posts: 42

No module named 'webencodings' but its installed [Solved]

Hi

An application needs the webencodings module.

If I do a

# python -c "from webencodings import ascii_lower"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'webencodings'

I get an error.

I checked if installed:

# pacman -Ss webencodings
community/python-webencodings 0.5.1-4 [Installiert]
    This is a Python implementation of the WHATWG Encoding standard.
community/python2-webencodings 0.5.1-4 [Installiert]
    This is a Python implementation of the WHATWG Encoding standard.

and they seem to be installed.

Whats the problem here?

Last edited by pauledd (2020-10-28 15:13:30)

Offline

#2 2020-10-28 15:13:08

pauledd
Member
Registered: 2019-12-14
Posts: 42

Re: No module named 'webencodings' but its installed [Solved]

Solved by reinstalling "python-webencodings".

The files were missing somehow...

Offline

#3 2020-10-28 15:20:24

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: No module named 'webencodings' but its installed [Solved]

Maybe you were working with pip as root? That would be a bad idea.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB