klar-EDA
klar-EDA copied to clipboard
Error while import
Indentation error on import PFA logs
>>>from klar_eda.preprocessing import preprocess_csv
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocessing.py", line 1, in <module>
from .preprocess.csv_preprocess import CSVPreProcess
File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocess/csv_preprocess.py", line 71
if ret == True:
^
IndentationError: unindent does not match any outer indentation level
>>> from klar_eda import visualization
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/visualization.py", line 1, in <module>
from .visualize.csv_visualize import CSVVisualize
File "/Users/harsha/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/visualize/csv_visualize.py", line 13, in <module>
from ..preprocess.csv_preprocess import CSVPreProcess
File "/Users/harshams/opt/anaconda3/envs/klar/lib/python3.7/site-packages/klar_eda/preprocess/csv_preprocess.py", line 71
if ret == True:
^
IndentationError: unindent does not match any outer indentation level
I want to contribute to this issue. Please assign me this task as a part of GSSoC'21
@harshasridhar Closing this issue, as identified to be an IDE error on the user side. Please feel free to reopen if the issue persists.
Hi @Ask149
I tried to install this on a docker container with no editors as such, and I'm still facing the issue.
I copy pasted the code to an online code formatter, and there as well I'm seeing the same issue
Can you please try running this command on your machine
python3 -m tabnanny csv_preprocess.py
'csv_preprocess.py': Indentation Error: unindent does not match any outer indentation level (
Please have a look at this jupyter notebook where I've replicated the issue