How do we put the last virtualenv in Ubuntu12.04?



  • Ubuntu 12.04 is default virtualenv 1.7.1.2. I can't put up the latest versions. Remove it, and reset it. If I put it through pip:

    sudo pip3 install virtualenv
    

    Writing about the successful installation of the last version:

    Downloading/unpacking virtualenv
      Downloading virtualenv-13.1.2-py2.py3-none-any.whl (1.7MB): 1.7MB downloaded
    Installing collected packages: virtualenv
    Successfully installed virtualenv
    Cleaning up...
    

    Check:

    virtualenv --version
    

    Issues:

    bash: /usr/bin/virtualenv: Нет такого файла или каталога
    

    If I put it like this:

    sudo apt-get install python-virtualenv
    

    It's natural to put a virtualnv 1.7.1.2 again.

    I really need this to create a Python 3.4 environment in Ubuntu 12.04. And the state virtualenv refuses to create an environment with this Piton version.



  • Don't use it. sudo pip To put Pitton in the system files. Ubuntu system packages should be managed by an appropriate package manager, for example through apt-get client of the line team. Important systems utilises can depend on the system python, so they can stop working if you break your Piton installation.

    For your user, you can use --user Opium:

    $ python3.4 -m pip install --user virtualenv -U
    

    Make sure ~/.local/bin folder on the way$PATHis.

    We could use the rig without the installation. http://virtualenv.readthedocs.org/en/latest/installation.html ♪




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2