whereami
whereami copied to clipboard
windows10,python2.7 error:UTF-16 surrogate
C:\Users\weizihan>whereami learn -l bed
0%| | 0/100 [00:00<?, ?it/s]
Traceback (most recent call last):
File "f:\python2\python2\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "f:\python2\python2\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "F:\python2\python2\Scripts\whereami.exe_main.py", line 9, in
How to fix this problem?Thanks!
I think there is a problem with the encoding. Would you have any idea what your encoding might be?
@kootenpv May be utf-8...But in your access_points_init_.py,it first checks utf-8 encoding and then goes to utf-16.So if it is utf-8,the error shouldn't come out.
I think that the error occurs in the utf16... so that means it is probably another encoding even. Maybe you could show the output of netsh wlan show networks mode=bssid
on windows