Coder Social home page Coder Social logo

Install in Google Colab? about metaflow HOT 7 CLOSED

lpcteste avatar lpcteste commented on May 17, 2024
Install in Google Colab?

from metaflow.

Comments (7)

romain-intel avatar romain-intel commented on May 17, 2024 3

Hello @leocaldeira, I tried it on colab.research.google.com and it works if you do the following:

import os
os.environ['USERNAME'] = 'leo'
!pip install metaflow
!metaflow tutorials pull
!python metaflow-tutorials/00-helloworld/helloworld.py run

You can then use the client directly like so:

from metaflow import Flow
f = Flow('HelloFlow').latest_successful_run
...

Let me know if this helps.

from metaflow.

casey-barr avatar casey-barr commented on May 17, 2024 1

@leocaldeira

Use a ! before your pip command.

i.e. - !pip install metaflow

from metaflow.

crk-codaio avatar crk-codaio commented on May 17, 2024 1

metaflow is a binary auto generated by setup tools. You can either do: os.system or subprocess module and launch which metaflow. You can run the remaining commands in a similar fashion.
And let us know if the issue persists.

from metaflow.

lpcteste avatar lpcteste commented on May 17, 2024

@casey-barr , the error persists.
image

image

from metaflow.

lpcteste avatar lpcteste commented on May 17, 2024

I tested it in other ways and got the same feedback...
@seeravikiran or @casey-barr can u send me a example?

image

from metaflow.

lpcteste avatar lpcteste commented on May 17, 2024

image

from metaflow.

lpcteste avatar lpcteste commented on May 17, 2024

Using ! in front of metaflow worked perfectly.
tyvm :)

from metaflow.

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.