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

Build Error: AttributeError: 'MinimalDistribution' object has no attribute '_referenced_files' #1020

Open
3 tasks done
TonyCongqianWang opened this issue Jul 8, 2024 · 0 comments

Comments

@TonyCongqianWang
Copy link

Prerequisite

🐞 Describe the bug

I tried to install mmyolo in different ways. I tried using the guide from here but then I received a CUDA version mismatch. When I follow the instructions on github. I get

Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/home/Tony/mmyolo/setup.py", line 160, in <module>
      setup(
    File "/home/anaconda3/envs/mmyolo/lib/python3.8/site-packages/setuptools/__init__.py", line 154, in setup
      _install_setup_requires(attrs)
    File "/home/anaconda3/envs/mmyolo/lib/python3.8/site-packages/setuptools/__init__.py", line 146, in _install_setup_requires
      dist.parse_config_files(ignore_option_errors=True)
    File "/home/anaconda3/envs/mmyolo/lib/python3.8/site-packages/setuptools/dist.py", line 804, in parse_config_files
      parse_configuration(
    File "/home/anaconda3/envs/mmyolo/lib/python3.8/site-packages/setuptools/config/__init__.py", line 37, in _wrapper
      return fn(*args, **kwargs)
    File "/home/anaconda3/envs/mmyolo/lib/python3.8/site-packages/setuptools/config/setupcfg.py", line 191, in parse_configuration
      distribution._referenced_files.update(
  AttributeError: 'MinimalDistribution' object has no attribute '_referenced_files'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

when running
mim install -v -e .

Environment

Can collect due to not being able to install mmyolo

Additional information

No response

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