Giter Club home page Giter Club logo

Comments (5)

drewbo avatar drewbo commented on June 20, 2024 1

@PallawiSinghal it looks like you're using python 2.7 but only 3.6+ is supported

from label-maker.

PallawiSinghal avatar PallawiSinghal commented on June 20, 2024

Thank you. I changed that and it worked
Now when I run the above command I get the following error:
Can you please help. I have almost spent 3 days but I am not able to run this.

(venv) pallawi@pallawi-Nitro-AN715-51:~/my_new_project$ label-maker download --dest ./data/ --config config.json
Traceback (most recent call last):
File "/home/pallawi/my_new_project/venv/bin/label-maker", line 7, in
from label_maker.main import cli
File "/home/pallawi/my_new_project/venv/lib/python3.6/site-packages/label_maker/main.py", line 14, in
from label_maker.label import make_labels
File "/home/pallawi/my_new_project/venv/lib/python3.6/site-packages/label_maker/label.py", line 22, in
from label_maker.utils import class_match
ImportError: cannot import name 'class_match'

from label-maker.

PallawiSinghal avatar PallawiSinghal commented on June 20, 2024

Finally I did it. yeeeee.
Just wrote
**from label_maker.utils impor t * **
and it worked.

from label-maker.

ramyaragupathy avatar ramyaragupathy commented on June 20, 2024

@drewbo - I'm still seeing this error:

from label_maker.utils import class_match ImportError: cannot import name 'class_match'

Did you update the files under lib directly @PallawiSinghal - even that threw the same error for me specifically for get_image function

from label-maker.

Rub21 avatar Rub21 commented on June 20, 2024

@ramyaragupathy Maybe you could use label-maker from the docker container: https://github.com/developmentseed/docker-label-maker it works fine for me.

from label-maker.

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.