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

Docker image failed with OCTIS in requirement #100

Closed
srashtchi opened this issue Mar 15, 2023 · 7 comments
Closed

Docker image failed with OCTIS in requirement #100

srashtchi opened this issue Mar 15, 2023 · 7 comments

Comments

@srashtchi
Copy link

srashtchi commented Mar 15, 2023

  • OCTIS version:
  • Python version:
  • Operating System: MAC 13.2.1 (22D68)

Description

I am trying to containerised my app. OCTIS is in the list of my requirements. During building the docker image, I see installation of all the packages in requirements file except OCTIS!
The point is I can install OCTIS on any environment manually and it works fine but not in building image with Docker.
Below is the error :

 > [6/6] RUN pip install octis:                                                                                                                                                                                                                                                            
#11 0.634 Collecting octis                                                                                                                                                                                                                                                                 
#11 2.434   Downloading octis-1.11.1-py2.py3-none-any.whl (130 kB)                                                                                                                                                                                                                         
#11 3.051      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.8/130.8 kB 202.4 kB/s eta 0:00:00                                                                                                                                                                                                 
#11 3.067 Requirement already satisfied: matplotlib in /usr/local/lib/python3.9/site-packages (from octis) (3.7.1)                                                                                                                                                                         
#11 3.067 Requirement already satisfied: sentence-transformers in /usr/local/lib/python3.9/site-packages (from octis) (2.2.2)
#11 3.068 Requirement already satisfied: numpy>=1.19.1 in /usr/local/lib/python3.9/site-packages (from octis) (1.23.5)
#11 3.157 Collecting scikit-learn==0.24.2
#11 3.477   Downloading scikit_learn-0.24.2-cp39-cp39-manylinux2014_aarch64.whl (25.5 MB)
#11 7.661      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.5/25.5 MB 5.7 MB/s eta 0:00:00
#11 7.683 Requirement already satisfied: pandas in /usr/local/lib/python3.9/site-packages (from octis) (1.5.3)
#11 7.706 Collecting scikit-optimize>=0.8.1
#11 8.045   Downloading scikit_optimize-0.9.0-py2.py3-none-any.whl (100 kB)
#11 8.060      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.3/100.3 kB 9.9 MB/s eta 0:00:00
#11 8.064 Requirement already satisfied: flask in /usr/local/lib/python3.9/site-packages (from octis) (2.2.3)
#11 8.159 Collecting gensim==4.2.0
#11 8.562   Downloading gensim-4.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (24.0 MB)
#11 11.08      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.0/24.0 MB 7.5 MB/s eta 0:00:00
#11 11.10 Requirement already satisfied: nltk in /usr/local/lib/python3.9/site-packages (from octis) (3.8.1)
#11 11.10 Requirement already satisfied: torch in /usr/local/lib/python3.9/site-packages (from octis) (1.13.1)
#11 11.14 Collecting tomotopy
#11 11.46   Downloading tomotopy-0.12.4.tar.gz (1.3 MB)
#11 11.59      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 11.0 MB/s eta 0:00:00
#11 11.72   Preparing metadata (setup.py): started
#11 11.96   Preparing metadata (setup.py): finished with status 'done'
#11 12.08 Collecting spacy
#11 12.46   Downloading spacy-3.5.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.3 MB)
#11 13.18      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 8.8 MB/s eta 0:00:00
#11 13.20 Requirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (from octis) (2.28.2)
#11 13.21 Collecting libsvm
#11 13.58   Downloading libsvm-3.23.0.4.tar.gz (170 kB)
#11 13.59      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 170.6/170.6 kB 11.6 MB/s eta 0:00:00
#11 13.61   Preparing metadata (setup.py): started
#11 13.75   Preparing metadata (setup.py): finished with status 'done'
#11 13.76 Requirement already satisfied: scipy>=0.18.1 in /usr/local/lib/python3.9/site-packages (from gensim==4.2.0->octis) (1.10.1)
#11 13.78 Collecting smart-open>=1.8.1
#11 14.14   Downloading smart_open-6.3.0-py3-none-any.whl (56 kB)
#11 14.16      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.8/56.8 kB 3.8 MB/s eta 0:00:00
#11 14.19 Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.9/site-packages (from scikit-learn==0.24.2->octis) (3.1.0)
#11 14.19 Requirement already satisfied: joblib>=0.11 in /usr/local/lib/python3.9/site-packages (from scikit-learn==0.24.2->octis) (1.2.0)
#11 14.23 Collecting pyaml>=16.9
#11 14.60   Downloading pyaml-21.10.1-py2.py3-none-any.whl (24 kB)
#11 14.62 Requirement already satisfied: Jinja2>=3.0 in /usr/local/lib/python3.9/site-packages (from flask->octis) (3.1.2)
#11 14.62 Requirement already satisfied: Werkzeug>=2.2.2 in /usr/local/lib/python3.9/site-packages (from flask->octis) (2.2.3)
#11 14.62 Requirement already satisfied: click>=8.0 in /usr/local/lib/python3.9/site-packages (from flask->octis) (8.1.3)
#11 14.62 Requirement already satisfied: itsdangerous>=2.0 in /usr/local/lib/python3.9/site-packages (from flask->octis) (2.1.2)
#11 14.62 Requirement already satisfied: importlib-metadata>=3.6.0 in /usr/local/lib/python3.9/site-packages (from flask->octis) (6.0.0)
#11 14.63 Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (4.39.0)
#11 14.63 Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (2.8.2)
#11 14.63 Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (1.0.7)
#11 14.63 Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (3.0.9)
#11 14.64 Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (9.4.0)
#11 14.64 Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (23.0)
#11 14.64 Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (0.11.0)
#11 14.64 Requirement already satisfied: importlib-resources>=3.2.0 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (5.12.0)
#11 14.64 Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/site-packages (from matplotlib->octis) (1.4.4)
#11 14.65 Requirement already satisfied: tqdm in /usr/local/lib/python3.9/site-packages (from nltk->octis) (4.65.0)
#11 14.65 Requirement already satisfied: regex>=2021.8.3 in /usr/local/lib/python3.9/site-packages (from nltk->octis) (2022.10.31)
#11 14.66 Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.9/site-packages (from pandas->octis) (2022.7.1)
#11 14.66 Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests->octis) (1.26.15)
#11 14.66 Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests->octis) (2022.12.7)
#11 14.66 Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests->octis) (3.4)
#11 14.66 Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/site-packages (from requests->octis) (3.1.0)
#11 14.67 Requirement already satisfied: sentencepiece in /usr/local/lib/python3.9/site-packages (from sentence-transformers->octis) (0.1.97)
#11 14.67 Requirement already satisfied: huggingface-hub>=0.4.0 in /usr/local/lib/python3.9/site-packages (from sentence-transformers->octis) (0.13.2)
#11 14.67 Requirement already satisfied: transformers<5.0.0,>=4.6.0 in /usr/local/lib/python3.9/site-packages (from sentence-transformers->octis) (4.26.1)
#11 14.67 Requirement already satisfied: torchvision in /usr/local/lib/python3.9/site-packages (from sentence-transformers->octis) (0.14.1)
#11 14.67 Requirement already satisfied: typing-extensions in /usr/local/lib/python3.9/site-packages (from torch->octis) (4.5.0)
#11 14.74 Collecting cymem<2.1.0,>=2.0.2
#11 15.11   Downloading cymem-2.0.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33 kB)
#11 15.17 Collecting wasabi<1.2.0,>=0.9.1
#11 15.52   Downloading wasabi-1.1.1-py3-none-any.whl (27 kB)
#11 15.59 Collecting murmurhash<1.1.0,>=0.28.0
#11 15.90   Downloading murmurhash-1.0.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (20 kB)
#11 15.93 Collecting spacy-loggers<2.0.0,>=1.0.0
#11 16.25   Downloading spacy_loggers-1.0.4-py3-none-any.whl (11 kB)
#11 16.31 Collecting spacy-legacy<3.1.0,>=3.0.11
#11 16.62   Downloading spacy_legacy-3.0.12-py2.py3-none-any.whl (29 kB)
#11 16.67 Collecting catalogue<2.1.0,>=2.0.6
#11 17.06   Downloading catalogue-2.0.8-py3-none-any.whl (17 kB)
#11 17.12 Collecting pathy>=0.10.0
#11 17.43   Downloading pathy-0.10.1-py3-none-any.whl (48 kB)
#11 17.44      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 4.2 MB/s eta 0:00:00
#11 17.45 Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from spacy->octis) (58.1.0)
#11 17.49 Collecting typer<0.8.0,>=0.3.0
#11 17.80   Downloading typer-0.7.0-py3-none-any.whl (38 kB)
#11 17.94 Collecting pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4
#11 18.29   Downloading pydantic-1.10.6-py3-none-any.whl (156 kB)
#11 18.30      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.4/156.4 kB 24.9 MB/s eta 0:00:00
#11 18.45 Collecting thinc<8.2.0,>=8.1.8
#11 18.80   Downloading thinc-8.1.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (869 kB)
#11 18.85      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 869.8/869.8 kB 22.2 MB/s eta 0:00:00
#11 18.88 Collecting langcodes<4.0.0,>=3.2.0
#11 19.21   Downloading langcodes-3.3.0-py3-none-any.whl (181 kB)
#11 19.23      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.6/181.6 kB 15.5 MB/s eta 0:00:00
#11 19.30 Collecting srsly<3.0.0,>=2.4.3
#11 19.62   Downloading srsly-2.4.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (488 kB)
#11 19.66      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 488.5/488.5 kB 16.2 MB/s eta 0:00:00
#11 19.72 Collecting preshed<3.1.0,>=3.0.2
#11 20.13   Downloading preshed-3.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (122 kB)
#11 20.15      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.8/122.8 kB 9.5 MB/s eta 0:00:00
#11 20.23 Requirement already satisfied: filelock in /usr/local/lib/python3.9/site-packages (from huggingface-hub>=0.4.0->sentence-transformers->octis) (3.9.1)
#11 20.23 Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.9/site-packages (from huggingface-hub>=0.4.0->sentence-transformers->octis) (6.0)
#11 20.24 Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.9/site-packages (from importlib-metadata>=3.6.0->flask->octis) (3.15.0)
#11 20.27 Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.9/site-packages (from Jinja2>=3.0->flask->octis) (2.1.2)
#11 20.30 Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->octis) (1.16.0)
#11 20.41 Collecting blis<0.8.0,>=0.7.8
#11 20.76   Downloading blis-0.7.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB)
#11 20.90      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 12.6 MB/s eta 0:00:00
#11 20.94 Collecting confection<1.0.0,>=0.0.1
#11 21.36   Downloading confection-0.0.4-py3-none-any.whl (32 kB)
#11 21.58 Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.9/site-packages (from transformers<5.0.0,>=4.6.0->sentence-transformers->octis) (0.13.2)
#11 21.67 Building wheels for collected packages: libsvm, tomotopy
#11 21.67   Building wheel for libsvm (setup.py): started
#11 22.79   Building wheel for libsvm (setup.py): finished with status 'done'
#11 22.79   Created wheel for libsvm: filename=libsvm-3.23.0.4-cp39-cp39-linux_aarch64.whl size=253157 sha256=63a95258816251969ae54d95d507853e554001557217e00600ba76b6b4b839d3
#11 22.79   Stored in directory: /root/.cache/pip/wheels/c1/ce/25/0d50035499973fcbcc407fcb897d53e47b6eb4601308789aa6
#11 22.79   Building wheel for tomotopy (setup.py): started
#11 23.11   Building wheel for tomotopy (setup.py): finished with status 'error'
#11 23.12   error: subprocess-exited-with-error
#11 23.12   
#11 23.12   × python setup.py bdist_wheel did not run successfully.
#11 23.12   │ exit code: 1
#11 23.12   ╰─> [45 lines of output]
#11 23.12       running bdist_wheel
#11 23.12       running build
#11 23.12       running build_py
#11 23.12       creating build
#11 23.12       creating build/lib.linux-aarch64-3.9
#11 23.12       creating build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/_version.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/coherence.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/_summary.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/utils.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/label.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/__init__.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       running egg_info
#11 23.12       writing tomotopy.egg-info/PKG-INFO
#11 23.12       writing dependency_links to tomotopy.egg-info/dependency_links.txt
#11 23.12       writing requirements to tomotopy.egg-info/requires.txt
#11 23.12       writing top-level names to tomotopy.egg-info/top_level.txt
#11 23.12       reading manifest file 'tomotopy.egg-info/SOURCES.txt'
#11 23.12       reading manifest template 'MANIFEST.in'
#11 23.12       warning: no files found matching '*.c' under directory 'src'
#11 23.12       warning: no files found matching 'LICENSE.txt'
#11 23.12       adding license file 'LICENSE'
#11 23.12       writing manifest file 'tomotopy.egg-info/SOURCES.txt'
#11 23.12       copying tomotopy/auto_labeling_code.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/auto_labeling_code_with_porter.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/documentation.kr.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       copying tomotopy/documentation.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.12       running build_ext
#11 23.12       building '_tomotopy' extension
#11 23.12       creating build/temp.linux-aarch64-3.9
#11 23.12       creating build/temp.linux-aarch64-3.9/src
#11 23.12       creating build/temp.linux-aarch64-3.9/src/Labeling
#11 23.12       creating build/temp.linux-aarch64-3.9/src/TopicModel
#11 23.12       creating build/temp.linux-aarch64-3.9/src/python
#11 23.12       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMODULE_NAME=PyInit__tomotopy -Iinclude -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include/python3.9 -c src/Labeling/FoRelevance.cpp -o build/temp.linux-aarch64-3.9/src/Labeling/FoRelevance.o -std=c++1y -O3 -fpermissive -Wno-unused-variable -Wno-switch -march=native
#11 23.12       In file included from src/Labeling/../TopicModel/../Utils/Dictionary.h:9,
#11 23.12                        from src/Labeling/../TopicModel/TopicModel.hpp:5,
#11 23.12                        from src/Labeling/Labeler.h:4,
#11 23.12                        from src/Labeling/FoRelevance.h:4,
#11 23.12                        from src/Labeling/FoRelevance.cpp:4:
#11 23.12       src/Labeling/../TopicModel/../Utils/serializer.hpp:10:10: fatal error: Eigen/Dense: No such file or directory
#11 23.12          10 | #include <Eigen/Dense>
#11 23.12             |          ^~~~~~~~~~~~~
#11 23.12       compilation terminated.
#11 23.12       error: command '/usr/bin/gcc' failed with exit code 1
#11 23.12       [end of output]
#11 23.12   
#11 23.12   note: This error originates from a subprocess, and is likely not a problem with pip.
#11 23.12   ERROR: Failed building wheel for tomotopy
#11 23.12   Running setup.py clean for tomotopy
#11 23.28 Successfully built libsvm
#11 23.28 Failed to build tomotopy
#11 23.48 Installing collected packages: cymem, wasabi, typer, tomotopy, spacy-loggers, spacy-legacy, smart-open, pydantic, pyaml, murmurhash, libsvm, langcodes, catalogue, blis, srsly, scikit-learn, preshed, pathy, gensim, scikit-optimize, confection, thinc, spacy, octis
#11 23.52   Running setup.py install for tomotopy: started
#11 23.81   Running setup.py install for tomotopy: finished with status 'error'
#11 23.82   error: subprocess-exited-with-error
#11 23.82   
#11 23.82   × Running setup.py install for tomotopy did not run successfully.
#11 23.82   │ exit code: 1
#11 23.82   ╰─> [45 lines of output]
#11 23.82       running install
#11 23.82       running build
#11 23.82       running build_py
#11 23.82       creating build
#11 23.82       creating build/lib.linux-aarch64-3.9
#11 23.82       creating build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/_version.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/coherence.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/_summary.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/utils.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/label.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/__init__.py -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       running egg_info
#11 23.82       writing tomotopy.egg-info/PKG-INFO
#11 23.82       writing dependency_links to tomotopy.egg-info/dependency_links.txt
#11 23.82       writing requirements to tomotopy.egg-info/requires.txt
#11 23.82       writing top-level names to tomotopy.egg-info/top_level.txt
#11 23.82       reading manifest file 'tomotopy.egg-info/SOURCES.txt'
#11 23.82       reading manifest template 'MANIFEST.in'
#11 23.82       warning: no files found matching '*.c' under directory 'src'
#11 23.82       warning: no files found matching 'LICENSE.txt'
#11 23.82       adding license file 'LICENSE'
#11 23.82       writing manifest file 'tomotopy.egg-info/SOURCES.txt'
#11 23.82       copying tomotopy/auto_labeling_code.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/auto_labeling_code_with_porter.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/documentation.kr.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       copying tomotopy/documentation.rst -> build/lib.linux-aarch64-3.9/tomotopy
#11 23.82       running build_ext
#11 23.82       building '_tomotopy' extension
#11 23.82       creating build/temp.linux-aarch64-3.9
#11 23.82       creating build/temp.linux-aarch64-3.9/src
#11 23.82       creating build/temp.linux-aarch64-3.9/src/Labeling
#11 23.82       creating build/temp.linux-aarch64-3.9/src/TopicModel
#11 23.82       creating build/temp.linux-aarch64-3.9/src/python
#11 23.82       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMODULE_NAME=PyInit__tomotopy -Iinclude -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include/python3.9 -c src/Labeling/FoRelevance.cpp -o build/temp.linux-aarch64-3.9/src/Labeling/FoRelevance.o -std=c++1y -O3 -fpermissive -Wno-unused-variable -Wno-switch -march=native
#11 23.82       In file included from src/Labeling/../TopicModel/../Utils/Dictionary.h:9,
#11 23.82                        from src/Labeling/../TopicModel/TopicModel.hpp:5,
#11 23.82                        from src/Labeling/Labeler.h:4,
#11 23.82                        from src/Labeling/FoRelevance.h:4,
#11 23.82                        from src/Labeling/FoRelevance.cpp:4:
#11 23.82       src/Labeling/../TopicModel/../Utils/serializer.hpp:10:10: fatal error: Eigen/Dense: No such file or directory
#11 23.82          10 | #include <Eigen/Dense>
#11 23.82             |          ^~~~~~~~~~~~~
#11 23.82       compilation terminated.
#11 23.82       error: command '/usr/bin/gcc' failed with exit code 1
#11 23.82       [end of output]
#11 23.82   
#11 23.82   note: This error originates from a subprocess, and is likely not a problem with pip.
#11 23.82 error: legacy-install-failure
#11 23.82 
#11 23.82 × Encountered error while trying to install package.
#11 23.82 ╰─> tomotopy
#11 23.82 
#11 23.82 note: This is an issue with the package mentioned above, not pip.
#11 23.82 hint: See above for output from the failure.
@srashtchi
Copy link
Author

