srounet / Pymem

A python library for windows, providing the needed functions to start working on your own with memory editing.
MIT License
307 stars 44 forks source link

pm.inject_python_interpreter() UnicodeEncodeError #64

Closed Furkan125 closed 3 years ago

Furkan125 commented 3 years ago

Hi, i started reading docs today and i try this tutorial: https://pymem.readthedocs.io/en/latest/tutorials/inject_python_interpreter.html

and i got this error: pm.inject_python_interpreter() File "C:\Users...\Python39\lib\site-packages\pymem__init__.py", line 95, in inject_python_interpreter python_lib_h = pymem.process.inject_dll(self.process_handle, bytes(python_lib, 'ascii')) UnicodeEncodeError: 'ascii' codec can't encode character '\u015f' in position 18: ordinal not in range(128)

Furkan125 commented 3 years ago

Okay i fix this error but now i got another error