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

Support Python 3.11 #3395

Closed
djstrong opened this issue Oct 26, 2022 · 4 comments · Fixed by #3402
Closed

Support Python 3.11 #3395

djstrong opened this issue Oct 26, 2022 · 4 comments · Fixed by #3402
Labels
need info Not enough information for reproduce an issue, need more info from author

Comments

@djstrong
Copy link

djstrong commented Oct 26, 2022

Problem description

gensim does not install on Python 3.11.

Steps/code/corpus to reproduce

While installing gensim by pip install gensim:

      gensim/models/word2vec_inner.c: In function ‘__Pyx_AddTraceback’:
      gensim/models/word2vec_inner.c:457:62: error: dereferencing pointer to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
        457 |   #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
            |                                                              ^~
      gensim/models/word2vec_inner.c:12424:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
      12424 |     __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      error: command '/usr/bin/gcc' failed with exit code 1
@piskvorky
Copy link
Owner

Please fill in the issue template fully, instead of deleting it.

@piskvorky piskvorky added the need info Not enough information for reproduce an issue, need more info from author label Oct 26, 2022
@acul3
Copy link
Contributor

acul3 commented Oct 28, 2022

i also encountered it

any plans to support 3.11?

@acul3
Copy link
Contributor

acul3 commented Oct 28, 2022

here is error stacktrace when install from the source :

