Code Monkey home page Code Monkey logo

Comments (11)

shazow avatar shazow commented on May 18, 2024

What version are you using? We just added py3 support.

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024

The version from pip3 install apiclient

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024
$ pip3 show apiclient
---
Name: apiclient
Version: 1.0.2
Location: /home/ubuntu/environment3/lib/python3.4/site-packages
Requires:

from apiclient.

shazow avatar shazow commented on May 18, 2024

Ah I lied, we never published a new version of this package, I was thinking of another package I maintain.

Can you try the latest version in master to see if it works?

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024

Is there an easy way to install that with pip? I'm not super familiar with the distribution tools.

from apiclient.

shazow avatar shazow commented on May 18, 2024

Try pip3 install git+https://github.com/shazow/apiclient

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024
$ pip3 install --upgrade git+https://github.com/shazow/apiclient
Downloading/unpacking git+https://github.com/shazow/apiclient
  Cloning https://github.com/shazow/apiclient to /tmp/pip-q5qkukzf-build
  Running setup.py (path:/tmp/pip-q5qkukzf-build/setup.py) egg_info for package from git+https://github.com/shazow/apiclient

Requirement already up-to-date: urllib3 in /home/ubuntu/environment3/lib/python3.4/site-packages (from apiclient==1.0.2)
Installing collected packages: apiclient
  Found existing installation: apiclient 1.0.2
    Uninstalling apiclient:
      Successfully uninstalled apiclient
  Running setup.py install for apiclient

Successfully installed apiclient
Cleaning up...

When I run nosetests on my app I get

ImportError: No module named 'apiclient.discovery'

Did the api change?

from apiclient.

shazow avatar shazow commented on May 18, 2024

Possibly? Though I don't recall there ever being a discovery submodule.

Honestly this library is not very maintained anymore. It's very simple in what it does, so I haven't touched it in years.

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024

I wonder if this project I'm trying to update was actually using another library that happened to have the same name

from apiclient.

shazow avatar shazow commented on May 18, 2024

Quite possibly. :)

from apiclient.

Daenyth avatar Daenyth commented on May 18, 2024

Yup, it's this one: https://developers.google.com/api-client-library/python/start/get_started

Thanks for the quick response in any case!

from apiclient.

Related Issues (8)

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.