Python Forum

Full Version: Compiling SlicerCAT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have read here: https://blog.kitware.com/slicercat-creat...3d-slicer/
that I need to install Python in order to compile SlicerCAT application. Which I did. But since I didn't compiled any Python code yet, I stuck in first step:

Step 1: Generate the application framework
To start using the template, you need to have python installed on your system. To get a custom 3D Slicer application started in a new repository, use the following code snippet:

pip install cookiecutter jinja2-github
cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate

pip install cookiecutter jinja2-github
cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate

So, I typed "pip install cookiecutter jinja2-github" in my python cmd line:

[Image: 6tNPGrN]

File "<stdin>", line 1
pip install cookiecutter jinja2-github
^
SyntaxError: invalid syntax
>>>

Sorry my misunderstanding ... can you lead me into right direction ?
You are trying to run pip in python interactive shell, but it's not python code
write
pip install cookiecutter jinja2-github
in your shell/terminal, e.g.

C:\>pip install cookiecutter jinja2-github