pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

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

Open riyadfebrian opened this issue 9 years ago • 4 comments

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 avatar Aug 14 '16 01:08 riyadfebrian

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

riyadfebrian avatar Aug 14 '16 01:08 riyadfebrian

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

tejado avatar Aug 14 '16 10:08 tejado

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 :)

riyadfebrian avatar Aug 14 '16 11:08 riyadfebrian

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

Trolldemorted avatar Aug 14 '16 12:08 Trolldemorted