(Apr-23-2020, 12:40 PM)ErnestTBass Wrote: am not using Python 2.7 code. The person who wrote this program is.
I just want the program to run. When I get that I will move it to Python 3.8 or whatever
is the latest version of python.
Repo link in in Youtube.
As we did talk about
conda
in other Thread i will use that.So i use
pip
(will pull down Python 3.8.2) here as conda
can't find Pygame.Here are all commands,and it works for me.
# Make enviroment G:\Anaconda3\Scripts λ conda create --name scraper_env pip Collecting package .... # Activate G:\Anaconda3\Scripts λ activate scraper_env # Cd to enviroment (scraper_env) G:\Anaconda3\Scripts λ cd .. (scraper_env) G:\Anaconda3 λ cd envs\ (scraper_env) G:\Anaconda3\envs λ cd scraper_env\ # Clone Repo (scraper_env) G:\Anaconda3\envs\scraper_env λ git clone https://github.com/SpiceBucks/SpicyArbs.git Cloning into 'SpicyArbs'... remote: Enumerating objects: 33, done. remote: Counting objects: 100% (33/33), done. remote: Compressing objects: 100% (25/25), done. remote: Total 33 (delta 10), reused 30 (delta 7), pack-reused 0 Unpacking objects: 100% (33/33), done. Checking connectivity... done. # Navigate (scraper_env) G:\Anaconda3\envs\scraper_env λ cd SpicyArbs\ # list files dir(in cmd) (scraper_env) G:\Anaconda3\envs\scraper_env\SpicyArbs (master) λ ls LICENSE README.md main_webscraper.py requirements.txt templates/ util/ webscraping/ # Use requirements.txt (scraper_env) G:\Anaconda3\envs\scraper_env\SpicyArbs (master) λ pip install -r requirements.txt Collecting .... Successfully installed beautifulsoup4-4.8.2 chardet-3.0.4 idna-2.8 numpy-1.18.0 pygame-1.9.6 requests-2.22.0 soupsieve-2.0 urllib3-1.25.9 # Run code (scraper_env) G:\Anaconda3\envs\scraper_env\SpicyArbs (master) λ python main_webscraper.py pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html DEBUG::Examining American Football arbitrage opportunities. DEBUG::Examining arbitrage opportunities in game: BYU at Utah. DEBUG::Considering market: Winner. DEBUG::Examining arbitrage opportunities in game: USC at Alabama. DEBUG::Considering market: Winner. DEBUG::Examining arbitrage opportunities in game: Michigan at Washington Huskies. DEBUG::Considering market: Winner. DEBUG::Examining arbitrage opportunities in game: Louisville at Clemson. DEBUG::Considering market: Winner. DEBUG::Examining arbitrage opportunities in game: Ohio State at Oregon. DEBUG::Considering market: Winner. ......