Code Monkey home page Code Monkey logo

Comments (8)

ppwfx avatar ppwfx commented on June 4, 2024 1

Just had a look in the tests. It works if you import it via from airtable import airtable

from airtable.py.

h avatar h commented on June 4, 2024 1

It's a bit surprising that the import is "from airtable.airtable import Airtable" instead of "from airtable import Airtable".

I'd suggest fixing that with this pull request: #24

from airtable.py.

gnoe8307 avatar gnoe8307 commented on June 4, 2024

ok, thanks, I got confused.

I made it work with

from airtable.airtable import Airtable

from airtable.py.

daveaseeman avatar daveaseeman commented on June 4, 2024

@21stio still not working for me - I have from airtable import airtable but get the message:

ImportError: cannot import name airtable

update:
Nevermind, I'm an idiot. That worked, thank you

from airtable.py.

lemonez avatar lemonez commented on June 4, 2024

@daveaseeman I am getting the same error message that you got:

from airtable import Airtable

ImportError: cannot import name 'Airtable'

I have also tried:

from airtable import airtable and I get an analogous error message.

This also doesn't work:

from airtable.airtable import Airtable

because:

ModuleNotFoundError: No module named 'airtable.airtable'; 'airtable' is not a package

What did you change to make it work? Or is it possible that the module has been changed substantially over the past year?
Thanks.

from airtable.py.

daveaseeman avatar daveaseeman commented on June 4, 2024

from airtable.py.

lemonez avatar lemonez commented on June 4, 2024

@daveaseeman , thanks so much for the response. no worries, I just got it to work...noob mistake, i had named one of my scripts airtable.py so when I imported the module it was trying to import my script. it's working great now :)

from airtable.py.

daveaseeman avatar daveaseeman commented on June 4, 2024

from airtable.py.

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.