GuidedLDA
GuidedLDA copied to clipboard
Won't install in python3.9
I have been trying to install it using python3.9 for a day with no success here are the last command I tired
RUN python3.9 -m pip install --upgrade pip
RUN python3.9 -m pip install --upgrade distlib
RUN python3.9 -m pip install --upgrade setuptools
RUN python3.9 -m pip install Cython
RUN python3.9 -m pip install numpy
RUN python3.9 -m pip install wheel
RUN python3.9 -m pip install guidedlda
here is the error I am getting, please make it work in python3.9 I really need it!
#26 0.823 Downloading guidedlda-2.0.0.dev22.tar.gz (2.1 MB)
#26 0.985 Preparing metadata (setup.py): started
#26 2.343 Preparing metadata (setup.py): finished with status 'done'
#26 2.348 Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from guidedlda) (1.21.4)
#26 2.351 Building wheels for collected packages: guidedlda
#26 2.352 Building wheel for guidedlda (setup.py): started
#26 3.171 Building wheel for guidedlda (setup.py): finished with status 'error'
#26 3.171 ERROR: Command errored out with exit status 1:
#26 3.171 command: /usr/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-a4w4v0zh
#26 3.171 cwd: /tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/
#26 3.171 Complete output (284 lines):
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.sdist_pre_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.sdist_pre_hook' instead
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires.
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
#26 3.171 warnings.warn(
#26 3.171 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.sdist_pre_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.sdist_pre_hook' instead
#26 3.171 warnings.warn(
#26 3.171 running bdist_wheel
#26 3.171 running build
#26 3.171 running build_py
#26 3.171 creating build
#26 3.171 creating build/lib.linux-x86_64-3.9
#26 3.171 creating build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 creating build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/__init__.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_lda_reuters.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_lda_transform.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_utils.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_datasets.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_lda.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_lda_sparse.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/test_guidedlda_nyt.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/__init__.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/_setup_hooks.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/datasets.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/utils.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/guidedlda.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 running egg_info
#26 3.171 writing guidedlda.egg-info/PKG-INFO
#26 3.171 writing dependency_links to guidedlda.egg-info/dependency_links.txt
#26 3.171 writing requirements to guidedlda.egg-info/requires.txt
#26 3.171 writing top-level names to guidedlda.egg-info/top_level.txt
#26 3.171 [pbr] Reusing existing SOURCES.txt
#26 3.171 copying guidedlda/tests/nyt.ldac -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/nyt.titles -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/nyt.tokens -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/reuters.ldac -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/reuters.titles -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/tests/reuters.tokens -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 3.171 copying guidedlda/_guidedlda.c -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/_guidedlda.pyx -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/gamma.c -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 copying guidedlda/gamma.h -> build/lib.linux-x86_64-3.9/guidedlda
#26 3.171 running build_ext
#26 3.171 building 'guidedlda._guidedlda' extension
#26 3.171 creating build/temp.linux-x86_64-3.9
#26 3.171 creating build/temp.linux-x86_64-3.9/guidedlda
#26 3.171 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c guidedlda/_guidedlda.c -o build/temp.linux-x86_64-3.9/guidedlda/_guidedlda.o
#26 3.171 guidedlda/_guidedlda.c: In function ‘PyInit__guidedlda’:
#26 3.171 guidedlda/_guidedlda.c:17103:26: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 3.171 __pyx_type___pyx_array.tp_print = 0;
#26 3.171 ^~~~~~~~
#26 3.171 tp_dict
#26 3.171 guidedlda/_guidedlda.c:17108:32: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 3.171 __pyx_type___pyx_MemviewEnum.tp_print = 0;
#26 3.171 ^~~~~~~~
#26 3.171 tp_dict
#26 3.171 guidedlda/_guidedlda.c:17120:31: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 3.171 __pyx_type___pyx_memoryview.tp_print = 0;
#26 3.171 ^~~~~~~~
#26 3.171 tp_dict
#26 3.171 guidedlda/_guidedlda.c:17130:36: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 3.171 __pyx_type___pyx_memoryviewslice.tp_print = 0;
#26 3.171 ^~~~~~~~
#26 3.171 tp_dict
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx_ParseOptionalKeywords’:
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 3.171 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 3.171 ^~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 3.171 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 3.171 ^~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 3.171 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 3.171 ^~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 3.171 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 3.171 ^~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 3.171 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 3.171 ^
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 3.171 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx_decode_c_string’:
#26 3.171 guidedlda/_guidedlda.c:18669:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
#26 3.171 return PyUnicode_FromUnicode(NULL, 0);
#26 3.171 ^~~~~~
#26 3.171 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 3.171 from /usr/include/python3.9/Python.h:106,
#26 3.171 from guidedlda/_guidedlda.c:4:
#26 3.171 /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
#26 3.171 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#26 3.171 ^~~~~~~~~~~~~~~~~~~~~
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionSave’:
#26 3.171 guidedlda/_guidedlda.c:18745:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 *type = tstate->exc_type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18746:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 *value = tstate->exc_value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18747:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 *tb = tstate->exc_traceback;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionReset’:
#26 3.171 guidedlda/_guidedlda.c:18754:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tmp_type = tstate->exc_type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18755:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tmp_value = tstate->exc_value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18756:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tmp_tb = tstate->exc_traceback;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c:18757:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tstate->exc_type = type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18758:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tstate->exc_value = value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18759:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tstate->exc_traceback = tb;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx__GetException’:
#26 3.171 guidedlda/_guidedlda.c:18814:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tmp_type = tstate->exc_type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18815:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tmp_value = tstate->exc_value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18816:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tmp_tb = tstate->exc_traceback;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c:18817:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tstate->exc_type = local_type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18818:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tstate->exc_value = local_value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18819:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tstate->exc_traceback = local_tb;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionSwap’:
#26 3.171 guidedlda/_guidedlda.c:18841:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tmp_type = tstate->exc_type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18842:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tmp_value = tstate->exc_value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18843:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tmp_tb = tstate->exc_traceback;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 guidedlda/_guidedlda.c:18844:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 3.171 tstate->exc_type = *type;
#26 3.171 ^~~~~~~~
#26 3.171 curexc_type
#26 3.171 guidedlda/_guidedlda.c:18845:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 3.171 tstate->exc_value = *value;
#26 3.171 ^~~~~~~~~
#26 3.171 curexc_value
#26 3.171 guidedlda/_guidedlda.c:18846:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 3.171 tstate->exc_traceback = *tb;
#26 3.171 ^~~~~~~~~~~~~
#26 3.171 curexc_traceback
#26 3.171 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
#26 3.171 ----------------------------------------
#26 3.171 ERROR: Failed building wheel for guidedlda
#26 3.171 Running setup.py clean for guidedlda
#26 3.528 Failed to build guidedlda
#26 3.588 Installing collected packages: guidedlda
#26 3.590 Running setup.py install for guidedlda: started
#26 4.381 Running setup.py install for guidedlda: finished with status 'error'
#26 4.382 ERROR: Command errored out with exit status 1:
#26 4.382 command: /usr/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vymm8wtn/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/guidedlda
#26 4.382 cwd: /tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/
#26 4.382 Complete output (286 lines):
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.sdist_pre_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.sdist_pre_hook' instead
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires.
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
#26 4.382 warnings.warn(
#26 4.382 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.sdist_pre_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.sdist_pre_hook' instead
#26 4.382 warnings.warn(
#26 4.382 running install
#26 4.382 [pbr] Generating AUTHORS
#26 4.382 [pbr] AUTHORS complete (0.0s)
#26 4.382 running build
#26 4.382 running build_py
#26 4.382 creating build
#26 4.382 creating build/lib.linux-x86_64-3.9
#26 4.382 creating build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/__init__.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/_setup_hooks.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/datasets.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/utils.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/guidedlda.py -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 creating build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/__init__.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_lda_reuters.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_lda_transform.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_utils.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_datasets.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_lda.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_lda_sparse.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/test_guidedlda_nyt.py -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 running egg_info
#26 4.382 writing guidedlda.egg-info/PKG-INFO
#26 4.382 writing dependency_links to guidedlda.egg-info/dependency_links.txt
#26 4.382 writing requirements to guidedlda.egg-info/requires.txt
#26 4.382 writing top-level names to guidedlda.egg-info/top_level.txt
#26 4.382 [pbr] Reusing existing SOURCES.txt
#26 4.382 copying guidedlda/_guidedlda.c -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/_guidedlda.pyx -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/gamma.c -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/gamma.h -> build/lib.linux-x86_64-3.9/guidedlda
#26 4.382 copying guidedlda/tests/nyt.ldac -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/nyt.titles -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/nyt.tokens -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/reuters.ldac -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/reuters.titles -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 copying guidedlda/tests/reuters.tokens -> build/lib.linux-x86_64-3.9/guidedlda/tests
#26 4.382 running build_ext
#26 4.382 building 'guidedlda._guidedlda' extension
#26 4.382 creating build/temp.linux-x86_64-3.9
#26 4.382 creating build/temp.linux-x86_64-3.9/guidedlda
#26 4.382 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c guidedlda/_guidedlda.c -o build/temp.linux-x86_64-3.9/guidedlda/_guidedlda.o
#26 4.382 guidedlda/_guidedlda.c: In function ‘PyInit__guidedlda’:
#26 4.382 guidedlda/_guidedlda.c:17103:26: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 4.382 __pyx_type___pyx_array.tp_print = 0;
#26 4.382 ^~~~~~~~
#26 4.382 tp_dict
#26 4.382 guidedlda/_guidedlda.c:17108:32: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 4.382 __pyx_type___pyx_MemviewEnum.tp_print = 0;
#26 4.382 ^~~~~~~~
#26 4.382 tp_dict
#26 4.382 guidedlda/_guidedlda.c:17120:31: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 4.382 __pyx_type___pyx_memoryview.tp_print = 0;
#26 4.382 ^~~~~~~~
#26 4.382 tp_dict
#26 4.382 guidedlda/_guidedlda.c:17130:36: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
#26 4.382 __pyx_type___pyx_memoryviewslice.tp_print = 0;
#26 4.382 ^~~~~~~~
#26 4.382 tp_dict
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx_ParseOptionalKeywords’:
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 4.382 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 4.382 ^~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 4.382 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 4.382 ^~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 4.382 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 4.382 ^~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
#26 4.382 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#26 4.382 ^~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c:17725:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#26 4.382 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#26 4.382 ^
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
#26 4.382 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx_decode_c_string’:
#26 4.382 guidedlda/_guidedlda.c:18669:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
#26 4.382 return PyUnicode_FromUnicode(NULL, 0);
#26 4.382 ^~~~~~
#26 4.382 In file included from /usr/include/python3.9/unicodeobject.h:1026:0,
#26 4.382 from /usr/include/python3.9/Python.h:106,
#26 4.382 from guidedlda/_guidedlda.c:4:
#26 4.382 /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
#26 4.382 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
#26 4.382 ^~~~~~~~~~~~~~~~~~~~~
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionSave’:
#26 4.382 guidedlda/_guidedlda.c:18745:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 *type = tstate->exc_type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18746:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 *value = tstate->exc_value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18747:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 *tb = tstate->exc_traceback;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionReset’:
#26 4.382 guidedlda/_guidedlda.c:18754:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tmp_type = tstate->exc_type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18755:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tmp_value = tstate->exc_value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18756:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tmp_tb = tstate->exc_traceback;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c:18757:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tstate->exc_type = type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18758:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tstate->exc_value = value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18759:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tstate->exc_traceback = tb;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx__GetException’:
#26 4.382 guidedlda/_guidedlda.c:18814:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tmp_type = tstate->exc_type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18815:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tmp_value = tstate->exc_value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18816:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tmp_tb = tstate->exc_traceback;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c:18817:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tstate->exc_type = local_type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18818:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tstate->exc_value = local_value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18819:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tstate->exc_traceback = local_tb;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c: In function ‘__Pyx__ExceptionSwap’:
#26 4.382 guidedlda/_guidedlda.c:18841:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tmp_type = tstate->exc_type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18842:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tmp_value = tstate->exc_value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18843:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tmp_tb = tstate->exc_traceback;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 guidedlda/_guidedlda.c:18844:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
#26 4.382 tstate->exc_type = *type;
#26 4.382 ^~~~~~~~
#26 4.382 curexc_type
#26 4.382 guidedlda/_guidedlda.c:18845:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
#26 4.382 tstate->exc_value = *value;
#26 4.382 ^~~~~~~~~
#26 4.382 curexc_value
#26 4.382 guidedlda/_guidedlda.c:18846:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
#26 4.382 tstate->exc_traceback = *tb;
#26 4.382 ^~~~~~~~~~~~~
#26 4.382 curexc_traceback
#26 4.382 error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
#26 4.382 ----------------------------------------
#26 4.382 ERROR: Command errored out with exit status 1: /usr/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zdsrm3ls/guidedlda_f6b6b5951cd343c7b80a58cd7dba9c4f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vymm8wtn/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/guidedlda Check the logs for full command output.
------
executor failed running [/bin/sh -c python3.9 -m pip install guidedlda]: exit code: 1
Not Sure if it'll be useful but you can try this
1. git clone the repo
2. pip install lda
3. if on linux : chmod +x build_dist.sh
4. if on windows sh build_dist.sh
5. python setup.py -e .
6. pip install -e .
that's it. maybe it'll work.
Thank you. My issue was resolved when I installed Microsoft visual studio c++ build tools.
On Wed, Feb 2, 2022, 1:01 AM Abhishek Sharma @.***> wrote:
Not Sure if it'll be useful but you can try this
- git clone the repo
- pip install lda
- if on linux : chmod +x build_dist.sh
- if on windows sh build_dist.sh
- python setup.py -e .
that's it. maybe it'll work.
— Reply to this email directly, view it on GitHub https://github.com/vi3k6i5/GuidedLDA/issues/63#issuecomment-1027210335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOIEHRX3TKSC2GOSULJEIW3UZAYJTANCNFSM5IA6WRCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Update: I used guidedlda workaround and it fixed my issue
I first installed LDA package in python3.9 then added the files from guidedLDA workaround https://github.com/dex314/GuidedLDA_WorkAround
worked perfectly and I was able to load older models with the same performance.