convolution cannot be imported
See original GitHub issue✔ ~/munka/devel/astropy [hacking|✚ 1⚑ 14] $ python -c "from astropy import convolution"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/bsipocz/munka/devel/astropy/astropy/convolution/__init__.py", line 10, in <module>
from .convolve import convolve, convolve_fft, interpolate_replace_nans, convolve_models
File "/Users/bsipocz/munka/devel/astropy/astropy/convolution/convolve.py", line 28, in <module>
lib_path = glob.glob(os.path.join(os.path.dirname(__file__), 'lib_convolve*'))[0]
IndexError: list index out of range
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
python - keras - cannot import name Conv2D - Stack Overflow
Try this: from keras.layers.convolutional import Conv2D. Importing changed with the new keras. Are you sure you are not using keras >= 2?
Read more >tf.keras.layers.DepthwiseConv2D | TensorFlow v2.11.0
Depthwise convolution is a type of convolution in which each input channel is convolved with a different kernel (called a depthwise kernel).
Read more >scipy.signal.convolve2d — SciPy v1.9.3 Manual
Compute the gradient of an image by 2D convolution with a complex Scharr operator. (Horizontal operator is real, vertical is imaginary.) ...
Read more >Nengo convolution error - General Discussion
Hi all, I tried to run the Convolutional Networks example in the NengoLoihi and this error is ... ImportError: cannot import name 'multiply'....
Read more >VPI - Vision Programming Interface: 2D Image Convolution
The 2D Image Convolution application outputs an image with the edges ... 94 // We can't use cv::IMREAD_GRAYSCALE when opening the input file ......
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
This is due to the refactoring of the convolution code. I think we should just remove the call to faulthandler, it’s not actually needed for the convolution code. And I agree that we should basically make sure the error message when importing for the source tree is the same as for other extensions. I’ll open a PR.
lib_convolve.py
is also produced on windows via./setup install
.