[Webkit-unassigned] [Bug 221099] Win32 Python3 fails to install pylint-0.25.2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 13:38:17 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221099

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Invoking "pip install pylint==0.25.2" reports the following error message.

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\0000134108\AppData\Local\Temp\pip-install-gppdhlm5\pylint\setup.py", line 187, in <module>
        install()
      File "C:\Users\0000134108\AppData\Local\Temp\pip-install-gppdhlm5\pylint\setup.py", line 170, in install
        return setup(name = distname,
      File "d:\work\tmp\ve\lib\site-packages\setuptools\__init__.py", line 165, in setup
        return distutils.core.setup(**attrs)
      File "C:\Python39\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\Python39\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "C:\Python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "d:\work\tmp\ve\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "C:\Python39\lib\distutils\command\install.py", line 546, in run
        self.run_command('build')
      File "C:\Python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Python39\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "C:\Python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\0000134108\AppData\Local\Temp\pip-install-gppdhlm5\pylint\setup.py", line 59, in run
        self.run_2to3(self.updated_files)
      File "C:\Python39\lib\distutils\util.py", line 559, in run_2to3
        return run_2to3(files, self.fixer_names, self.options, self.explicit)
      File "C:\Python39\lib\distutils\util.py", line 507, in run_2to3
        r.refactor(files, write=True)
      File "C:\Python39\lib\lib2to3\refactor.py", line 286, in refactor
        self.refactor_file(dir_or_file, write, doctests_only)
      File "C:\Python39\lib\lib2to3\refactor.py", line 326, in refactor_file
        input, encoding = self._read_python_source(filename)
      File "C:\Python39\lib\lib2to3\refactor.py", line 318, in _read_python_source
        encoding = tokenize.detect_encoding(f.readline)[0]
      File "C:\Python39\lib\lib2to3\pgen2\tokenize.py", line 298, in detect_encoding
        encoding = find_cookie(first)
      File "C:\Python39\lib\lib2to3\pgen2\tokenize.py", line 281, in find_cookie
        raise SyntaxError("unknown encoding: " + encoding)
    SyntaxError: unknown encoding: IBO-8859-1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210128/0b8e15a6/attachment.htm>


More information about the webkit-unassigned mailing list