/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
running install
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
creating gensim.egg-info
writing gensim.egg-info/PKG-INFO
writing dependency_links to gensim.egg-info/dependency_links.txt
writing requirements to gensim.egg-info/requires.txt
writing top-level names to gensim.egg-info/top_level.txt
writing manifest file 'gensim.egg-info/SOURCES.txt'
Compiling gensim/models/word2vec_inner.pyx because it changed.
Compiling gensim/corpora/_mmreader.pyx because it changed.
Compiling gensim/models/fasttext_inner.pyx because it changed.
Compiling gensim/_matutils.pyx because it changed.
Compiling gensim/models/nmf_pgd.pyx because it changed.
Compiling gensim/similarities/fastss.pyx because it changed.
[1/6] Cythonizing gensim/_matutils.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/_matutils.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[2/6] Cythonizing gensim/corpora/_mmreader.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/corpora/_mmreader.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[3/6] Cythonizing gensim/models/fasttext_inner.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/fasttext_inner.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
[4/6] Cythonizing gensim/models/nmf_pgd.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/nmf_pgd.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[5/6] Cythonizing gensim/models/word2vec_inner.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/word2vec_inner.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
[6/6] Cythonizing gensim/similarities/fastss.pyx
Compiling gensim/models/doc2vec_inner.pyx because it changed.
Compiling gensim/models/word2vec_corpusfile.pyx because it changed.
Compiling gensim/models/fasttext_corpusfile.pyx because it changed.
Compiling gensim/models/doc2vec_corpusfile.pyx because it changed.
[1/4] Cythonizing gensim/models/doc2vec_corpusfile.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/doc2vec_corpusfile.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[2/4] Cythonizing gensim/models/doc2vec_inner.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/doc2vec_inner.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
[3/4] Cythonizing gensim/models/fasttext_corpusfile.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/fasttext_corpusfile.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
[4/4] Cythonizing gensim/models/word2vec_corpusfile.pyx
/Users/samsulrahmadani/Documents/gensim/.eggs/Cython-0.29.28-py3.11.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /Users/samsulrahmadani/Documents/gensim/gensim/models/word2vec_corpusfile.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
reading manifest file 'gensim.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'COPYING'
writing manifest file 'gensim.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-13-arm64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-13-arm64-3.11
creating build/lib.macosx-13-arm64-3.11/gensim
copying gensim/interfaces.py -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/downloader.py -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/matutils.py -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/utils.py -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/nosy.py -> build/lib.macosx-13-arm64-3.11/gensim
creating build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/docsim.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/nmslib.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/levenshtein.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/termsim.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
copying gensim/similarities/annoy.py -> build/lib.macosx-13-arm64-3.11/gensim/similarities
creating build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_text_analysis.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_glove2word2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_parsing.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_tmdiff.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_utils.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_matutils.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_word2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_segmentation.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_lsimodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_coherencemodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_miislita.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_phrases.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_tfidfmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_poincare.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_rpmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_corpora_hashdictionary.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_ensemblelda.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/simspeed2.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_aggregation.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_lee.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_big.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_translation_matrix.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/basetmtests.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_ldaseqmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_datatype.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_similarity_metrics.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_ldamodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_nmf.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_lda_callback.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/utils.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_keyedvectors.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_corpora_dictionary.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/svd_error.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_logentropy_model.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_doc2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_similarities.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_direct_confirmation.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_api.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_atmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_corpora.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_indirect_confirmation.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_probability_estimation.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_fasttext.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_bm25model.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_scripts.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_normmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_hdpmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/test_sharded_corpus.py -> build/lib.macosx-13-arm64-3.11/gensim/test
copying gensim/test/simspeed.py -> build/lib.macosx-13-arm64-3.11/gensim/test
creating build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/poincare.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/basemodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/phrases.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/ensemblelda.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/_fasttext_bin.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/normmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/translation_matrix.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/bm25model.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/lsimodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/rpmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/logentropy_model.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/keyedvectors.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/lda_worker.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/tfidfmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/doc2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/callbacks.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/hdpmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/ldamulticore.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/ldaseqmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/lsi_dispatcher.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/lda_dispatcher.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/ldamodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/nmf.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/atmodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/lsi_worker.py -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/coherencemodel.py -> build/lib.macosx-13-arm64-3.11/gensim/models
creating build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/make_wikicorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/word2vec2tensor.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/package_info.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/benchmark.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/segment_wiki.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/make_wiki_online.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/make_wiki.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/make_wiki_online_nodebug.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/glove2word2vec.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
copying gensim/scripts/word2vec_standalone.py -> build/lib.macosx-13-arm64-3.11/gensim/scripts
creating build/lib.macosx-13-arm64-3.11/gensim/parsing
copying gensim/parsing/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/parsing
copying gensim/parsing/preprocessing.py -> build/lib.macosx-13-arm64-3.11/gensim/parsing
copying gensim/parsing/porter.py -> build/lib.macosx-13-arm64-3.11/gensim/parsing
creating build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/direct_confirmation_measure.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/aggregation.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/text_analysis.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/probability_estimation.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/indirect_confirmation_measure.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
copying gensim/topic_coherence/segmentation.py -> build/lib.macosx-13-arm64-3.11/gensim/topic_coherence
creating build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/sharded_corpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/textcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/wikicorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/csvcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/opinosiscorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/__init__.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/malletcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/mmcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/ucicorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/indexedcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/lowcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/bleicorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/dictionary.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/svmlightcorpus.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/hashdictionary.py -> build/lib.macosx-13-arm64-3.11/gensim/corpora
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'gensim.test.test_data' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'gensim.test.test_data' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'gensim.test.test_data' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'gensim.test.test_data' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'gensim.test.test_data.DTM' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'gensim.test.test_data.DTM' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'gensim.test.test_data.DTM' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'gensim.test.test_data.DTM' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'gensim.test.test_data.PathLineSentences' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'gensim.test.test_data.PathLineSentences' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'gensim.test.test_data.PathLineSentences' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'gensim.test.test_data.PathLineSentences' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'gensim.test.test_data.old_d2v_models' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'gensim.test.test_data.old_d2v_models' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'gensim.test.test_data.old_d2v_models' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'gensim.test.test_data.old_d2v_models' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
/Users/samsulrahmadani/env/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'gensim.test.test_data.old_w2v_models' as data is deprecated, please list it in `packages`.
    !!


    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'gensim.test.test_data.old_w2v_models' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'gensim.test.test_data.old_w2v_models' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'gensim.test.test_data.old_w2v_models' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.


