I am trying to run some very basic python code which works perfectly under spyder, on the last version of Pycharm:
a = 2
print a
Here is the error message I get:
File "C:\Users\Fran�ois\Anaconda\lib\ntpath.py", line 84, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 11: ordinal not in range(128)
Process finished with exit code 1
As you see, Pycharm can not handle the fact that one of my folder is called "François" (french first name) and since my interpreter is in this folder, it launches an error.
My Pycharm python interpreter path is set to the following:
C:\Users\François\Anaconda\Python.exe
So how can I solve this problem without renaming any folder in my computer? I do not have access to move the interpreter to another location. I looked at the options but I couldn't figure it out.