Installation using windows
Making the windows system run!
Python
First, you have to install a minimum version of python. Python 3.10.4 can be found https://www.python.org/downloads/release/python-3104/
Python is usually installed in
C:\Users\<User-Name>\AppData\Local\Programs\Python\Python310\python.exe
.
You can find the exact location by running the python interpreter from
the start menu. Simply search for python after you have installed with
the link from above. You can then launch the interpreter. In there you
run:
import sys
print(sys.executable) # prints the location of the python executable.
For for information you can also look at https://blog.finxter.com/how-to-find-path-where-python-is-installed-on-windows/.
Git
We recommand installing git for windows from https://gitforwindows.org/. Follow the installation guide. This program will also offer you a minimal linux-link terminal. Very helpful to learn the very basics of linux commands.
Just like with the python interpreter, you can now open a git-bash command line by searching for the program in the start menu. You can now navigate around with the normal linux commands: - ls : list content of current directory - cd : change directory to - pwd : show current path
In order to interact with github you should first setup a ssh-key to facilitate the communication with github. You can follow the documentation on the github docu page: https://docs.github.com/en/authentication/connecting-to-github-with-ssh.
Once git is setup you download the repository by clicking on its github website, https://github.com/maxspahn/gym_envs_urdf, on the clone button in green. This link is then added to your clipboard. Inside the git-bash terminal you then paste:
git clone git@github.com:maxspahn/gym_envs_urdf.git
If it is your first time using git, you may be asked to add github to
the known-hosts list for the ssh configuration. You confirm that by
typing yes
.
You have successfully downloaded the package. Installation will be covered once all other dependencies are setup.
C++
Some dependencies of the package require C++. If you already have visual studio installed, you should already have the C++ compiler. If not, we recommand installing visual studio, even though it introduces some overhead.
Poetry
We recommand using poetry to install the package. It also allows you to interact with the package and make custom changes or add third party libraries. You can install it according to their documentation https://python-poetry.org/docs/. Open a powershell and paste
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | py
Sometimes, py
needs to be replaced with python
. You can find out
which to use by simply typing both and see which one opens the python
interpreter terminal.