googleads / googleads/googleads-python-lib

module 'googleads.oauth2' has no attribute

Đang mở
#393 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@BenRKarl đang làm issue này rồi.

Từ ngày 9/7/2019.

Ngôn ngữ chính
Python
Star
749
Fork
967
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When running the access token example, I receive the error

AttributeError: module 'googleads.oauth2' has no attribute 'GetAPIScope'

However, I can run the following without issue

from googleads import oauth2

I install the library using pip install googleads and all the necessary files, including oauth2.py, can be found inside

/Users/username/DevEnv/lib/python3.7/site-packages/googleads/

Does this have something to do with how I import the package, or am I using an old example?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.