question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot import name "Feature" from "setuptools" in version 46.0.0

See original GitHub issue

Your last version is giving the following error:

ImportError: cannot import name 'Feature' from 'setuptools'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:62
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

365reactions
dwilhel1commented, Mar 27, 2020

pinning to setuptools < 46 while you find another solution is the right way to go.

I’m a little new to Python-related utils and such, here’s the command I had to use to resolve this: pip3 install setuptools==45

21reactions
lwalejkocommented, Apr 20, 2020

I see that it was removed in #65, re-introduced in #161, and removed again in #1979

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: cannot import name 'Feature' from 'setuptools
The bug was fixed in version 1.1 but deepdyn requires version 1.0. This is probably a bug in deepdyn and should be reported....
Read more >
Heroku setuptools error importing Feature
Hey I tried doing that as suggested by changing the markup version to 1.1.1 on the requirements.txt. However things aren't looking good still....
Read more >
py37-zopeinterface build failure: cannot import name 'Feature ...
On attempting to install Certbot on PPC/G5/10.5.8, fails with: Error: Failed to build py37-zopeinterface: command execution failed.
Read more >
ImportError: cannot import name 'Feature' - Launchpad Bugs
Two days ago setuptools v46 got released. One of changes was drop of Features feature. Now Kolla builds fail: INFO:kolla.common.utils.horizon: ...
Read more >
1817697 – openslide-python fails to build with setuptools 46+
... fails to build with setuptools 46+: cannot import name 'Feature' from 'setuptools' ... Fixed In Version: openslide-python-1.1.1-20.fc33.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found