You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Traceback (most recent call last):
File "/Users/rajivreddy/PycharmProjects/Ezbuilder/source/marathon.py", line 1, in
import marathon
File "/Users/rajivreddy/PycharmProjects/Ezbuilder/source/marathon.py", line 3, in
c = marathon.MarathonClient("http://10.10.201.71:8080")
AttributeError: module 'marathon' has no attribute 'MarathonClient'
Python Version:
$python --version
Python 3.5.1 :: Continuum Analytics, Inc.
The text was updated successfully, but these errors were encountered:
rajivreddy
changed the title
Weired error: AttributeError: module 'marathon' has no attribute 'MarathonClient'
AttributeError: module 'marathon' has no attribute 'MarathonClient'
May 11, 2016
I suspect your marathon module is clashing with the one you're trying to import. Try renaming your marathon.py to foo.py and I suspect it'll work just fine.
Hi,
I installed package through pip
when i try to load *_"from marathon import MarathonClient" *_in script, i am getting an error message.
marathon.py file:
Error:
Traceback (most recent call last):
File "/Users/rajivreddy/PycharmProjects/Ezbuilder/source/marathon.py", line 1, in
import marathon
File "/Users/rajivreddy/PycharmProjects/Ezbuilder/source/marathon.py", line 3, in
c = marathon.MarathonClient("http://10.10.201.71:8080")
AttributeError: module 'marathon' has no attribute 'MarathonClient'
Python Version:
$python --version
Python 3.5.1 :: Continuum Analytics, Inc.
The text was updated successfully, but these errors were encountered: