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

DistutilsSetupError("each element of 'ext_modules' option must be an Extension instance or 2-tuple") #3379

Closed
LYKlyk opened this issue Jul 22, 2020 · 8 comments · Fixed by #3994
Assignees
Labels
installation/env The problem about codebase installation or running environment.

Comments

@LYKlyk
Copy link

LYKlyk commented Jul 22, 2020

File "mmlab/lib/python3.7/distutils/command/build_ext.py", line 363, in check_extensions_list
"each element of 'ext_modules' option must be an "
setuptools.sandbox.UnpickleableException: DistutilsSetupError("each element of 'ext_modules' option must be an Extension instance or 2-tuple")

How to solve this problem? Thank you.

@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Jul 22, 2020

Please use the Error Template to provide more information.

@ZwwWayne ZwwWayne added the question Further information is requested label Jul 22, 2020
@ZihuaTan
Copy link

I face the same situation here.
could somebody help?

@1LOVESJohnny
Copy link

Hi, I met the same problem. Did you find a solution?

@KevinQian97
Copy link

I also encounter such a problem. And I found out it's because I build the environment from miniconda instead of anaconda. So manually install Cython and pip install -r requirements.txt help me solve the problem.

@blackCmd
Copy link

blackCmd commented Sep 4, 2020

I also encounter such a problem. And I found out it's because I build the environment from miniconda instead of anaconda. So manually install Cython and pip install -r requirements.txt help me solve the problem.

Yes! you save me

@ZwwWayne
Copy link
Collaborator

I also encounter such a problem. And I found out it's because I build the environment from miniconda instead of anaconda. So manually install Cython and pip install -r requirements.txt help me solve the problem.

Thanks for your kind solution, would you like to update your experience to the trouble shooting documentation thus it could benefit more people? PRs are welcomed.

@ZwwWayne ZwwWayne added installation/env The problem about codebase installation or running environment. and removed question Further information is requested labels Sep 22, 2020
@Fly-dream12
Copy link

Have you fixed it ? I have met the same problem as you.

@Fly-dream12
Copy link

@KevinQian97

FANGAreNotGnu pushed a commit to FANGAreNotGnu/mmdetection that referenced this issue Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation/env The problem about codebase installation or running environment.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants