HebPipe
HebPipe copied to clipboard
Error with pip install
See full traceback:
$ pip install hebpipe
Collecting hebpipe
Using cached hebpipe-3.0.0.6.tar.gz (8.6 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting requests (from hebpipe)
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: numpy in ./.venv/lib/python3.11/site-packages (from hebpipe) (1.26.1)
Collecting gensim==3.8.3 (from hebpipe)
Using cached gensim-3.8.3.tar.gz (23.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
running dist_info
creating /private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info
writing /private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info/dependency_links.txt
writing requirements to /private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info/requires.txt
writing top-level names to /private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info/top_level.txt
writing manifest file '/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-modern-metadata-87bepodf/gensim.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "/Users/benfeifke/code/spark-testing/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/benfeifke/code/spark-testing/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/benfeifke/code/spark-testing/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
self.run_setup()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 367, in <module>
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/dist_info.py", line 107, in run
self.egg_info.run()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 318, in run
self.find_sources()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 326, in find_sources
mm.run()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 548, in run
self.add_defaults()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
sdist.add_defaults(self)
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
super().add_defaults()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
cmd_obj.ensure_finalized()
File "/private/var/folders/mp/m_zk6npd02n2mk4p8vt135480000gn/T/pip-build-env-gp_ibbw8/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "<string>", line 111, in finalize_options
AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
For reference, I'm using pip 23.3.1
and python 3.11.5
.