New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orange-canvas cannot start due to numpy ImportError "DLL load failed" #2546
Comments
Can you run in that env: |
|
Nevermind. Likely this bug: numpy/numpy#9272. Try: conda install numpy
orange-canvas Else try to update Python to 3.6.2 beforehand. |
As 3.4.1 version doesn't have Orange3-text Add-on, |
@kernc |
It looks like the problem was solved by updating to latest python (which probably uses the latest numpy) and the problem went away. As numpy is used all around the code, I do not think we can do anything else in such cases. |
Orange version
orange3=3.4.5
Expected behavior
show the orange GUI
Actual behavior
Traceback (most recent call last):
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy\core_init_.py", line 16, in
from . import multiarray
ImportError: DLL load failed: 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Anaconda2\envs\orange\Scripts\orange-canvas-script.py", line 3, in
import Orange.canvas.main
File "E:\Anaconda2\envs\orange\lib\site-packages\Orange_init_.py", line 11, in
from .misc.lazy_module import LazyModule
File "E:\Anaconda2\envs\orange\lib\site-packages\Orange\misc_init.py", line 3, in
from .distmatrix import DistMatrix
File "E:\Anaconda2\envs\orange\lib\site-packages\Orange\misc\distmatrix.py", line 1, in
import numpy as np
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy_init_.py", line 142, in
from . import add_newdocs
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy\add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy\lib_init_.py", line 8, in
from .type_check import *
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy\lib\type_check.py", line 11, in
import numpy.core.numeric as nx
File "E:\Anaconda2\envs\orange\lib\site-packages\numpy\core_init.py", line 26, in
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try
git clean -xdf
(removes allfiles not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: 找不到指定的模块。
Steps to reproduce the behavior
conda create -n orange python=3.5.4
conda install -n orange orange3=3.4.5
activate orange
orange-canvas
Additional info (worksheets, data, screenshots, ...)
The text was updated successfully, but these errors were encountered: