Get your Gaussian Package.
- Check whether virtualenv is installed or not using -
virtualenv - version
- If not then install using -
pip install vitualenv
- Then try to create a virtual environment by using the following commands.
virtualenv environmentname
environmentname\Scripts\activate
- The above commands will activate a virtual environment .
- Check whether virtualenv is installed or not using
virtualenv - version
- If not then install using -
pip install vitualenv
- Then try to create a virtual environment by using the following commands.
python3 -m venv environmentname
source environmentname/bin/activate
- This will activate the virtual environment.
Open the cmd (for Windows) or terminal(for Linux). Move into the proper directory ,in my case to the directory which contains the distributions and setup.py files .Then create a virtual environment using the above steps. When the virtual environment is ready and open then use the pip to install your package pip install
from distributions import Gaussian
gaussian_one=Gaussian(10,3)
gaussian_one.mean
gaussian_one.stdev
For more details visit my Medium article.