srashtchi commented Apr 11, 2023

Hi @silviatti
I would appreciate if you could get back to me on this as it stoped my work since last month.

@silviatti
Copy link
Collaborator

Hi @srashtchi, sorry for the late reply.

It seems something related to the installation of tomotopy. This dependency is not necessary for OCTIS, as you can use other topic models. I could create an installation for OCTIS that doesn't include it. I can do it in the weekend.

Otherwise, you can try to contact the creators of tomotopy here: https://github.com/bab2min/tomotopy.

Silvia

@srashtchi
Copy link
Author

Hi @silviatti
Many thanks for getting back to me on this. I really appreciate it if you could take care of it.

Shabnam

@srashtchi
Copy link
Author

@silviatti any luck on this? I really appreciate you get back to me on this issue.

@silviatti
Copy link
Collaborator

Hi @srashtchi , sorry for the late reply. I encountered a few issues, so I decided to create a separate branch (dev_no_tomotopy) and remove tomotopy dependencies from there. You can then try to install octis with this command:

pip install git+https://github.com/MIND-Lab/OCTIS@dev_no_tomotopy 

Hope this solves the problem.

@srashtchi
Copy link
Author

Hi @silviatti
Thanks a lot for your valuable time on this. I will test it and get back to you if there were any remaining issue.
Cheers
Shabnam

@srashtchi
Copy link
Author

Thanks @silviatti
The new changes resolve the issue for now.

Cheers

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

2 participants