Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completely and utterly lost. #1946

Closed
Matthewill opened this issue Jul 31, 2016 · 54 comments
Closed

Completely and utterly lost. #1946

Matthewill opened this issue Jul 31, 2016 · 54 comments

Comments

@Matthewill
Copy link

I'm sorry for this but i'm stuck at installing Pip and i'm lost on what to do after installing python

@ysholqamy
Copy link

I can help. What's your OS?

@Matthewill
Copy link
Author

windows 10

@ysholqamy
Copy link

ysholqamy commented Jul 31, 2016

Ok. go to pip and download the file at get-pip.py. Then hit the start button and search for command prompt. Using the command prompt type cd /path/to/the/downloaded/file then python get-pip.py . This will install pip, happy hunting!

@ysholqamy
Copy link

you still have to install protobuf, let me know if you are still struggling with the bot.

@Orrielel
Copy link

Shift and Right click in the folder where get-pip.py is located will open up the command prompt in that location, skipping the need to cd.

@Matthewill
Copy link
Author

Okay still getting nothing, I downloaded python and extracted everything into my portable Hard Drive. Which is E, into a folder named Pokemon GO into another folder named Python. The whole pip.py thing just isn't clicking to me.

@ysholqamy
Copy link

Open a command prompt and type python. Paste here the results please

@Matthewill
Copy link
Author

Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>Python
'Python' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Melvin>

@ysholqamy
Copy link

small p python not Python.

@Matthewill
Copy link
Author

Matthewill commented Jul 31, 2016

same message

@ysholqamy
Copy link

hit start button, search for power shell and paste the following [Environment]::SetEnvironmentVariable("Path", "$env:Path;E:\Python\;E:\Python\Scripts\", "User")
this assumes that the Python installation folder is located at E:\ and is named Python. Afterwards open a new command prompt and type python and paste the results here

@Matthewill
Copy link
Author

Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>python
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Melvin>

@ysholqamy
Copy link

Where is your python installation folder located?

@ysholqamy
Copy link

is E:\Python the installation folder or a folder which includes the installation folder? by installation folder I mean the one resulted from running the python installer

@Orrielel
Copy link

Orrielel commented Jul 31, 2016

Could check it manually by going to Control Panel –> Advanced System Settings or System Properties –> Environment Variables and select PATH in the bottom list and click edit.
It should be E:\Python;E:\Python\Scripts at the end.

Searching for Environment Variables in search the web or windows is an alternative.

@ysholqamy
Copy link

it should be called something like python27 or python35

@Matthewill
Copy link
Author

Okay i moved it up to E, it was in another subfolder after that but clearly that's not working for me. Here's what the command prompt said now:
Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

@ysholqamy
Copy link

Good job, it is working now! close this command prompt. as @Orrielel said, Shift right-click in the folder where you downloaded get-pip.py and the type python get-pip.py

@Matthewill
Copy link
Author

That was my whole issue I couldn't figure out how to download it. The link took me to this page with a whole bunch of data but I wasn't sure what to do with it

@ysholqamy
Copy link

right-click save link as

@Matthewill
Copy link
Author

name it get-pip.py into the python folder?

@ysholqamy
Copy link

save it to E:\

@Matthewill
Copy link
Author

Saved it to E. But shift right click just does a normal right click action

@Orrielel
Copy link

It wont work if you have any folders or files selected.

@Matthewill
Copy link
Author

still not working

@ysholqamy
Copy link

Ok, right click on the get-pip.py then click properties then copy the its path or location on disk then open a new command prompty and type cd paste the path you just copied and then type python get-pip.py

@Matthewill
Copy link
Author

Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>cd E:\python get-pip.py
The system cannot find the path specified.

C:\Users\Melvin>

@ysholqamy
Copy link

just type cd E:\ and press enter then type python get-pip.py

@Matthewill
Copy link
Author

Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>cd E:\python get-pip.py
The system cannot find the path specified.

C:\Users\Melvin>cd E:\

C:\Users\Melvin>python get-pip.py
python: can't open file 'get-pip.py': [Errno 2] No such file or directory

C:\Users\Melvin>

@Matthewill
Copy link
Author

okay, remember my python is in a folder could that be it?

@ysholqamy
Copy link

just type e: and then type python get-pip.py

@Matthewill
Copy link
Author

Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>cd E:\python get-pip.py
The system cannot find the path specified.

C:\Users\Melvin>cd E:\

C:\Users\Melvin>python get-pip.py
python: can't open file 'get-pip.py': [Errno 2] No such file or directory

C:\Users\Melvin>E:

E:>python get-pip.py
Collecting pip
Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB)
100% |################################| 1.2MB 673kB/s
Collecting wheel
Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
100% |################################| 71kB 1.4MB/s
Installing collected packages: pip, wheel
Found existing installation: pip 7.0.1
Uninstalling pip-7.0.1:
Successfully uninstalled pip-7.0.1
Successfully installed pip-8.1.2 wheel-0.29.0

