Tag Archives: virtualenv

conda and bioconda channel

Tweet Anaconda ( https://www.continuum.io/downloads ) provides a Python distribution with more than 400 of the most popular Python packages for science, math, engineering, and data analysis. Anaconda installs an executable called conda that will be your entry point. Anaconda solves … Continue reading

Posted in biology, Python | Tagged , , | 1 Comment

Installing Python2.6 in a virtual environment

Tweet First, install python2.6 executable. see previous post if you have issues when compiling (gcc not found). Make sure you have installed python-dev with apt-get or yum. Then, following the instructions on the same topic but for Python 3 in … Continue reading

Posted in Python, Software development | Tagged , | 2 Comments

Installing another Python version into virtualenv

Tweet The idea is that we do not want to install a new version of Python on the system (e.g., for testing purpose), which may interfere with your entire distribution. Instead, we want to create a virtual environment with virtualenv … Continue reading

Posted in Python, Software development | Tagged | 2 Comments

Installing JPype to use Java from Python

Tweet JPype is a Python package that allows you to call Java from Python. First, download the zip file (I got version I will use a virtual environment here, so the syntax is simply:

It may work out … Continue reading

Posted in Linux, Python | Tagged , , , | 4 Comments

installing rpy2 with different R version already installed

Tweet The easiest way to install a python package is to use easy_install (or pip), so to install rpy2, type: easy_install rpy2 To test that it is properly installed, type: import rpy2; from rpy2 import robjects; robjects.r(“version”) If this code … Continue reading

Posted in Computer Science, Linux, Python | Tagged , , , , | 7 Comments

What is Virtualenv

Tweet Virtualenv is a tool to create isolated Python environments. Its usage could be very useful when dependencies and versions are tricky. Imagine you have an application that needs version 1 of a library, but another application requires version 2. … Continue reading

Posted in Python | Tagged , | Leave a comment