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

AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__' #235

Open
VarianZhou opened this issue Jul 16, 2023 · 0 comments
Open

AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__' #235

VarianZhou opened this issue Jul 16, 2023 · 0 comments

Comments

@VarianZhou
Copy link

When I was installing your module, it always raises this error. The details are given below:
'''
Collecting gensim<4.0.0,>=3.8.2 (from bio-embeddings[seqvec])
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
╰─> [55 lines of output]
running dist_info
creating C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info
writing C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info\PKG-INFO
writing dependency_links to C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info\dependency_links.txt
writing requirements to C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info\requires.txt
writing top-level names to C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info\top_level.txt
writing manifest file 'C:\Users\varia\AppData\Local\Temp\pip-modern-metadata-wvma51pv\gensim.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "C:\Users\varia\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\varia\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\varia\AppData\Local\Programs\Python\Python39-32\lib\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 "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\build_meta.py", line 380, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(BuildMetaLegacyBackend,
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 367, in
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_init
.py", line 107, in setup
return distutils.core.setup(**attrs)
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\dist_info.py", line 99, in run
self.egg_info.run()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 314, in run
self.find_sources()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 322, in find_sources
mm.run()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 551, in run
self.add_defaults()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 589, in add_defaults
sdist.add_defaults(self)
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools\command\sdist.py", line 104, in add_defaults
super().add_defaults()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\command\sdist.py", line 335, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 305, in get_finalized_command
cmd_obj.ensure_finalized()
File "C:\Users\varia\AppData\Local\Temp\pip-build-env-k1zza_mq\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "", line 111, in finalize_options
AttributeError: 'dict' object has no attribute 'NUMPY_SETUP'
[end of output]
'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant