Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. import myfitnesspal
  2.  
  3.  
  4. client = myfitnesspal.Client('username')
  5.  
  6. day = client.get_date(2013, 3, 2)
  7. print(day)
  8.  
  9. Traceback (most recent call last):
  10. File "/Users/user/Desktop/PythonWorkspace/myfitnesspal.py", line 1, in
  11. import myfitnesspal
  12. File "/Users/user/Desktop/PythonWorkspace/myfitnesspal.py", line 4, in
  13. client = myfitnesspal.Client('username')
  14. AttributeError: module 'myfitnesspal' has no attribute 'Client'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement