Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabError: inconsistent use of tabs and spaces in indentation #9

Closed
maky-hnou opened this issue Apr 4, 2018 · 5 comments
Closed

TabError: inconsistent use of tabs and spaces in indentation #9

maky-hnou opened this issue Apr 4, 2018 · 5 comments

Comments

@maky-hnou
Copy link

After I installed waipy by following what was written in the readme file, I tried to import it but I got this error :

`$ python
Python 3.6.5 |Anaconda custom (64-bit)| (default, Mar 29 2018, 18:21:58)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import waipy
Traceback (most recent call last):
File "", line 1, in
File "/home/hani/anaconda3/lib/python3.6/site-packages/waipy/init.py", line 10, in
from .cwt.lib_wavelet import nextpow2
File "/home/hani/anaconda3/lib/python3.6/site-packages/waipy/cwt/lib_wavelet.py", line 48
"""CAUTION : default values"""
^
TabError: inconsistent use of tabs and spaces in indentation
`

hhhhh

Did anyone face the same problem?

@sleedsp
Copy link

sleedsp commented Apr 5, 2018

Yes I have the same problem.

@maky-hnou
Copy link
Author

@sillyturtle Have you any idea how to solve it?
I even tried to edit that file, but the error is still

@Lachlan00
Copy link

Hi, same issue here.

Running Python 3.6.2 :: Anaconda custom (64-bit) and waipy 0.0.9.0

@Lachlan00
Copy link

Lachlan00 commented Apr 9, 2018

Just had a look at the source code. For some reason the indentation for the wave_bases() function in lib_wavelet.py seems to be pretty chaotic. I think this is causing the issue.

UPDATE: Most of the scripts indentation is wrong for some reason in the current version. I've gone through and corrected these errors but now there are issues with calling modules between scripts. I'll update if I manage to fix this.

UPDATE2: Unable to fix additional errors. Need to wait for update from developers.

UPDATE3: Was using wrong version as advised by @mabelcalim. Apologies for the confusion.

@mabelcalim
Copy link
Owner

mabelcalim commented Apr 11, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants