pip error on linux
stefan-schroedl opened this issue · 0 comments
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'
----------------------------------------