I guess the file you downloaded is a dotnet project and as such you need dotnet installed - newtonsoft-json is a well know library used for dot net applications.
You will most likely find more information in the projects github page - also with relation to installation - unless it assumes you are a developer and know your way around dotnet.
You are right, thank you! I’m going to bother you again, since it’s in python2, do you know how I can switch from python3 to python2? I tried to create an alias in the bash_profile but when I run the line :
In the import folders of github, I have several .py files including main.py which is running. I saw it when I had an error running the code in the terminal where the syntax was wrong. I deduced by opening the file that it is written in python2.
I was asking because it should be possible to change the shebang or executing line to use python2 rather than python, but if you can’t tell me the specific file then I can’t look at it.
Otherwise, it is possible to override the python executable by setting a local $PATH variable that contains a symlink to python2, then everything will be run with python2 by default. For example:
Yes, which is why I asked for the specific file in question.
However, the symlink will only break things for a shell where the $PATH is overridden, and software compiled/configured in that way likely won’t work without that override, but other than that it’s pretty self-contained.
Most software outside of Arch expects python to be python2, and python3 to be python3, so it’s unlikely to affect software that’s not already using Python 3 as the default; this particular software hasn’t been updated since 2017 so I was fairly confident it wouldn’t expect python3 to be the default interpreter.