Home > other >  There is an error pycharm extracted from PDF form
There is an error pycharm extracted from PDF form

Time:11-13

I edit the code as shown in figure, then appear the following error, I have updated the PIP and numpy, this is what happened, to solve the

Traceback (the most recent call last) :
PDF \ venv File "D: \ \ lib \ site - packages/numpy/core/set py", line 22, in & lt; module>
From the import multiarray
PDF \ venv File "D: \ \ lib \ site - packages \ numpy \ core \ multiarray py", line 12, the in & lt; module>
From the import overrides
PDF \ venv File "D: \ \ lib \ site - packages \ numpy \ core \ overrides py", line 7, in & lt; module>
The from numpy. Core. _multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: can't find the specified program,

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "D: \ PDF \ table. Py", line 7, in & lt; module>
The import camelot
PDF \ venv File "D: \ \ lib \ site - packages \ \ set camelot py", line 6, the in & lt; module>
From the IO import read_pdf
PDF \ venv File "D: \ \ lib \ site - packages \ \ IO camelot. Py", line 5, in & lt; module>
From the handlers import PDFHandler
PDF \ venv File "D: \ \ lib \ site - packages \ \ handlers camelot. Py", line 8, the in & lt; module>
From the core import TableList
PDF \ venv File "D: \ \ lib \ site - packages \ \ core camelot. Py", line 10, the in & lt; module>
The import numpy as np
PDF \ venv File "D: \ \ lib \ site - packages \ numpy \ set py", line 140, in & lt; module>
From the import core
PDF \ venv File "D: \ \ lib \ site - packages/numpy/core/set py", 48, the line in & lt; module>
Raise ImportError (MSG)
ImportError:

IMPORTANT: both PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C - extensions failed. This error can for
Things having that, due to issues with your setup or how NumPy was
Installed.

We have compiled some common having and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Both Please note and check the following:

* The Python version is: Python3.9 from "D: \ PDF \ venv \ Scripts \ Python exe"
* The NumPy version is: "1.19.4
"
And make sure that they are the versions you expect.
Both Please carefully study the documentation linked above for further help.

The Original error was: DLL load failed while importing _multiarray_umath: can't find the specified program,
  • Related