sagetex: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
sagetex: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
在Windows10,尝试执行以下命令时
"C:/Program Files/SageMath 9.1/runtime/bin/bash" -l "C:/Program Files/SageMath 9.1/runtime/opt/sagemath-9.1/sage" -c "os.chdir('C:\Users\Diaa\Desktop\Test'); load('testsagetex.sagetex.sage')"
我收到以下错误
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes
in position 2-3: truncated \UXXXXXXXX escape
this question 的答案无法帮助我解决问题。
那么,这里有什么错误或遗漏的地方,知道可以找到完整的输出 here。
您链接到的问题已得到解答。尝试 os.chdir(r'C:\Users\Diaa\Desktop\Test')
在Windows10,尝试执行以下命令时
"C:/Program Files/SageMath 9.1/runtime/bin/bash" -l "C:/Program Files/SageMath 9.1/runtime/opt/sagemath-9.1/sage" -c "os.chdir('C:\Users\Diaa\Desktop\Test'); load('testsagetex.sagetex.sage')"
我收到以下错误
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
this question 的答案无法帮助我解决问题。
那么,这里有什么错误或遗漏的地方,知道可以找到完整的输出 here。
您链接到的问题已得到解答。尝试 os.chdir(r'C:\Users\Diaa\Desktop\Test')