virtualenv doesn't seem to work correctly on DigitalOcean droplet

June 16, 2017 206 views
DigitalOcean Ubuntu 16.04

After creating the droplet and installing virtualenv, it is not able to able to differentiate between different environments.

i.e the same packages are appearing for different environments (venv1 & venv2 contain same packages exclusively installed for venv1.

Is there something that might be causing this?

2 Answers

Hi @sominwadhwa

Which version of virtualenv did you install? And which version of pip?

There's nothing special configured on DigitalOcean, which blocks or changes the way virtualenv works.

  • inconsistency due to difference in version of virtualenv (installed using pip for python2) and the packages being installed due to pip3 (updated later within venv).

    Resolved now, thanks.

Silly question, do you have the ENV activated when you install the modules?

Have another answer? Share your knowledge.