insidesherpa / JPMC-tech-task-1-PY3

50 stars 448 forks source link

python3 server3.py #238

Open oprajapati1 opened 2 years ago

oprajapati1 commented 2 years ago

When I try to run the server using 'python3 server3.py' it returns an error as "'python3' is not recognizable as an internal or external command, operable program or batch file". The server command should work as 'pip' and the basic functions like print("hello world") all work within the command prompt.

I have tried everything from editing the system environment variables, opening all ports that could be blocked by my firewall, reinstalling python with path variables included. It seems as if it is just this 'python3 server3.py' command is not working as all other functions of python work just fine.

pyserverror

Timmermj10 commented 2 years ago

Hello, I had this issue as well! You should be able to solve this particular one by typing just py (rather than python3) or py -3 (if you have more than one installation of python! If you run into the subsequent error of 'dateutil' not being found run: pip install python-dateutil Good luck! This has been a nightmare for me so far, that 5 hours they suggested really didn't account for all this I suppose!