!!

  check.warn(importable)
copying gensim/_matutils.c -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/_matutils.pyx -> build/lib.macosx-13-arm64-3.11/gensim
copying gensim/similarities/fastss.c -> build/lib.macosx-13-arm64-3.11/gensim/similarities
creating build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/EN.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/IT.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/OPUS_en_it_europarl_train_one2ten.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/alldata-id-10.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/atmodel_3_0_1_model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/atmodel_3_0_1_model.expElogbeta.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/atmodel_3_0_1_model.id2word -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/atmodel_3_0_1_model.state -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/bgwiki-latest-pages-articles-shortened.xml.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/compatible-hash-true.model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/cp852_fasttext.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/crime-and-punishment.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/crime-and-punishment.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/crime-and-punishment.vec -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/d2v-lee-v0.13.0 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/doc2vec_old -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/doc2vec_old_sep -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/doc2vec_old_sep.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/doc2vec_old_sep.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/dtm_test.dict -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/dtm_test.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ensemblelda -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/enwiki-latest-pages-articles1.xml-p000000010p000030302-shortened.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/enwiki-table-markup.xml.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/euclidean_vectors.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/fasttext_old -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/fasttext_old_sep -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/fasttext_old_sep.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/fasttext_old_sep.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/fb-ngrams.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ft_kv_3.6.0.model.gz -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ft_model_2.3.0 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/head500.noblanks.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/head500.noblanks.cor.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/head500.noblanks.cor_tfidf.model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/head500.noblanks.cor_wordids.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/high_precision.kv.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/high_precision.kv.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/large_tag_doc_10_iter50 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lda_3_0_1_model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lda_3_0_1_model.expElogbeta.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lda_3_0_1_model.id2word -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lda_3_0_1_model.state -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_2_7 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_2_7.expElogbeta.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_2_7.id2word -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_2_7.state -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_3_5 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_3_5.expElogbeta.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_3_5.id2word -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldamodel_python_3_5.state -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldavowpalwabbit.dict.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/ldavowpalwabbit.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee_background.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee_fasttext -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee_fasttext.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee_fasttext.vec -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/lee_fasttext_new.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/miIslita.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/mini_newsgroup -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/nmf_model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/non_ascii_fasttext.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/old_keyedvectors_320.dat -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pang_lee_polarity.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pang_lee_polarity_fasttext.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pang_lee_polarity_fasttext.vec -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/para2para_text1.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/para2para_text2.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phraser-3.6.0.model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phraser-no-common-terms.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phraser-no-scoring.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phraser-scoring-str.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phrases-3.6.0.model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phrases-no-common-terms.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phrases-no-scoring.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/phrases-scoring-str.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_cp852.tsv -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_hypernyms.tsv -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_hypernyms_large.tsv -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_test_3.4.0 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_utf8.tsv -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/poincare_vectors.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pre_0_13_2_model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pre_0_13_2_model.state -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/pretrained.vec -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/questions-words.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/reproduce.dat -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/reproduce.dat.gz -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/similarities0-1.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/simlex999.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/small_tag_doc_5_iter50 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_corpus_ok.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_corpus_small.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_glove.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_corrupt.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_no_index.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_no_index.mm.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_no_index.mm.gz -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_overflow.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_with_index.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/test_mmcorpus_with_index.mm.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.blei -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.blei.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.blei.vocab -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.low -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.low.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.mallet -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.mallet.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.mm -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.mm.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.svmlight -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.svmlight.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.uci -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.uci.index -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.uci.vocab -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/testcorpus.xml.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/tfidf_model.tst -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/tfidf_model.tst.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/tfidf_model_3_2.tst -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/toy-data.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/toy-model-pretrained.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/toy-model.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/toy-model.vec -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/varembed_lee_subcorpus.cor -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/varembed_morfessor.bin -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/varembed_vectors.pkl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/w2v-lee-v0.12.0 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/w2v_keyedvectors_load_test.modeldata -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/w2v_keyedvectors_load_test.vocab -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_3.3 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_old -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_old_sep -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_old_sep.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_old_sep.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_c -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_py2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_py3 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_py3_4 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py2.neg_labels.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn0.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3.neg_labels.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn0.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.neg_labels.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn0.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn0_lockf.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn1neg.npy -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
copying gensim/test/test_data/wordsim353.tsv -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data
creating build/lib.macosx-13-arm64-3.11/gensim/test/test_data/DTM
copying gensim/test/test_data/DTM/ldaseq_3_0_1_model -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/DTM
copying gensim/test/test_data/DTM/sstats_test.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/DTM
creating build/lib.macosx-13-arm64-3.11/gensim/test/test_data/PathLineSentences
copying gensim/test/test_data/PathLineSentences/1.txt -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/PathLineSentences
copying gensim/test/test_data/PathLineSentences/2.txt.bz2 -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/PathLineSentences
creating build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.12.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.12.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.12.2.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.12.3.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.12.4.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.13.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.13.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.13.2.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.13.3.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_0.13.4.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_1.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_1.0.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_2.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_2.1.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_2.2.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_2.3.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_3.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_3.1.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_3.2.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_3.3.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
copying gensim/test/test_data/old_d2v_models/d2v_3.4.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_d2v_models
creating build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.12.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.12.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.12.2.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.12.3.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.12.4.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.13.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.13.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.13.2.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.13.3.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_0.13.4.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_1.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_1.0.1.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_2.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_2.1.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_2.2.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_2.3.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_3.0.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_3.1.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_3.2.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_3.3.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/test/test_data/old_w2v_models/w2v_3.4.0.mdl -> build/lib.macosx-13-arm64-3.11/gensim/test/test_data/old_w2v_models
copying gensim/models/doc2vec_corpusfile.cpp -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/doc2vec_corpusfile.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/doc2vec_inner.cpp -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/doc2vec_inner.pxd -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/doc2vec_inner.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fast_line_sentence.h -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext_corpusfile.cpp -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext_corpusfile.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext_inner.c -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext_inner.pxd -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/fasttext_inner.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/nmf_pgd.c -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/nmf_pgd.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/stdint_wrapper.h -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/voidptr.h -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_corpusfile.cpp -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_corpusfile.pxd -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_corpusfile.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_inner.c -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_inner.pxd -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/models/word2vec_inner.pyx -> build/lib.macosx-13-arm64-3.11/gensim/models
copying gensim/corpora/_mmreader.c -> build/lib.macosx-13-arm64-3.11/gensim/corpora
copying gensim/corpora/_mmreader.pyx -> build/lib.macosx-13-arm64-3.11/gensim/corpora
running build_ext
building 'gensim.models.word2vec_inner' extension
creating build/temp.macosx-13-arm64-3.11
creating build/temp.macosx-13-arm64-3.11/gensim
creating build/temp.macosx-13-arm64-3.11/gensim/models
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/samsulrahmadani/env/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/Users/samsulrahmadani/env/lib/python3.11/site-packages/numpy/core/include -c gensim/models/word2vec_inner.c -o build/temp.macosx-13-arm64-3.11/gensim/models/word2vec_inner.o
In file included from gensim/models/word2vec_inner.c:706:
In file included from /Users/samsulrahmadani/env/lib/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5:
In file included from /Users/samsulrahmadani/env/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/samsulrahmadani/env/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948:
/Users/samsulrahmadani/env/lib/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
gensim/models/word2vec_inner.c:12424:5: error: incomplete definition of type 'struct _frame'
    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gensim/models/word2vec_inner.c:457:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
                                                      ~~~~~~~^
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'struct _frame'
typedef struct _frame PyFrameObject;
               ^
1 warning and 1 error generated.

@acul3
Copy link
Contributor

acul3 commented Nov 8, 2022

finally find a way to install (hacky)

#3401 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info Not enough information for reproduce an issue, need more info from author
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants