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

pip error on linux #28

Closed
stefan-schroedl opened this issue Aug 22, 2022 · 0 comments · Fixed by #31
Closed

pip error on linux #28

stefan-schroedl opened this issue Aug 22, 2022 · 0 comments · Fixed by #31

Comments

@stefan-schroedl
Copy link

Hi,
I am trying to install the package with "pip install multimodal-transformers" on linux and get the following error:

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
Complete output (21 lines):
/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/dist.py:774: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt)
Traceback (most recent call last):
File "", line 1, in
File "/storage/tmp/pip-req-build-8dvkr2p7/setup.py", line 37, in
'Programming Language :: Python :: 3.7',
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/dist.py", line 480, in init
for k, v in attrs.items()
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 280, in init
self.finalize_options()
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/dist.py", line 899, in finalize_options
for ep in sorted(loaded, key=by_order):
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/dist.py", line 898, in
loaded = map(lambda e: e.load(), filtered)
File "/home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/setuptools/_vendor/importlib_metadata/init.py", line 196, in load
return functools.reduce(getattr, attrs, module)
AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
----------------------------------------

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

Successfully merging a pull request may close this issue.

1 participant