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

error while running pip install cells for Fraud Detector Notebook 1 #3378

Closed
geremyCohen opened this issue May 5, 2022 · 1 comment
Closed

Comments

@geremyCohen
Copy link

geremyCohen commented May 5, 2022

Link to the notebook
Add the link to the notebook.

Describe the bug
While performing pip install step,
AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts' is thrown

To reproduce
Run the pip install cell for Fraud Detection Notebook 1 on a Studio Notebook. Issue does appear to happen on Sagemaker Classic Notebook.

To get around this, before those pip commands, insert a cell above with the following:

pip uninstall -y setuptools
pip install setuptools==60.8.2

This forces an earlier version of setuptools to install which doesn't appear to have this issue. Solution inspired from pypa/setuptools#3118

@geremyCohen geremyCohen changed the title [Bug Report] error while running pip install cells for Fraud Detector Notebook 1 May 5, 2022
@shreyapandit
Copy link
Contributor

This has since been fixed.

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

2 participants