Knowledgebase: Application Notes
Installing VicPy
Posted by Micah Simonsen, Last modified by Micah Simonsen on 20 July 2017 01:25 PM

The VicPy Python module for manipulating Vic-3D data is now available. For consistency and ease of installation, we are using the Anaconda® platform. 

To install VicPy:

  1. Download Anaconda from this link: Select the 64 bit installer for Python 3.6.
  2. Install Anaconda. For installation type, it is best to select "Just Me"; if you select "All Users" you must complete the console steps below in an elevated console.
  3. Be sure that boxes "Add Anaconda to my PATH environment variable" and "Register Anaconda as my default Python 3.6" are marked. 
    Anaconda install dialog showing both options checked.
  4. Run the Anaconda console ("Anaconda Prompt" from the Start menu). If you installed for "All Users" above, you may have to right-click and Run as administrator.
    Screenshot of Anaconda prompt on start menu.
  5. From the Anaconda console, run the command: conda install -c correlatedsolutions vicpy
  6. The VicPy module is now installed. All VicPy programs must be run from the Anaconda console. 
  7. If you'd like to test the module, install the examples from this link: Python Examples. A short instruction file is in the ZIP.

Running VicPy modules:

  1. If you are comfortable with the console you can simply use the console Python application to run .py and .pyw modules.
  2. To run directly, you will have to associate .py and .pyw modules with the relevant applications. To do this, navigate to the file; right-click, and select Open with...
  3. Select More apps.
  4. Scroll all the way to the bottom, and select Look for another app on this PC.
  5. Navigate to c:\users\[your name]\anaconda3.
  6. Select python.exe for .py files, and pythonw.exe for .pyw files. (PYW files will show the application without the unnecessary console window.)
  7. From here, if you double click on another script, it should run directly.

For offline installation, tarballs are available at the following links:

For this option, use conda install vicpy-1.0-pyNN_0.tar.bz2.

The Anaconda name is a registered trademark of Continuum Analytics, Inc.

(5 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: