Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Frequently Asked Questions
  3. How to install additional python packages?

How to install additional python packages?

Scheduled Pinned Locked Moved Frequently Asked Questions
python
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SylvainS Offline
    SylvainS Offline
    Sylvain
    ZMT
    wrote on last edited by Sylvain
    #1

    The easiest way to install additional python packages is to use pip (which will download the package directly from pypi.python.org). Before using pip in Sim4Life 3.x, there is a small conflict between pip and setuptools that first needs to be resolved. Here is how you can do it:

    1. Open a console (using for example "cmd.exe"). Note that it does NOT have to be run as administrator.

    2. Type the following commands in the console

    cd C:\Program Files\Sim4Life_v3.2.4.1836\Python27
    python.exe -m pip uninstall distribute (and type "y" when prompted)
    python.exe -m pip install --upgrade setuptools
    python.exe -m pip install name_of_new_package_to_install

    EDIT: in Sim4Life 4.x and above, there is no conflict anymore between pip and setuptools, so all you have to do is:

    cd C:\Program Files\Sim4Life_v4.0.0.2835\Python27
    python.exe -m pip install name_of_new_package_to_install

    1 Reply Last reply
    4
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Search