Linked Questions
21 questions linked to/from ImportError: numpy.core.multiarray failed to import
-1
votes
1
answer
105
views
How do I remove ImportError [duplicate]
I constructed a code for downloading dataset using Bing API. When I ran it on terminal, it returns following error:
ImportError: numpy.core.multiarray failed to import
Traceback (most recent call ...
19
votes
7
answers
44k
views
Importing opencv and getting numpy.core.multiarray failed to import
Trying to install OpenCV and running into an issue where attempting to import cv2 results in this output -
RuntimeError: module compiled against API version 9 but this version of numpy is 7
...
20
votes
1
answer
3k
views
Anaconda/Python site-packages subfolders with tilde in name - what are they?
Today, I went to change the config of matplotlib. Searching matplotlibrc revealed I have two of them:
Looking at the site-packages folder, I found a lot of packages have a tilde in their name:
~klearn ...
1
vote
1
answer
9k
views
ImportError: numpy.core.multiarray failed to import in Google Colab
i want to import some libraries below to load train model from checkpoint:
import os
import tensorflow as tf
from object_detection.utils import label_map_util
from object_detection.utils import ...
4
votes
4
answers
9k
views
How to resolve this error of "Cannot find reference 'imread' in '__init__.py" in python after installing opencv?
I am new to python and installed opencv by typing: pip install opencv-contrib-python in the command prompt.
Below I have shown a very simple example of reading in an image and showing it on the screen:...
1
vote
2
answers
5k
views
Issue packaging with Pyinstaller
To all the experts - we have been developing an application that contains following modules:
opencv
numpy
pandas
stomp
nltk
bs4
PIL
requests
and a few others those are not part of pythons standard ...
0
votes
1
answer
3k
views
DAT file in python
I have a problem with .dat files in Python: I can not encode it. I have tried UTF-8, ASCII and many more.
import re
with open("mixture1.dat",'r', encoding="ascii", errors="...
1
vote
1
answer
3k
views
ImportError: numpy.core.multiarray failed to import & can't read cv.imread()
I am trying to run this code:
import cv2
img=cv2.imread("1.jpg")
cv2.imshow("image",img)
cv2.waitkey(0)
cv2.destroyAllWindows()
The problem I keep getting is this error report:
...
2
votes
1
answer
3k
views
pip uninstall does not remove package fully
Long story short, numpy gave me error when I was importing matplotlib, so I wanted to pip uninstall numpy and reinstall it. but failed to fully uninstall numpy.
RuntimeError ...
1
vote
1
answer
1k
views
ImportError: numpy.core.multiarray failed to import GDAL
This question is already on StackOverflow (ImportError: numpy.core.multiarray failed to import) but no Answer helped.
I did install GDAL: GDAL-3.4.2-cp37-cp37m-win_amd64.whl and numpy: numpy-1.21.6+...
1
vote
0
answers
1k
views
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9 from import cv2
Numpy version- 1.9.2
opencv - 2.14.13
python - 2.7.5
Windows 8.1
These are the updated versions installed but still the error continues.
>>> import cv2
RuntimeError: module compiled ...
0
votes
2
answers
965
views
Tensorflow Object Detection API - ImportError when I try to run model_builder_test.py
I am creating a custom object detection model using Tensor Object detection API. I installed everything as mentioned in this notebook and following the same steps as mentioned in this notebook but ...
3
votes
0
answers
930
views
Blender's issue: No module multiarray found in numpy.core module [Python3.7]
Versions: OS Ubuntu 18.04.6 LTS, Blender 2.92, Default Python version of machine 3.7.6 Anaconda, Blender's python interpreter 3.7.7, BlenderGIS 2.2.8/2.2.5
First of all I want to install an add-ons in ...
0
votes
2
answers
669
views
Can't use tensorflow because of Numpy Error
I'm running Mac OS X Yosemite - 10.10.5, I am trying to run tensorflow in Python 2.7.10. When I try to import tensorflow I get this error, I believe it is caused because Numpy is not updated:
$ ...
0
votes
1
answer
511
views
I am getting the following import error, although I have numpy installed
When I tried to run dataloader.py I got the following import error.
I tried the code line by line and I found this error came while importing tensorlayer as t1.
$C:\Users\chinm\Desktop\Malta\Project\...