Import numpy throws error: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \uXXXX escape

前端 未结 3 1911
难免孤独
难免孤独 2020-12-16 23:42

I have installed pyzo and miniconda under Windows 10 and installed numpy and matplotlib using conda install.

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 00:31

    This is how it worked for me: double \ before and after users word.

    For example: \\users\\admin\anaconda3\sample.wav

    I am using python 3.6 on Windows 7

    Not sure why the post keeps only one \ after and before users word in the path

提交回复
热议问题