-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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: install_layout #1677
Comments
This seems to be a bug caused by setuptools, you can try to reinstall it. pypa/setuptools#1086 |
Btw, why you report the bug to mmdetection when you seem to be installing mmskeleton? |
OK,I’ll try |
The bug appeared when I install mmskeleton, so I try to install mmdetection first, then the bug appeared again. |
So this should be the bug of the code environment rather than the codebase. |
Hi there, |
No,I finally install mmedetection on another computer, and it worked. Maybe just like ZwwWayne said, this was caused by the bug of setuptools. I failed to install on the ubuntu with setuptools 20.7, and install on the ubuntu with setuptoolswith 40.8 successfully. |
Yeah I also worked it out recently on another server. Thanks so much for your reply. |
It happened to me in a script I downloaded, I followed these instructions to solve the problem by installing Setuptools in Python 3 it worked perfectly for me. Here's a summary of the steps I took: Downloaded the latest Setuptools source package for Python 3 from the official website using the command:
Extracted the downloaded package with the command:
Navigated to the Setuptools directory:
Installed the package using: After the installation, I verified that Setuptools was installed correctly using: After installation, I verified that Setuptools installed correctly using: Import configuration tools:
Once this is done, check if you can execute the command again |
try this sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED pip uninstall setuptools pip uninstall ujson curl https://files.pythonhosted.org/packages/69/77/aee1ecacea4d0db740046ce1785e81d16c4b1755af50eceac4ca1a1f8bfd/setuptools-60.5.0.tar.gz > setuptools-60.5.0.tar.gz tar -xzvf setuptools-60.5.0.tar.gz cd setuptools-60.5.0 python3 setup.py install pip install ujson Cd OLED_python3 sudo python3 setup.py install |
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
I follow the step in the INSTALL.md, after I type 'python setup.py develop' in the terminal, the terminal show the error.
Reproduction
No
default
Environment
Error traceback
If applicable, paste the error trackback here.
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered: