kraanzu/smassh

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

DearZack opened this issue · 6 comments

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

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

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

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

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

Did we solve your problem?

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