kraanzu / smassh

Smassh your Keyboard, TUI Edition
GNU General Public License v3.0
1.41k stars 50 forks source link

I'm not very good at python. What errors have I encountered and how should I run it #25

Closed DearZack closed 10 months ago

DearZack commented 2 years ago

I'm not very good at python. What errors have I encountered and how should I run it

DearZack commented 2 years ago

Snipaste_2022-07-20_12-31-45

kraanzu commented 2 years ago

You don't have to write python3 in order to run it... just type termtyper and it should work just fine.. If it doesn't then you should add pip your PATH

Maou-Shimazu commented 2 years ago

It's the location of where the package was installed. You want to go ahead and add

C:\Users\<name>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts

in your PATH. After that is done it should run with just termtyper in your terminal.

How you can add something to path on windows

fernandolamas commented 2 years ago

On windows, you must run CMD as administrator, then run

py -m pip install git+https://github.com/kraanzu/termtyper.git

so it goes to the right python path...

after installed you should be able to run by typing termtyper in your CMD window

But if you are still having troubles, you can find where the package has been installed using

py -m pip show termtyper

and it will show you the following path

c:\users\<user>\appdata\<Profile>\something...

depending on the profile, Local or Roaming you'll find the termtyper script at

C:\Users\<user>\AppData\<Profile>\Programs\Python\Python310\Scripts

You must add the script folder to your System PATH as @Maou-Shimazu said

Remember to re-open a cmd window after adding the script to the path

kraanzu commented 10 months ago

Closing as stale. Feel free to re-open if there are any further issues

github-actions[bot] commented 10 months ago

Did we solve your problem?

Glad we could help! Don't forget to star the repository! – @kraanzu