E:>

@ysholqamy
Copy link

horray!

@Matthewill
Copy link
Author

okay so, the installation instructions did NOT say it that simply. or maybe i'm bad at instructions. Either way thanks for not showing your frustration with my inability to breeze through this lol

@ysholqamy
Copy link

lol no problem. next you have to install protobuf

@Matthewill
Copy link
Author

Matthewill commented Jul 31, 2016

is git not necessary?Either way i'm installing everything to E

@ysholqamy
Copy link

it is necessary. but i think installing git is straightforward just google it and you will be ok.

@ysholqamy
Copy link

follow the instructions here

@Matthewill
Copy link
Author

installed everything, how do I change from master to dev?

@ysholqamy
Copy link

Open the command prompt, cd to the location you cloned the project into and type git checkout dev press enter then type git pull origin dev

@ysholqamy
Copy link

And are you sure you added protoc.exe to afolder in your PATH?

@Matthewill
Copy link
Author

no. is my path not E?

@ysholqamy
Copy link

No it is probably not. For now, place protoc.exe in your python installation folder

@Matthewill
Copy link
Author

Okay did that. Now for the Git.
Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

C:\Users\Melvin>E
'E' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Melvin>E:

E:>git checkout dev
fatal: Not a git repository (or any of the parent directories): .git

E:>
my git things are in a folder named Git. so do I E:\Git?

@ysholqamy
Copy link

No. Did you run the git clone command?

@ysholqamy
Copy link

In the instructions the last part

@Matthewill
Copy link
Author

Damnit I did but i accidentally put it in C. Is that okay?

@ysholqamy
Copy link

Yea it is. Open new command prompt and type c: and then cd PokemonGoBot and then type the commands i mentioned above to change to dev

@Matthewill
Copy link
Author

but everything is in E and the go bot is within like 3 subfolders should I bring it up? also PyYAML isn't installing because it can't find Python

@ysholqamy
Copy link

If you want to move it to E, you can. But you do not have to. I am not sure what is the problem with PyYAML, maybe it is looking for python in the c: but I am not sure

@Matthewill
Copy link
Author

Matthewill commented Jul 31, 2016

all it says is Python version 2.7 required. which was not found in the registry. And won't do anything from there except go back and cancel.

@Matthewill
Copy link
Author

Matthewill commented Jul 31, 2016

fixed that never mind. now it just keeps saying it stopped working when I hit install geez

@Matthewill
Copy link
Author

Okay. i think everything was done...now i don't know how to start it

@gregtampa
Copy link
Collaborator

go to the slack chatroom then in #help someone will help you setup the bot correctly
closed: NOT A BUG

hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this issue Sep 28, 2016
* Changed gym icons into shields/badges

* Added Harmony as gym shield/badge
hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this issue Sep 28, 2016
* show pokemon icon in select2 elements

* vertical-align class

