I have an API in Python and when I run the unit tests I get these errors in the terminal of PyCharm:
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\ext\testbed\__init__.py", line 132, in <module>
from google.appengine.api.app_identity import app_identity_stub
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\api\app_identity\app_identity_stub.py", line 44, in <module>
from Crypto.PublicKey import RSA
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\PublicKey\RSA.py", line 78, in <module>
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\Random\__init__.py", line 28, in <module>
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\Random\OSRNG\__init__.py", line 34, in <module>
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\Random\OSRNG\nt.py", line 28, in <module>
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\Random\OSRNG\winrandom.py", line 7, in <module>
File "c:\temp\easy_install-38xi7l\pycrypto-2.6.1-py2.7-win-amd64.egg.tmp\Crypto\Random\OSRNG\winrandom.py", line 6, in __bootstrap__
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128)
There are no errors if it runs in Mac, only happens with Windows 10, I am using Python 2.7.
I would not like to modify it since the project is working well on PROD and in mac locally but I would like to make it work on my Windows machine.