ImportError: No module named 'filters'
See original GitHub issueI just tried installing Commpy on my Macbook Pro (2015) using pip.
When I type import commpy
I get the following error message (Python 3.5) :
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 "/Users/Eric/Dropbox/Python TIPE/Bruit/test pillow"
Traceback (most recent call last):
File "/Users/User_name/path/file", line 1, in <module>
import commpy.channels
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/commpy/__init__.py", line 17, in <module>
from filters import *
ImportError: No module named 'filters'
Do anybody know how I can solve this issue ?
Thank you,
Eric
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
ImportError: No module named filters - python - Stack Overflow
The problem is resolved now :D. What I found is that there is no module named 'filters' in skimage '0.10.1' as it has...
Read more >No module named filters #188 - awslabs/aws-shell · GitHub
It may be a discrepancy between where python packages are located. I noticed the shell is installed to: /usr/local/lib/python2.7/dist-packages/ ...
Read more >scikit-image/scikit-image - Gitter
This placeholder module will be removed in v0.13. ... import skimage.filter.rank as rank ImportError: No module named 'skimage.filter.rank'.
Read more >questions about VCF filtering - Google Groups
I want to filter my VCF file according to the FILTER field (I keep when it's ... Do I have to filter this...
Read more >ImportError: No module named skimage - PyTorch Forums
Hi, I am new to pythorch and I am trying to use it with virtualenvironment and a jupyter notebook, but all the time...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The CommPy version installed via ‘pip3’ may still cause this error. It is version 0.3.0
The error is caused by implicit imports in
__init__.py
. The lines like:from filters import *
need to be updated to:from commpy.filters import *
This is fixed in the current master branch.It would be great if a new commpy version would be released which includes this fix.
Yes the workaround is known. You must use the version from github as the version on pip is outdated. With the github version,
rrcosfilter
is imported without error.Has you have some syntax errors, I could not test your code as a whole but it should work. If not, I could look more closely.
To @veeresht : it would be great to make a new realease on pip to avoid this kind of error