You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't manage to run the taskswitching program. All requirments were succesfully installed (I use windows 10). When I run Klibs run, I receive the following error :
C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\TaskSwitching>klibs run
File "C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\Scripts\klibs-script.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xe9' in file C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\Scripts\klibs-script.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
And when I open the klibs-script.py file, the following message appears :
the file's encoding is invalid for python 3.x.
IDLE will convert it to UTF-8.
what is the current encoding of the file?
Best regards,
Malek
The text was updated successfully, but these errors were encountered:
Hi Malek, can I ask how you installed klibs? I've installed it on dozens of Windows computers (and Macs) and have never seen this error before. I downloaded and ran the TaskSwitching task on a spare Windows computer and it ran right out of the box. There no such file as 'klibs-script.py' in a normal install so I think something's gone wrong on your end.
For working with Python on Windows, I highly recommend using pyenv-win since it lets you install and use multiple versions without conflicts, and also seems to avoid a lot of other weirdness with Python on Windows. It could also be a bizarre issue with international versions of Windows (I see the French username), but that seems unlikely to me.
Hi Hurst,
Many thanks for your response. The problem is with the username (invité).
I created a new session on the computer using simple lettre (without é) and it worked.
Hello,
I didn't manage to run the taskswitching program. All requirments were succesfully installed (I use windows 10). When I run Klibs run, I receive the following error :
C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\TaskSwitching>klibs run
File "C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\Scripts\klibs-script.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xe9' in file C:\Users\utilisateur_invité\AppData\Local\Programs\Python\Python37\Scripts\klibs-script.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
And when I open the klibs-script.py file, the following message appears :
the file's encoding is invalid for python 3.x.
IDLE will convert it to UTF-8.
what is the current encoding of the file?
Best regards,
Malek
The text was updated successfully, but these errors were encountered: