Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Python Help?

  1. #1

    ThePrimeOfAllPrimes's Avatar
    Join Date
    Apr 2016
    Posts
    135
    Userbars
    2
    Thanks
    7
    Thanked 12 Times in 11 Posts
    Downloads
    5
    Uploads
    0
    Mentioned
    19 Post(s)
    Time Online
    2 d 1 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    6

    Python Help?

    Need some help installing pgoapi from pip

    Stay down, you do not want to get up.

  2. #2
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    Quote Originally Posted by ThePrimeOfAllPrimes View Post
    Need some help installing pgoapi from pip

    Stay down, you do not want to get up.
    Did you follow the instructions from [Only registered and activated users can see links. ]?
    Edit: Alternatively, just download & install [Only registered and activated users can see links. ]
    And then run
    Code:
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    Last edited by Accelerator; 08-14-2016 at 11:40 AM.

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  3. The Following User Says Thank You to Accelerator For This Useful Post:

    ThePrimeOfAllPrimes (08-14-2016)

  4. #3

    ThePrimeOfAllPrimes's Avatar
    Join Date
    Apr 2016
    Posts
    135
    Userbars
    2
    Thanks
    7
    Thanked 12 Times in 11 Posts
    Downloads
    5
    Uploads
    0
    Mentioned
    19 Post(s)
    Time Online
    2 d 1 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    6
    Quote Originally Posted by Accelerator View Post
    Did you follow the instructions from [Only registered and activated users can see links. ]?
    Edit: Alternatively, just download & install [Only registered and activated users can see links. ]
    And then run
    Code:
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    Do I run it from git or pip?

    Stay down, you do not want to get up.

  5. #4
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    Quote Originally Posted by ThePrimeOfAllPrimes View Post
    Do I run it from git or pip?

    Stay down, you do not want to get up.
    Neither; cmd/command prompt.
    The command I posted is basically pip, but it needs to clone a repository from github so you need to have git installed.
    Last edited by Accelerator; 08-14-2016 at 03:53 PM.

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  6. The Following User Says Thank You to Accelerator For This Useful Post:

    ThePrimeOfAllPrimes (08-14-2016)

  7. #5

    ThePrimeOfAllPrimes's Avatar
    Join Date
    Apr 2016
    Posts
    135
    Userbars
    2
    Thanks
    7
    Thanked 12 Times in 11 Posts
    Downloads
    5
    Uploads
    0
    Mentioned
    19 Post(s)
    Time Online
    2 d 1 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    6
    Quote Originally Posted by Accelerator View Post
    Neither; cmd/command prompt.
    If I don't run it from python27/scripts, pip isn't a valid command

    Edit: I had the - in the wrong place. It works now. Thanks!

    Edit: Maybe not.

    Stay down, you do not want to get up.
    Last edited by ThePrimeOfAllPrimes; 08-14-2016 at 04:18 PM.

  8. #6
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    Quote Originally Posted by ThePrimeOfAllPrimes View Post
    If I don't run it from python27/scripts, pip isn't a valid command

    Stay down, you do not want to get up.
    That's cause you didn't add python scripts to PATH (or didn't do it correctly)
    Code:
    setx PATH "%PATH%;C:\Python27\Scripts"
    (can't remember if you need admin privileges for that, but you probably do.)

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  9. The Following User Says Thank You to Accelerator For This Useful Post:

    ThePrimeOfAllPrimes (08-14-2016)

  10. #7

    ThePrimeOfAllPrimes's Avatar
    Join Date
    Apr 2016
    Posts
    135
    Userbars
    2
    Thanks
    7
    Thanked 12 Times in 11 Posts
    Downloads
    5
    Uploads
    0
    Mentioned
    19 Post(s)
    Time Online
    2 d 1 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    6
    Quote Originally Posted by Accelerator View Post
    That's cause you didn't add python scripts to PATH (or didn't do it correctly)
    Code:
    setx PATH "%PATH%;C:\Python27\Scripts"
    (can't remember if you need admin privileges for that, but you probably do.)


    Stay down, you do not want to get up.

  11. #8
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    Quote Originally Posted by ThePrimeOfAllPrimes View Post


    Stay down, you do not want to get up.
    I got that error once when I had pgoapi already installed.
    try
    Code:
    pip uninstall pgoapi
    and then
    Code:
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    again?
    Did you install git with the default options?

    Edit:
    You missed/forgot
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    Y U NO BROWSE cK ON YOUR PC AND C&P (?)
    Last edited by Accelerator; 08-14-2016 at 04:37 PM.

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  12. The Following User Says Thank You to Accelerator For This Useful Post:

    ThePrimeOfAllPrimes (08-14-2016)

  13. #9

    ThePrimeOfAllPrimes's Avatar
    Join Date
    Apr 2016
    Posts
    135
    Userbars
    2
    Thanks
    7
    Thanked 12 Times in 11 Posts
    Downloads
    5
    Uploads
    0
    Mentioned
    19 Post(s)
    Time Online
    2 d 1 h 5 m
    Avg. Time Online
    1 m
    Rep Power
    6
    Quote Originally Posted by Accelerator View Post
    I got that error once when I had pgoapi already installed.
    try
    Code:
    pip uninstall pgoapi
    and then
    Code:
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    again?
    Did you install git with the default options?
    Edit:
    You missed
    pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi
    Y U NO BROWSE cK ON YOUR PC AND C&P (?)
    "Cannot uninstall requirement pgoapi, not installed"

    Stay down, you do not want to get up.

  14. #10
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    @[Only registered and activated users can see links. ] Read the latest rev. of my post

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  15. The Following User Says Thank You to Accelerator For This Useful Post:

    ThePrimeOfAllPrimes (08-14-2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •