403-Fruit / csctl

Scripting CS:GO over telnet.
GNU General Public License v3.0
61 stars 8 forks source link

Can't set it up #3

Closed FFGamer04 closed 3 years ago

FFGamer04 commented 3 years ago

When I run the "Set up commands in python, this happens D__Python_python exe 22_03_2021 10_23_17

deepakrvg commented 3 years ago

You are using python shell. Try using terminal or command prompt in windows

FFGamer04 commented 3 years ago

It didn't work either. Can you give me a short tutorial? I'm totally new to python

deepakrvg commented 3 years ago

First install git from browser. Run it. Then use command prompt or git bash. Then use command git clone ...

Run pip install ... on command prompt or terminal

deepakrvg commented 3 years ago

It didn't work either. Can you give me a short tutorial? I'm totally new to python

pip install psutil Try using these command on your terminal

FFGamer04 commented 3 years ago

So: I ran the first command on git, then the second on command prompt, but, when I tried the 3rd, this happened: "'pip' is not recognized as an internal or external command, operable program or batch file."

deepakrvg commented 3 years ago

Open command prompt in administrative mode and run python -m pip install psutil

FFGamer04 commented 3 years ago

"Python not found" I'm terribly sorry to be bothering you, but I really want to run this

deepakrvg commented 3 years ago

Install python from python.org

FFGamer04 commented 3 years ago

It is installed and running

deepakrvg commented 3 years ago

psutil python

check command should be same means lower case as typed

FFGamer04 commented 3 years ago

Captura de ecrã 2021-03-22 113325 The error message is in portuguese, but the translation is "Python not found, execute without arguments to install from microsoft store or deactivate this shortcut in Settings > manage aplication execution aliases"

deepakrvg commented 3 years ago

Reinstall python and install python from python.org While executing python make sure "add python to path" option is checked

FFGamer04 commented 3 years ago

Done, it was the add python to path option, thanks!

FFGamer04 commented 3 years ago

How do I run it now?

deepakrvg commented 3 years ago

After installing psutil from pip use it in your program by importing that module. import psutil

FFGamer04 commented 3 years ago

on python?

deepakrvg commented 3 years ago

Yes

FFGamer04 commented 3 years ago

image What am I meant to do?

deepakrvg commented 3 years ago

Write your program. Or see tutorials for using that module.

FFGamer04 commented 3 years ago

Can I write the program in Notepad++ and then add it to the "examples folder"?

deepakrvg commented 3 years ago

Yes you can write program in any text editor like notepad or notepad++. Just save the file with .py extension

FFGamer04 commented 3 years ago

ok thanks! Do i need to have python running in backgound while playing?

deepakrvg commented 3 years ago

Yes you have to interpret that program by running python in background

FFGamer04 commented 3 years ago

ok thx

FFGamer04 commented 3 years ago

When typing in the console, should I add the suffix .py?