Code Monkey home page Code Monkey logo

Comments (2)

nmadan avatar nmadan commented on September 22, 2024

Hi @asarasua, thanks for opening an issue for this. We are actively working on a fix.

from sagemaker-python-sdk.

arun-akur8 avatar arun-akur8 commented on September 22, 2024

Hello!

It seems I still get the same error when using remote decorator in VSCode in Code Editor Space in AWS Sagemaker Studio. Would it be the same issue?

Error is :

/miniconda3/bin/python: Error while finding module specification for 'sagemaker.remote_function.invoke_function' (ModuleNotFoundError: No module named 'sagemaker')

Minimal code example:

from sagemaker.remote_function import remote
import sagemaker
import boto3
boto_session = boto3.Session()
sm_session = sagemaker.Session(boto_session,default_bucket="default_bucket")
image_uri = sagemaker.image_uris.retrieve(sagemaker.image_uris.SKLEARN_FRAMEWORK,version="1.2-1",region=region)
settings = dict(
         sagemaker_session=sm_session,
         role=sagemaker.get_execution_role(),
         instance_type="ml.m5.large", image_uri=image_uri)

sagemaker version: 2.200.0, 2.221.0
Python version: 3.8
Boto version: 1.34.109

from sagemaker-python-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.