从tgym.gens.csvstream导入CSVStreamer:导入缩进中的标签和空格使用不一致

2024-05-02 17:00:54 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试导入,但出现错误:

代码: from tgym.gens.csvstream import CSVStreamer

错误:

Traceback (most recent call last):

File "/Applications/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3325, in run_code exec(code_obj, self.user_global_ns, self.user_ns)

File "", line 1, in from tgym.gens.csvstream import CSVStreamer

File "./dqMM/tgym/gens/init.py", line 3, in from tgym.gens.random import *

File "./dqMM/tgym/gens/random.py", line 53 val = np.maximum(val, eps) ^ TabError: inconsistent use of tabs and spaces in indentation

我怎样才能解决它


Tags: infrompyimportself错误linecode