Skip to content
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

Orange3 Text widgets don't show up #1055

Closed
BlankerHans opened this issue May 4, 2024 · 6 comments
Closed

Orange3 Text widgets don't show up #1055

BlankerHans opened this issue May 4, 2024 · 6 comments

Comments

@BlankerHans
Copy link

BlankerHans commented May 4, 2024

Describe the bug
The installation is succesful as there is no error message.

To Reproduce
Steps to reproduce the behavior:
Options -> Add-ons -> install text

Expected behavior
Widgets showing up. I installed different add-ons for example time series and the widgets show up on the left.

Orange version:
3.36.2

I am using orange in an anaconda environment.

Text add-on version:
1.15.0

Operating system:
Ubuntu 20.04

@BlankerHans
Copy link
Author

Also this is the error within the terminal:

python -m Orange.canvas
2024-05-05 15:24:52,164:ERROR:orangecanvas.registry.discovery: An ImportError occurred while loading entry point 'Text Mining = orangecontrib.text.widgets'
Traceback (most recent call last):
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/orangecanvas/registry/discovery.py", line 134, in run
point = entry_point.resolve()
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/pkg_resources/init.py", line 2488, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/orangecontrib/text/init.py", line 8, in
from .corpus import Corpus
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/orangecontrib/text/corpus.py", line 22, in
from gensim import corpora
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/gensim/init.py", line 11, in
from gensim import parsing, corpora, matutils, interfaces, models, similarities, utils # noqa:F401
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/gensim/corpora/init.py", line 6, in
from .indexedcorpus import IndexedCorpus # noqa:F401 must appear before the other classes
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/gensim/corpora/indexedcorpus.py", line 14, in
from gensim import interfaces, utils
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/gensim/interfaces.py", line 19, in
from gensim import utils, matutils
File "/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/gensim/matutils.py", line 20, in
from scipy.linalg import get_blas_funcs, triu
ImportError: cannot import name 'triu' from 'scipy.linalg' (/home/blankerhans/anaconda3/envs/orange3/lib/python3.10/site-packages/scipy/linalg/init.py)

@psychochemist
Copy link

I have identical issue. Same versions of Orange and add-on. Except I am on Ubuntu 22.04.

@psychochemist
Copy link

psychochemist commented May 7, 2024

@BlankerHans I have found the following workaround to be working for me https://stackoverflow.com/questions/78279136/importerror-cannot-import-name-triu-from-scipy-linalg-when-importing-gens. After i install this version of Scipy Orange loads the widgets successfully.

@BlankerHans
Copy link
Author

Your are king. This actually was the fix also for me. :D

@BlankerHans
Copy link
Author

pip install scipy==1.10.1

@markotoplak
Copy link
Member

Duplicete of #1055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants