biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.85k stars 1.01k forks source link

Orange-canvas does not run #5395

Closed SpencerBowles closed 3 years ago

SpencerBowles commented 3 years ago

I have recently installed Orange3 on my computer (Windows 10), but it is unable to run.

I have installed it in a conda environment using the instructions on the orange3 README file. I get no errors during instalation but when I try to run the program using orange-canvas it gives the following error:

(orange3) C:\Users\sgkb1>orange-canvas Traceback (most recent call last): File "C:\Users\sgkb1\Anaconda3\envs\orange3\Scripts\orange-canvas-script.py", line 6, in from Orange.canvas.main import main File "C:\Users\sgkb1\Anaconda3\Lib\site-packages\Orange__init__.py", line 7, in raise ImportError("Compiled libraries cannot be found.\n" ImportError: Compiled libraries cannot be found. Try reinstalling the package with: pip install --no-binary Orange3

How can I resolve this issue?

Spencer

markotoplak commented 3 years ago

Thanks for the report. It seems to be something specific so we would need a complete install log for debugging. Could you remove your Anaconda installation and start anew, and then include the complete installation log (all your commands and outputs)? Thanks!

SpencerBowles commented 3 years ago

Ok I uninstalled and reinstalled orange3 in my orange3 environment and now get a new error: ImportError: cannot import name '_mklinit' from partially initialized module 'numpy' (most likely due to a circular import) (C:\Users\sgkb1\Anaconda3\Lib\site-packages\numpy__init__.py)

I have attached full anaconda prompt output as a text file.

Thank you, Spencer

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Marko @.> Sent: Friday, April 16, 2021 1:29 AM To: @.> Cc: Bowles, Spencermailto:SPENCER.BOWLES@CUANSCHUTZ.EDU; @.***> Subject: Re: [biolab/orange3] Orange-canvas does not run (#5395)

Thanks for the report. It seems to be something specific so we would need a complete install log for debugging. Could you remove your Anaconda installation and start anew, and then include the complete installation log (all your commands and outputs)? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3/issues/5395#issuecomment-820977527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATWJQLR6PT6HUTGE5KW7WJTTI7RM3ANCNFSM43AHG7CQ.

(base) C:\Users\sgkb1>conda activate orange3

(orange3) C:\Users\sgkb1>conda config --add channels conda-forge Warning: 'conda-forge' already in 'channels' list, moving to the top

(orange3) C:\Users\sgkb1>conda install orange3 Collecting package metadata (current_repodata.json): done Solving environment: - Warning: 2 possible package resolutions (only showing differing packages):

Package Plan

environment location: C:\Users\sgkb1\Anaconda3\envs\orange3

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
docutils-0.17.1            |   py38haa244fe_0         767 KB  conda-forge
------------------------------------------------------------
                                       Total:         767 KB

The following NEW packages will be INSTALLED:

anyqt conda-forge/noarch::anyqt-0.0.11-pyh9f0ad1d_0 baycomp conda-forge/noarch::baycomp-1.0.2-py_1 bottleneck conda-forge/win-64::bottleneck-1.3.2-py38h347fdf6_3 brotlipy conda-forge/win-64::brotlipy-0.7.0-py38h294d835_1001 cachecontrol conda-forge/noarch::cachecontrol-0.12.6-py_0 cffi conda-forge/win-64::cffi-1.14.5-py38hd8c33c5_0 chardet conda-forge/win-64::chardet-4.0.0-py38haa244fe_1 commonmark conda-forge/noarch::commonmark-0.9.1-py_0 cryptography conda-forge/win-64::cryptography-3.4.7-py38hd7da0ea_0 cycler conda-forge/noarch::cycler-0.10.0-py_2 decorator conda-forge/noarch::decorator-5.0.7-pyhd8ed1ab_0 dictdiffer conda-forge/noarch::dictdiffer-0.8.1-pyhd8ed1ab_0 docutils conda-forge/win-64::docutils-0.17.1-py38haa244fe_0 et_xmlfile conda-forge/noarch::et_xmlfile-1.0.1-py_1001 freetype conda-forge/win-64::freetype-2.10.4-h546665d_1 future conda-forge/win-64::future-0.18.2-py38haa244fe_3 h11 conda-forge/noarch::h11-0.12.0-pyhd8ed1ab_0 h2 conda-forge/win-64::h2-4.0.0-py38haa244fe_3 hpack conda-forge/noarch::hpack-4.0.0-pyh9f0ad1d_0 httpcore conda-forge/noarch::httpcore-0.12.3-pyhd8ed1ab_0 httpx conda-forge/noarch::httpx-0.17.1-pyhd8ed1ab_0 hyperframe conda-forge/noarch::hyperframe-6.0.0-pyh9f0ad1d_0 icu conda-forge/win-64::icu-68.1-h0e60522_0 idna conda-forge/noarch::idna-2.10-pyh9f0ad1d_0 importlib-metadata conda-forge/win-64::importlib-metadata-3.10.1-py38haa244fe_0 importlib_metadata conda-forge/noarch::importlib_metadata-3.10.1-hd8ed1ab_0 intel-openmp conda-forge/win-64::intel-openmp-2021.2.0-h57928b3_616 jdcal conda-forge/noarch::jdcal-1.4.1-py_0 joblib conda-forge/noarch::joblib-1.0.1-pyhd8ed1ab_0 jpeg conda-forge/win-64::jpeg-9d-h8ffe710_0 keyring conda-forge/win-64::keyring-23.0.1-py38haa244fe_0 keyrings.alt conda-forge/noarch::keyrings.alt-4.0.2-pyhd3deb0d_0 kiwisolver conda-forge/win-64::kiwisolver-1.3.1-py38hbd9d945_1 lcms2 conda-forge/win-64::lcms2-2.12-h2a16943_0 libblas conda-forge/win-64::libblas-3.9.0-8_mkl libcblas conda-forge/win-64::libcblas-3.9.0-8_mkl libclang conda-forge/win-64::libclang-11.1.0-default_h5c34c98_0 liblapack conda-forge/win-64::liblapack-3.9.0-8_mkl libpng conda-forge/win-64::libpng-1.6.37-h1d00b33_2 libtiff conda-forge/win-64::libtiff-4.2.0-hc10be44_0 lockfile conda-forge/noarch::lockfile-0.12.2-py_1 lz4-c conda-forge/win-64::lz4-c-1.9.3-h8ffe710_0 m2w64-gcc-libgfor~ conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6 m2w64-gcc-libs conda-forge/win-64::m2w64-gcc-libs-5.3.0-7 m2w64-gcc-libs-co~ conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7 m2w64-gmp conda-forge/win-64::m2w64-gmp-6.1.0-2 m2w64-libwinpthre~ conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2 matplotlib conda-forge/win-64::matplotlib-3.4.1-py38haa244fe_0 matplotlib-base conda-forge/win-64::matplotlib-base-3.4.1-py38heae8d8c_0 mkl conda-forge/win-64::mkl-2020.4-hb70f87d_311 msgpack-python conda-forge/win-64::msgpack-python-1.0.2-py38hbd9d945_1 msys2-conda-epoch conda-forge/win-64::msys2-conda-epoch-20160418-1 networkx conda-forge/noarch::networkx-2.3-py_0 numpy conda-forge/win-64::numpy-1.20.2-py38h09042cb_0 olefile conda-forge/noarch::olefile-0.46-pyh9f0ad1d_1 openjpeg conda-forge/win-64::openjpeg-2.4.0-h48faf41_0 openpyxl conda-forge/noarch::openpyxl-3.0.7-pyhd8ed1ab_0 opentsne conda-forge/win-64::opentsne-0.5.2-py38h2f20550_0 orange-canvas-core conda-forge/noarch::orange-canvas-core-0.1.19-pyhd8ed1ab_0 orange-widget-base conda-forge/noarch::orange-widget-base-4.12.0-pyhd8ed1ab_0 orange3 pkgs/main/win-64::orange3-3.26.0-py38ha925a31_0 pandas conda-forge/win-64::pandas-1.2.4-py38h60cbd38_0 pillow conda-forge/win-64::pillow-8.1.2-py38h9273828_1 pycparser conda-forge/noarch::pycparser-2.20-pyh9f0ad1d_2 pyopenssl conda-forge/noarch::pyopenssl-20.0.1-pyhd8ed1ab_0 pyparsing conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0 pyqt conda-forge/win-64::pyqt-5.12.3-py38haa244fe_7 pyqt-impl conda-forge/win-64::pyqt-impl-5.12.3-py38h885f38d_7 pyqt5-sip conda-forge/win-64::pyqt5-sip-4.19.18-py38h885f38d_7 pyqtchart conda-forge/win-64::pyqtchart-5.12-py38h885f38d_7 pyqtgraph conda-forge/noarch::pyqtgraph-0.12.1-pyhd8ed1ab_0 pyqtwebengine conda-forge/win-64::pyqtwebengine-5.12.1-py38h885f38d_7 pysocks conda-forge/win-64::pysocks-1.7.1-py38haa244fe_3 python-dateutil conda-forge/noarch::python-dateutil-2.8.1-py_0 python-louvain conda-forge/noarch::python-louvain-0.15-pyhd3deb0d_0 pytz conda-forge/noarch::pytz-2021.1-pyhd8ed1ab_0 pywin32-ctypes conda-forge/win-64::pywin32-ctypes-0.2.0-py38haa244fe_1003 pyyaml conda-forge/win-64::pyyaml-5.4.1-py38h294d835_0 qasync conda-forge/noarch::qasync-0.15.0-pyhd8ed1ab_0 qt conda-forge/win-64::qt-5.12.9-h5909a2a_4 requests conda-forge/noarch::requests-2.25.1-pyhd3deb0d_0 rfc3986 conda-forge/noarch::rfc3986-1.4.0-pyh9f0ad1d_0 scikit-learn conda-forge/win-64::scikit-learn-0.24.1-py38ha09990b_0 scipy conda-forge/win-64::scipy-1.6.2-py38he847743_0 serverfiles conda-forge/noarch::serverfiles-0.3.0-py_0 six conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0 sniffio conda-forge/win-64::sniffio-1.2.0-py38haa244fe_1 threadpoolctl conda-forge/noarch::threadpoolctl-2.1.0-pyh5ca1d4c_0 tk conda-forge/win-64::tk-8.6.10-h8ffe710_1 tornado conda-forge/win-64::tornado-6.1-py38h294d835_1 urllib3 conda-forge/noarch::urllib3-1.26.4-pyhd8ed1ab_0 win_inet_pton conda-forge/win-64::win_inet_pton-1.1.0-py38haa244fe_2 xlrd conda-forge/noarch::xlrd-2.0.1-pyhd8ed1ab_3 xlsxwriter conda-forge/noarch::xlsxwriter-1.3.9-pyhd8ed1ab_0 xz conda-forge/win-64::xz-5.2.5-h62dcd97_1 yaml conda-forge/win-64::yaml-0.2.5-he774522_0 zipp conda-forge/noarch::zipp-3.4.1-pyhd8ed1ab_0 zlib conda-forge/win-64::zlib-1.2.11-h62dcd97_1010 zstd conda-forge/win-64::zstd-1.4.9-h6255e5f_0

Proceed ([y]/n)?

Downloading and Extracting Packages docutils-0.17.1 | 767 KB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done

(orange3) C:\Users\sgkb1>orange-canvas Traceback (most recent call last): File "C:\Users\sgkb1\Anaconda3\envs\orange3\Scripts\orange-canvas-script.py", line 6, in from Orange.canvas.main import main File "C:\Users\sgkb1\Anaconda3\envs\orange3\lib\site-packages\Orange__init.py", line 4, in from Orange import data File "C:\Users\sgkb1\Anaconda3\envs\orange3\lib\site-packages\Orange\data\init.py", line 4, in from .variable import * File "C:\Users\sgkb1\Anaconda3\envs\orange3\lib\site-packages\Orange\data\variable.py", line 10, in import numpy as np File "C:\Users\sgkb1\Anaconda3\Lib\site-packages\numpy\init.py", line 140, in from . import _distributor_init File "C:\Users\sgkb1\Anaconda3\Lib\site-packages\numpy_distributor_init.py", line 34, in from . import _mklinit ImportError: cannot import name '_mklinit' from partially initialized module 'numpy' (most likely due to a circular import) (C:\Users\sgkb1\Anaconda3\Lib\site-packages\numpy\init__.py)

(orange3) C:\Users\sgkb1>

PrimozGodec commented 3 years ago

It is a strange error. It seems that numpy is not imported from your environment but it uses numpy from outside of the environment. What is the command you used to create your environment? Did you add any specific flag to the command?

janezd commented 3 years ago

Closed due to inactivity.