我已经在Windows 10中安装了
我收到了以下错误信息:
pyzo
和miniconda
,并使用conda install
安装了numpy
和matplotlib
。但是当我尝试运行时,出现了以下错误。import numpy as np
import matplotlib.pyplot as plt
我收到了以下错误信息:
Traceback (most recent call last):
File "<tmp 1>", line 3, in <module>
import numpy
File "c:\users\jakub\miniconda3\lib\site-packages\numpy\__init__.py", line 165, in <module>
from numpy.__config__ import show as show_config
File "c:\users\jakub\miniconda3\lib\site-packages\numpy\__config__.py", line 5
lapack_mkl_info={'libraries': ['mkl_lapack95_lp64', 'mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['c:\users\jakub\miniconda3\\Library\\include'], 'library_dirs': ['c:\users\jakub\miniconda3\\Library\\lib']}
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \uXXXX escape
我在代码和目录结构中都没有使用任何非标准字符...我读过许多关于UTF-8类似问题的帖子,但这次情况不同,因为它发生在初始导入期间。