tejado / pgoapi

Pokemon Go API lib
Other
1.4k stars 445 forks source link

Error when Opening pgoapi.py it says "from . import __title__, __version__, __copyright__ ValueError: Attempted relative import in non-package" #218

Open riyadfebrian opened 8 years ago

riyadfebrian commented 8 years ago

i've install pgoapi with the requirements, but when i try to opened it... the error message shows like this :

"from . import title, version, copyright ValueError: Attempted relative import in non-package"

how to fix that ?

riyadfebrian commented 8 years ago

from . import __title__, __version__, __copyright__ it seems there's something wrong with this code, in line 33

tejado commented 8 years ago

Are you using my repo or the one of keyphact? :o And how does your code look like?

riyadfebrian commented 8 years ago

lol.. i made a code for keyphact but i use your repo, i think it's same... after all, it's not match, so i use keyphact... and it's works... thanks great :)

Trolldemorted commented 8 years ago

while we are at it, will you merge keyphacts PR?