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:
- Download Anaconda from this link: https://www.continuum.io/downloads#windows. Select the 64 bit installer for Python 3.6.
- 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.
- Be sure that boxes "Add Anaconda to my PATH environment variable" and "Register Anaconda as my default Python 3.6" are marked.
- 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.
- From the Anaconda console, run the command:
conda install -c correlatedsolutions vicpy
- The VicPy module is now installed. All VicPy programs must be run from the Anaconda console.
- 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:
- If you are comfortable with the console you can simply use the console Python application to run .py and .pyw modules.
- 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...
- Select More apps.
- Scroll all the way to the bottom, and select Look for another app on this PC.
- Navigate to c:\users\[your name]\anaconda3.
- Select python.exe for .py files, and pythonw.exe for .pyw files. (PYW files will show the application without the unnecessary console window.)
- 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.