General,Software Development

ลง VPython (python-visual) ใน Anaconda

VPython is a visualization python library.
It helps to create environment that can represent a natural phenomenon.
It is used as a tool for Physics tutorial.
To install inside the Anaconda, Python distribution, you need to install the Anaconda firstly at https://www.continuum.io/downloads

After that, please install Conda-build:

conda update conda
conda install conda-build

Then, clone the repository:

git clone https://github.com/mwcraig/conda-vpython-recipes.git

To build VPython by yourself, go inside ‘conda-vpython-recipes’ directory, and, compile its bundle of dependencies.
Please follow the steps below:

cd conda-vpython-recipes
conda build boost-vpython
conda build fonttools polygon2 ttfquery vpython
conda install boost-vpython –use-local
conda install vpython –use-local

Testing by import it inside Python:

import visual

Advertisements
มาตรฐาน

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s