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

Error installing xxtea on py 3.6+ #17

Closed
Lafko opened this issue Feb 26, 2018 · 2 comments
Closed

Error installing xxtea on py 3.6+ #17

Lafko opened this issue Feb 26, 2018 · 2 comments

Comments

@Lafko
Copy link

Lafko commented Feb 26, 2018

Installing collected packages: xxtea
Running setup.py install for xxtea ... error
Exception:
Traceback (most recent call last):
File "c:\python37\lib\site-packages\pip\compat_init_.py", line 73, in console_to_str
return s.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 31: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\python37\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\python37\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\python37\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\python37\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "c:\python37\lib\site-packages\pip\utils_init_.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "c:\python37\lib\site-packages\pip\compat_init_.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xad in position 31: invalid start byte

How to install?

@ifduyue
Copy link
Owner

ifduyue commented Feb 27, 2018

@Lafko I tried installing xxtea on Linux with Python 3.7.0b1, couldn't reproduce.
Will try again on a windows machine.

@Lafko
Copy link
Author

Lafko commented Feb 27, 2018

I found the solution to the problem, need to put pip 10+

@Lafko Lafko closed this as completed Feb 27, 2018
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

2 participants