I am no expert, but I have used Python in a professional environment, and helped on board a Python newbie to build out his first project.
It would be helpful to know what your environment looks like (what OS you are running, Python version, terminal interface – are you running cmd, powershell, terminal) and which steps prompts the reported error messages.
Starting from the first time running Python using a Windows computer, the first steps should be
Launch Powershell as admin and type in the following commands:
set-executionpolicy remotesigned
winget install python
mkdir python
cd python
python -m venv scraper
.\scraper\Scripts\activate
Following that you should be able to use pip to install more modules or packages. I have Visual Studio Code as my IDE, and that means from there I can also run code to open the text editor to write whatever code I intend to run. Be sure to save it to
C:\Users\youruseraccount\python
If your scripts are saved to that folder, you can run them from powershell by just typing in their filename. Any time you run scripts, open powershell and type cd python and then .\scraper\Scripts\activate Hit enter, then type in the name of the script you want to run.
This information dump is not the most detailed, but it should get you to the point that you can run your scripts.
I am no expert, but I have used Python in a professional environment, and helped on board a Python newbie to build out his first project.
It would be helpful to know what your environment looks like (what OS you are running, Python version, terminal interface – are you running cmd, powershell, terminal) and which steps prompts the reported error messages.
Starting from the first time running Python using a Windows computer, the first steps should be
Launch Powershell as admin and type in the following commands:
set-executionpolicy remotesigned
winget install python
mkdir python
cd python
python -m venv scraper
.\scraper\Scripts\activate
Following that you should be able to use
pip
to install more modules or packages. I have Visual Studio Code as my IDE, and that means from there I can also runcode
to open the text editor to write whatever code I intend to run. Be sure to save it to C:\Users\youruseraccount\python If your scripts are saved to that folder, you can run them from powershell by just typing in their filename. Any time you run scripts, open powershell and typecd python
and then.\scraper\Scripts\activate
Hit enter, then type in the name of the script you want to run.This information dump is not the most detailed, but it should get you to the point that you can run your scripts.