Installation Error: Failed building wheel for gensim
AakashSorathiya opened this issue · 6 comments
Problem description
Installing gensim=4.3.1 fails with python=3.12.1
Steps/code/corpus to reproduce
pip install gensim
Collecting gensim
Using cached gensim-4.3.2.tar.gz (23.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.18.5 in d:\python\lib\site-packages (from gensim) (1.26.3)
Requirement already satisfied: scipy>=1.7.0 in d:\python\lib\site-packages (from gensim) (1.12.0)
Requirement already satisfied: smart-open>=1.8.1 in d:\python\lib\site-packages (from gensim) (6.4.0)
Building wheels for collected packages: gensim
Building wheel for gensim (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for gensim (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [714 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\gensim
copying gensim\downloader.py -> build\lib.win-amd64-cpython-312\gensim
copying gensim\interfaces.py -> build\lib.win-amd64-cpython-312\gensim
copying gensim\matutils.py -> build\lib.win-amd64-cpython-312\gensim
copying gensim\nosy.py -> build\lib.win-amd64-cpython-312\gensim
copying gensim\utils.py -> build\lib.win-amd64-cpython-312\gensim
copying gensim\__init__.py -> build\lib.win-amd64-cpython-312\gensim
creating build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\bleicorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\csvcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\dictionary.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\hashdictionary.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\indexedcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\lowcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\malletcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\mmcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\opinosiscorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\sharded_corpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\svmlightcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\textcorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\ucicorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\wikicorpus.py -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\corpora\__init__.py -> build\lib.win-amd64-cpython-312\gensim\corpora
creating build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\atmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\basemodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\bm25model.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\callbacks.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\coherencemodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\doc2vec.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\ensemblelda.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\hdpmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\keyedvectors.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\ldamodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\ldamulticore.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\ldaseqmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\lda_dispatcher.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\lda_worker.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\logentropy_model.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\lsimodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\lsi_dispatcher.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\lsi_worker.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\nmf.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\normmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\phrases.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\poincare.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\rpmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\tfidfmodel.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\translation_matrix.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\_fasttext_bin.py -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\__init__.py -> build\lib.win-amd64-cpython-312\gensim\models
creating build\lib.win-amd64-cpython-312\gensim\parsing
copying gensim\parsing\porter.py -> build\lib.win-amd64-cpython-312\gensim\parsing
copying gensim\parsing\preprocessing.py -> build\lib.win-amd64-cpython-312\gensim\parsing
copying gensim\parsing\__init__.py -> build\lib.win-amd64-cpython-312\gensim\parsing
creating build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\benchmark.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\glove2word2vec.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\make_wiki.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\make_wikicorpus.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\make_wiki_online.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\make_wiki_online_nodebug.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\package_info.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\segment_wiki.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\word2vec2tensor.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\word2vec_standalone.py -> build\lib.win-amd64-cpython-312\gensim\scripts
copying gensim\scripts\__init__.py -> build\lib.win-amd64-cpython-312\gensim\scripts
creating build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\annoy.py -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\docsim.py -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\levenshtein.py -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\nmslib.py -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\termsim.py -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\similarities\__init__.py -> build\lib.win-amd64-cpython-312\gensim\similarities
creating build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\basetmtests.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\simspeed.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\simspeed2.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\svd_error.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_aggregation.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_api.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_atmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_big.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_bm25model.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_coherencemodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_corpora.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_corpora_dictionary.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_corpora_hashdictionary.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_datatype.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_direct_confirmation.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_doc2vec.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_ensemblelda.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_fasttext.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_glove2word2vec.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_hdpmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_indirect_confirmation.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_keyedvectors.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_ldamodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_ldaseqmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_lda_callback.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_lee.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_logentropy_model.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_lsimodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_matutils.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_miislita.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_nmf.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_normmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_parsing.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_phrases.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_poincare.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_probability_estimation.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_rpmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_scripts.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_segmentation.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_sharded_corpus.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_similarities.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_similarity_metrics.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_text_analysis.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_tfidfmodel.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_tmdiff.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_translation_matrix.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_utils.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\test_word2vec.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\utils.py -> build\lib.win-amd64-cpython-312\gensim\test
copying gensim\test\__init__.py -> build\lib.win-amd64-cpython-312\gensim\test
creating build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\aggregation.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\direct_confirmation_measure.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\indirect_confirmation_measure.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\probability_estimation.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence copying gensim\topic_coherence\segmentation.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\text_analysis.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
copying gensim\topic_coherence\__init__.py -> build\lib.win-amd64-cpython-312\gensim\topic_coherence
running 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
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'
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.corpora' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.corpora' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.corpora' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.corpora' to be distributed and are
already explicitly excluding 'gensim.corpora' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.models' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.models' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.models' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.models' to be distributed and are
already explicitly excluding 'gensim.models' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.similarities' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.similarities' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.similarities' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.similarities' to be distributed and are
already explicitly excluding 'gensim.similarities' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.test.test_data' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.test.test_data' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.test.test_data' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.test.test_data' to be distributed and are
already explicitly excluding 'gensim.test.test_data' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.test.test_data.DTM' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.test.test_data.DTM' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.test.test_data.DTM' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.test.test_data.DTM' to be distributed and are
already explicitly excluding 'gensim.test.test_data.DTM' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.test.test_data.PathLineSentences' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.test.test_data.PathLineSentences' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.test.test_data.PathLineSentences' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.test.test_data.PathLineSentences' to be distributed and are
already explicitly excluding 'gensim.test.test_data.PathLineSentences' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.test.test_data.old_d2v_models' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.test.test_data.old_d2v_models' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.test.test_data.old_d2v_models' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.test.test_data.old_d2v_models' to be distributed and are
already explicitly excluding 'gensim.test.test_data.old_d2v_models' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
C:\Users\Aakash\AppData\Local\Temp\pip-build-env-q3j1iqhn\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'gensim.test.test_data.old_w2v_models' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'gensim.test.test_data.old_w2v_models' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'gensim.test.test_data.old_w2v_models' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'gensim.test.test_data.old_w2v_models' to be distributed and are
already explicitly excluding 'gensim.test.test_data.old_w2v_models' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying gensim\_matutils.c -> build\lib.win-amd64-cpython-312\gensim
copying gensim\_matutils.pyx -> build\lib.win-amd64-cpython-312\gensim
copying gensim\corpora\_mmreader.c -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\models\doc2vec_corpusfile.cpp -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\doc2vec_inner.cpp -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext_corpusfile.cpp -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext_inner.c -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\nmf_pgd.c -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_corpusfile.cpp -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_inner.c -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\similarities\fastss.c -> build\lib.win-amd64-cpython-312\gensim\similarities
copying gensim\corpora\_mmreader.pyx -> build\lib.win-amd64-cpython-312\gensim\corpora
copying gensim\models\doc2vec_corpusfile.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\doc2vec_inner.pxd -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\doc2vec_inner.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fast_line_sentence.h -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext_corpusfile.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext_inner.pxd -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\fasttext_inner.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\nmf_pgd.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\stdint_wrapper.h -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\voidptr.h -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_corpusfile.pxd -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_corpusfile.pyx -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_inner.pxd -> build\lib.win-amd64-cpython-312\gensim\models
copying gensim\models\word2vec_inner.pyx -> build\lib.win-amd64-cpython-312\gensim\models
creating build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\EN.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\IT.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\OPUS_en_it_europarl_train_one2ten.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\alldata-id-10.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\atmodel_3_0_1_model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\atmodel_3_0_1_model.expElogbeta.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\atmodel_3_0_1_model.id2word -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\atmodel_3_0_1_model.state -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\bgwiki-latest-pages-articles-shortened.xml.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\compatible-hash-true.model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\cp852_fasttext.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\crime-and-punishment.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\crime-and-punishment.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\crime-and-punishment.vec -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\d2v-lee-v0.13.0 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\doc2vec_old -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\doc2vec_old_sep -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\doc2vec_old_sep.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\doc2vec_old_sep.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\dtm_test.dict -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\dtm_test.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ensemblelda -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\enwiki-latest-pages-articles1.xml-p000000010p000030302-shortened.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\enwiki-table-markup.xml.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\euclidean_vectors.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\fasttext_old -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\fasttext_old_sep -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\fasttext_old_sep.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\fasttext_old_sep.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\fb-ngrams.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ft_kv_3.6.0.model.gz -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ft_model_2.3.0 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\head500.noblanks.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\head500.noblanks.cor.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\head500.noblanks.cor_tfidf.model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\head500.noblanks.cor_wordids.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\high_precision.kv.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\high_precision.kv.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\large_tag_doc_10_iter50 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lda_3_0_1_model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lda_3_0_1_model.expElogbeta.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lda_3_0_1_model.id2word -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lda_3_0_1_model.state -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_2_7 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_2_7.expElogbeta.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_2_7.id2word -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\ldamodel_python_2_7.state -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_3_5 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_3_5.expElogbeta.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldamodel_python_3_5.id2word -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\ldamodel_python_3_5.state -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldavowpalwabbit.dict.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\ldavowpalwabbit.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee_background.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee_fasttext -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee_fasttext.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee_fasttext.vec -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\lee_fasttext_new.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\miIslita.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\mini_newsgroup -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\model-from-gensim-3.8.0.w2v -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\nmf_model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\non_ascii_fasttext.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\old_keyedvectors_320.dat -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pang_lee_polarity.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pang_lee_polarity_fasttext.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pang_lee_polarity_fasttext.vec -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\para2para_text1.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\para2para_text2.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phraser-3.6.0.model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phraser-no-common-terms.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\phraser-no-scoring.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phraser-scoring-str.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phrases-3.6.0.model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phrases-no-common-terms.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\phrases-no-scoring.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\phrases-scoring-str.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_cp852.tsv -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_hypernyms.tsv -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_hypernyms_large.tsv -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_test_3.4.0 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_utf8.tsv -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\poincare_vectors.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pre_0_13_2_model -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pre_0_13_2_model.state -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\pretrained.vec -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\questions-words.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\reproduce.dat -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\reproduce.dat.gz -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\similarities0-1.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\simlex999.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\small_tag_doc_5_iter50 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_corpus_ok.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_corpus_small.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_glove.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_corrupt.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_no_index.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_no_index.mm.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_no_index.mm.gz -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_overflow.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\test_mmcorpus_with_index.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data copying gensim\test\test_data\test_mmcorpus_with_index.mm.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.blei -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.blei.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.blei.vocab -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.low -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.low.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.mallet -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.mallet.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.mm -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.mm.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.svmlight -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.svmlight.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.uci -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.uci.index -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.uci.vocab -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\testcorpus.xml.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\tfidf_model.tst -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\tfidf_model.tst.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\tfidf_model_3_2.tst -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\toy-data.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\toy-model-pretrained.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\toy-model.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\toy-model.vec -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\varembed_lee_subcorpus.cor -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\varembed_morfessor.bin -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\varembed_vectors.pkl -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\w2v-lee-v0.12.0 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\w2v_keyedvectors_load_test.modeldata -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\w2v_keyedvectors_load_test.vocab -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_3.3 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_old -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_old_sep -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_old_sep.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_old_sep.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_c -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_py2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_py3 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_py3_4 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py2.neg_labels.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py2.syn0.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py2.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py2.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3.neg_labels.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3.syn0.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3_4 -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3_4.neg_labels.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3_4.syn0.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3_4.syn0_lockf.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\word2vec_pre_kv_sep_py3_4.syn1neg.npy -> build\lib.win-amd64-cpython-312\gensim\test\test_data
copying gensim\test\test_data\wordsim353.tsv -> build\lib.win-amd64-cpython-312\gensim\test\test_data
creating build\lib.win-amd64-cpython-312\gensim\test\test_data\DTM
copying gensim\test\test_data\DTM\ldaseq_3_0_1_model -> build\lib.win-amd64-cpython-312\gensim\test\test_data\DTM
copying gensim\test\test_data\DTM\sstats_test.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data\DTM
creating build\lib.win-amd64-cpython-312\gensim\test\test_data\PathLineSentences
copying gensim\test\test_data\PathLineSentences\1.txt -> build\lib.win-amd64-cpython-312\gensim\test\test_data\PathLineSentences
copying gensim\test\test_data\PathLineSentences\2.txt.bz2 -> build\lib.win-amd64-cpython-312\gensim\test\test_data\PathLineSentences
creating build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.12.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.12.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.12.2.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.12.3.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.12.4.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.13.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.13.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.13.2.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.13.3.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_0.13.4.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_1.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_1.0.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_2.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_2.1.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_2.2.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_2.3.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_3.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_3.1.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_3.2.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_3.3.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
copying gensim\test\test_data\old_d2v_models\d2v_3.4.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_d2v_models
creating build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.12.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.12.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.12.2.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.12.3.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.12.4.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.13.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.13.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.13.2.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.13.3.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_0.13.4.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_1.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_1.0.1.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_2.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_2.1.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_2.2.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_2.3.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_3.0.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_3.1.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_3.2.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_3.3.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
copying gensim\test\test_data\old_w2v_models\w2v_3.4.0.mdl -> build\lib.win-amd64-cpython-312\gensim\test\test_data\old_w2v_models
running build_ext
building 'gensim.models.word2vec_inner' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gensim
Failed to build gensim
ERROR: Could not build wheels for gensim, which is required to install pyproject.toml-based projects
Versions
Please provide the output of:
import platform; print(platform.platform())
Windows-11-10.0.22000-SP0
import sys; print("Python", sys.version)
Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
import struct; print("Bits", 8 * struct.calcsize("P"))
Bits 64
import numpy; print("NumPy", numpy.__version__)
NumPy 1.26.3
import scipy; print("SciPy", scipy.__version__)
SciPy 1.12.0
Has this been resolved because I have the same issue?
I am using an older version of gensim 3.5.0
It installs successfully
We don't build wheels for Python 3.12 yet. This is why your pip install is attempting to build a wheel. It's failing because you appear to be missing a compiler:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Without it, you cannot build the C extensions from source.
At the moment, your options are:
- Use an older version of Python, e.g. 3.11
- Install a compiler, and build the C extensions yourself
We'll probably provide wheels for Python 3.12 in the next release, but I don't know when that will be.
@mpenkov do you know why this import error occurs. I am new user with the package.
I run: Import gensim
ImportError: cannot import name 'triu' from 'scipy.linalg' (c:\Users\ktpra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scipy\linalg_init_.py)
What is the expected release date for the new version?
We're aiming for sometime within the next 2-3 weeks.