python

Virtual Environments on Windows

I recommend using virtual env on windows as this gives you a lot of control and will prevent any experiments you do in one project messing with another. 

 

Get pip

 Install pip if you don't have it

Get virtualenv

pip install virtualenv

Make a dir

Make a directory somewhere where you want to store your virtual environments. These are like standalone Python. 

mkdir virtualenvs
cd virtualenvs

Create the virtual environment

It doesn't have to be called 'micro' but for illustration:

python -m venv micro

Activate 

micro\Scripts\activate

Notice the prompt change

If you use IDLE...

Just as an example, launched IDLE (if that's your thing) with python so it picks up the virtualenv. 

python -m idlelib.idle

Deactivate

deactivate

New here?

We're trying to solve the last mile problem of time-series analysis.

Looking to write papers?

See Python module 1 for instructions on how to let your model roam a world of live time-series. 

Python Modules