kazuar / login_scraper_example

214 stars 137 forks source link

I am a beginner coder and I do not know what program I put this code into. #3

Open carljr123 opened 7 years ago

carljr123 commented 7 years ago

What language is this code in and what program do I use to run this code? Thank you very much

carljr123 commented 7 years ago

Also, I am trying to get into https://www.truthfinder.com/login Thank you

kazuar commented 7 years ago

@carljr123 The code is in python.

In order to run it:

  1. Make sure you have Python > 2.7 installed on your machine.

  2. Install the requirement file (requirements.txt)

pip install -r requirements.txt
  1. Run the script:
python <file_name>
carljr123 commented 7 years ago

Thank you for the response and I completed step one, but I am stuck on step two. When I put that code in the python application, it says pip install -r requirements.txt File "", line 1 pip install -r requirements.txt ^ SyntaxError: invalid syntax

I am not sure what to do. Thank you. Also, I see that you have the file requirements.txt, but how do I download that file, and where do I download it to? Thank you so much, man.

kazuar commented 7 years ago

@carljr123

  1. In order to download the project, please follow this tutorial Cloning a repository

  2. Seems like you don't have pip installed on your machine. Try to use this tutorial in order to install pip and virtualenv on your machine - pip tutorial

  3. After you're done with both, go to the folder on your computer where you've installed pip and run the "pip" install commend again:

pip install -r requirements.txt
carljr123 commented 7 years ago

Thank you so much. I will do that and I'll tell you how it goes.

carljr123 commented 7 years ago

I typed git clone https://github.com/kazuar/login_scraper_example.git and hit enter and it came with this: $ git clone https://github.com/kazuar/login_scraper_example.git Cloning into 'login_scraper_example'... fatal: unable to access 'https://github.com/kazuar/login_scraper_example.git/': error setting certificate verify locations: CAfile: C:/git bash/Git/mingw32/ssl/certs/ca-bundle.crt CApath: none

Did I do anything wrong? Again, thank you so much for helping me through all of this. I really appreciate it.

kazuar commented 7 years ago

I don't have much experience with git on windows but maybe try the solution described here: http://stackoverflow.com/questions/3778042/github-error-cloning-my-private-repository

carljr123 commented 7 years ago

Okay, so I figured out how to download the repository and I installed pip and virtualenv, but I do not know what you mean by go to the folder where you installed pip and run pip -r requirements.txt. I'm not sure how to do that.

carljr123 commented 7 years ago

Okay, so I think I added pip to my path, but when I run pip install -r requirements.txt it says no such file or directory

kazuar commented 7 years ago

Hi, sorry for the delay.

Try to do the following, go to the folder where you cloned / downloaded the repository to and try to run the pip command:

cd <path_to_cloned_repository>
pip install -r requirements.txt

If you get any error copy and paste it here and I'll try to help you solve it.

carljr123 commented 7 years ago

When I type the words below it shows this error message: PS C:\WINDOWS\system32> cd C:\programming\python 3.6.1\repository\login_scraper_example-master Set-Location : A positional parameter cannot be found that accepts argument '3.6.1\repository\login_scraper_example-master'. At line:1 char:1

algobasket commented 7 years ago

II get this error after i use pip install -r requirements.txt image

algobasket commented 7 years ago

image