Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling SlicerCAT
#1
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 ?
Reply
#2
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compiling (PyInstaller issues) TheHolyPyGrenade 1 1,881 Apr-11-2021, 08:30 PM
Last Post: snippsat
  Compiling on win10 ebolisa 1 1,725 Sep-04-2020, 04:39 PM
Last Post: ebolisa
  Compiling to windows installer DT2000 1 1,533 May-04-2020, 09:17 PM
Last Post: DT2000
  Compiling python CommanderCody66 7 96,304 Apr-19-2019, 08:12 PM
Last Post: snippsat
  Having Trouble Compiling From Source (3.7.2) pnicolosi78 6 8,517 Feb-06-2019, 07:24 PM
Last Post: nilamo
  compiling python using pyinstaller sabeesh90 0 2,635 Aug-16-2018, 09:58 AM
Last Post: sabeesh90

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020