donnemartin / gitsome

A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools
Other
7.56k stars 438 forks source link

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Bilal\AppData\Local\Temp\pip-build-0way1c0h\tweet-preprocessor\ #144

Closed bilalbutt044 closed 5 years ago

bilalbutt044 commented 6 years ago

i get this error when i run pip install text-preprocessor

C:\Users\Bilal>pip3 install tweet-preprocessor
Collecting tweet-preprocessor
  Using cached tweet-preprocessor-0.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Bilal\AppData\Local\Temp\pip-build-0way1c0h\tweet-preprocessor\setup.py", line 6, in <module>
        long_description = f.read()
      File "c:\python\python36-32\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 652: character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Bilal\AppData\Local\Temp\pip-build-0way1c0h\tweet-preprocessor\

What am I doing wrong? I am on window 10 python 3.6.2 pip version pip 9.0.1 from c:\python\python36-32\lib\site-packages (python 3.6)

birdsotter commented 6 years ago

I get the same error running Python 3.6.4 and pip 9.0.1 on Mac OSX.

There are various suggested solutions at https://github.com/donnemartin/gitsome/issues/4, but none of them work for me.

It appears from some other comments that gitsome may not work yet with Python 3.6.

roskoff commented 6 years ago

Indeed, gitsome does not currently support Python 3.6, check this comment for more info.

REPTILEHAUS commented 6 years ago

Hitting this issue too, would be great to see it resolved... otherwise I wont be using it

donnemartin commented 5 years ago

Hi all, check out https://github.com/donnemartin/gitsome/pull/160, gitsome now supports Python 3.7.

Uploaded to PyPI: https://pypi.org/project/gitsome/