-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you create guide to use/setup #11
Comments
You will need to download Python on your system. You can find the installers on their official site. After downloading open a Terminal and type "python3" (if you have installed Python 3), or else "python", just to verify whether the installation was successful. Then you can close the terminal. Then download the source files and extract them to a folder. After that open a Terminal, go to that folder where you extracted the contents and then type: "pip install -r settings\requirements.txt" (if you are not on Windows, then the path is "settings/requirements.txt"). Then, open the "settings/config.yaml" path, and put your data there. After which you can run the program through a Terminal or PowerShell using the command: "python csgo-market-sniper.py". Hope this helps you out. |
The Programm does not start for me. Ive typed the commands in normal cmd. There all install commands worked. In Python 3.12 nothing works. Not even python3. Any1 know what i did wrong? |
Do you mean that running
Can you execute the python script using the python command in Command Prompt ( |
Hi, This is the output:
>> python3 csgo-market-sniper.py
File "<stdin>", line 1
python3 csgo-market-sniper.py
^^^^
SyntaxError: invalid syntax
>>
csgo was underlined
I just did it right after my pc booted rn. idk if ihave to preload anything before after every reboot. But like said i downloaded everything conveyed through the pip install -r settings\requirements.txt command.
had to change the file-tree but not the command.
looked like this:
pip install -r C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\settings\requirements.txt
I used Pyhon 3.12 (64-bit)
both python ... | python3 ... did not work
Mb I should reinstall requirements?...
Ill wait for an awnser
|
Okay, it looks like you are trying to execute the script through the Python interpreter, which isn't the right way. |
Ok, I started it trough terminal now witch this command: python
C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\csgo-market-sniper.py
Thats were csgo-market-sniper.py is located on my desktop.
Then it gave the error message:
Traceback (most recent call last):
File
"C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\csgo-market-sniper.py",
line 9, in <module>
url_info = load_config()
File
"C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\config.py",
line 6, in load_config
with open('settings/config.yaml', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory:
'settings/config.yaml' #
Then i opend config.py and changed settings/config.yaml
to C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\settings\config.yaml
Then i put it in terminal again and this was the outcome:
Traceback (most recent call last):
File
"C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\csgo-market-sniper.py",
line 2, in <module>
from config import load_config
File
"C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\config.py",
line 6
with
open('C:\Users\perme\Downloads\csgo-market-sniper-main\csgo-market-sniper-main\settings\config.yaml',
'r') as f:
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 2-3: truncated \UXXXXXXXX escape
But idk what to do now. Thx btw for awnsering every question i ask. i hope
it doesnt annoy u, when i ask for such beginner things.
… Message ID: ***@***.***>
|
You will have to put double back-slashes in your path. |
where is the diffrent between what u sent and what i used. i see no doubble
Backslash nowhere. Im i just retarded or did you miss something?
|
You'll have to use double backslashes in the absolute path that you provided, to the config.yaml. |
Sorry im new to coding/programming, i really want to use this bot but im struggling, could you add me on discord to help or make a guide?
thanks
The text was updated successfully, but these errors were encountered: