Skip to content

Unable to install sagemaker using pip3 and python3 (3.5.2) on ubuntu 16.04 #7

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

Closed
karanrn opened this issue Dec 6, 2017 · 2 comments

Comments

@karanrn
Copy link

karanrn commented Dec 6, 2017

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/sagemaker/init.py", line 15, in
from sagemaker import estimator
File "/usr/local/lib/python3.5/dist-packages/sagemaker/estimator.py", line 24, in
from sagemaker.model import Model
File "/usr/local/lib/python3.5/dist-packages/sagemaker/model.py", line 18, in
from sagemaker.session import Session
File "/usr/local/lib/python3.5/dist-packages/sagemaker/session.py", line 32, in
SDK_VERSION = pkg_resources.require('sagemaker')[0].version
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 984, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 875, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (botocore 1.7.48 (/home/karan/.local/lib/python3.5/site-packages), Requirement.parse('botocore<1.9.0,>=1.8.0'), {'boto3'})

@lukmis
Copy link
Contributor

lukmis commented Dec 6, 2017

Hi,

Seems like you might have previous version of botocore installed on your system. Could you try to upgrade the botocore with:

pip3 install -U botocore

After you upgrade this error should go away.

@karanrn
Copy link
Author

karanrn commented Dec 7, 2017

I had to uninstall and install botocore again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants