iw_parse icon indicating copy to clipboard operation
iw_parse copied to clipboard

Import error!!

Open kabir1995 opened this issue 6 years ago • 5 comments

ImportError: No module named 'iw_parse' iw_parse cannot use in python 3.x now. Please do something. Although I already installed the module.



2019-03-24-024734_1920x1080_scrot 2019-03-24-024041_1920x1080_scrot

2019-03-24-023612_1920x1080_scrot (1)

kabir1995 avatar Mar 25 '19 16:03 kabir1995

I'm seeing this in both python2.7 and 3. Using either the default pi user or sudo.

Also tried pip uninstall for all versions. Still won't import.

tBaxter avatar Mar 21 '20 22:03 tBaxter

Temporary workaround is to install the older version: pip install iw_parse==0.0.2

Judging by the related #10 issue, it appears to be in the setup.py packaging script, maybe?

tBaxter avatar Mar 21 '20 22:03 tBaxter

Doesn't work on Debian. pip install iw_parse seems to install the metadata, but not the module itself.

pcercuei avatar Aug 31 '20 15:08 pcercuei

0.0.2 is very behind too. I ended up coping the script into my repo (not great). I also notice that you will need to decode the bytes into string (small change to make)

guillaumeguy avatar Feb 21 '21 14:02 guillaumeguy

#12 Fixes this issue, Python is not my first language but I believe Python 3 changed the way pip3 installs programs, so I updated the repo to support these changes. Just need these changed approves so they can get uploaded to pip by maintainer.

MrMusic25 avatar Apr 27 '21 00:04 MrMusic25