* Add support for arbitrary pokemon sprites (PokemonGoF#1886)

* Add support for arbitrary pokemon sprites

* Use var instead of let

* Fix indentation

* Update select box listener for newer code

* Auto-resize icons depending on zoom depth

* Fix indentation

* Make icon cropping less aggressive, as it's only due to rounding errors

* Merged in changes from master README

* use sprite with css classes (not tested yet)

* better like this.

* resize + vertical align

* Add geolocation capability to mobile route (PokemonGoF#1687)

* Allow client to specify location of origin

* Conditionally get device's location for mobile route

* Reset app.min.js as it didn't change

* Add dynamic countdown timer and names

* Fix lured Pokéstops (PokemonGoF#1943)

* Update README.md

* easy-setup.sh: updates and cleanup (PokemonGoF#1836)

* easy-setup.sh: updates and cleanup

  - Check for debain based OS otherwise quit.
  - Use already bundled get-pip.py over debian's.
  - Use sudo in commands instead of exiting.
  - Be a little smarter with the creation of credentials.
  - Be more verbose for the user.
  - Declare script as shell script
  - Give script executable permissions.

* easy-setup.sh: remove sudo from pip

* fixed retrieving and storing values in localStorage (PokemonGoF#1694)

* Changed gym icons into shields/badges (PokemonGoF#1946)

* Changed gym icons into shields/badges

* Added Harmony as gym shield/badge

* Revert "Fix lured Pokéstops" (PokemonGoF#2033)

* Loading pokemons hangs, when Notification is not supported in browser (PokemonGoF#1985)

* Add Id to dropdown. (PokemonGoF#1958)

* Fix pokemon filter dropdown (PokemonGoF#2042)

* value was removed in AHAAAAAAA/PokemonGo-Map@b4c36a5

* Skip notification when merely redrawing existing pokemon (PokemonGoF#2017)

* Fix order of loading map.js and the map api (PokemonGoF#2043)

* Let's load map.js first. The callback for the api requires initMap
  to be defined or things break.
* Furthermore, defer, but don't async, the api call so we're sure
  everything is ready to go before it fires.

* Doesn't hammer the server when map download fails. (PokemonGoF#2040)

* Higher navbar (PokemonGoF#1515) (PokemonGoF#2050)

* Update main.css

* Update app.min.css

* Update _nav.scss


Rebase of PokemonGoF#1515

* Fix up this configuration mess (PokemonGoF#2021)

* Kill credentials.json with fire
* Match up our command line options with config.ini options
* Switch to ConfigArgParser to make the task of overriding
  config.ini options via command line parameters easier
* This provides a much easier long-term method of maintaining
  config/argument options

* Travis tests (PokemonGoF#2056)

* Travis tests

* Amended script tests per Chlodochar's suggestion

* Remove lured pokemon toggle (PokemonGoF#1995)

Remove lured pokemon toggle, fix pokestop with no lured pokemon

* Fix missing bracket

* Revert "Higher navbar (PokemonGoF#1515) (PokemonGoF#2050)" (PokemonGoF#2082)

There were problems with scrolling in the sidebar

* removed app.min.js and app.min.css as they are gitignored (PokemonGoF#2034)

* Fixes BOM marker with setup.bat on Windows (PokemonGoF#2108)

Currently, the Out-File PowerShell Cmdlet breaks config.ini by turning it into a Little Endian UTF-16 file, in turn breaking the script.
Replaced the Out-File Cmdlet with a python in-line replace of a file (I mean, we already have python, so why not make full use of it...?)

* Revert "removed app.min.js and app.min.css as they are gitignored" (PokemonGoF#2114)

* Update config.ini.example (PokemonGoF#2149)

Spelling error correction.

* outsource sprite css

* show pokemon icon in select2 elements

* vertical-align class

* use sprite with css classes (not tested yet)

* better like this.

* resize + vertical align

* outsource sprite css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants