Drekin / win-unicode-console

A Python package to enable Unicode support when running Python from Windows console.
MIT License
103 stars 12 forks source link

Error installing package under Python2 #6

Closed thorstenkampe closed 9 years ago

thorstenkampe commented 9 years ago
thorsten@rednails[F:\...\script] tcc> pip2 install win-unicode-console
Collecting win-unicode-console
  Using cached win_unicode_console-0.3.1.zip
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "c:\users\thorsten\appdata\local\temp\pip-build-pcloii\win-unicode-console\setup.py", line 30, in <module>
        long_description=read(README),
      File "c:\users\thorsten\appdata\local\temp\pip-build-pcloii\win-unicode-console\setup.py", line 9, in read
        with open(path.join(HERE, *relative_path_parts), encoding=ENCODING) as f:
    TypeError: 'encoding' is an invalid keyword argument for this function
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "c:\users\thorsten\appdata\local\temp\pip-build-pcloii\win-unicode-console\setup.py", line 30, in <module>

        long_description=read(README),

      File "c:\users\thorsten\appdata\local\temp\pip-build-pcloii\win-unicode-console\setup.py", line 9, in read

        with open(path.join(HERE, *relative_path_parts), encoding=ENCODING) as f:

    TypeError: 'encoding' is an invalid keyword argument for this function

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in c:\users\thorsten\appdata\local\temp\pip-build-pcloii\win-unicode-console
Drekin commented 9 years ago

Python 2 is currently not supported, so there is no use in installing the package on Python 2. Maybe, an explicit note that Python 2 is not supported could be added. I'm merging this issue with #7.