无法在虚拟机上的ubuntu-13中找到包virtualenv [英] Unable to locate package virtualenv in ubuntu-13 on a virtual-machine

查看:429
本文介绍了无法在虚拟机上的ubuntu-13中找到包virtualenv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试执行以下给定代码时: "sudo apt-get安装virtualenv" 响应ubuntu-shell给出的错误是:

When i try do the given code below: "sudo apt-get install virtualenv" the error given in response to the ubuntu-shell is:

E:无法找到软件包virtualenv

E: Unable to locate package virtualenv

推荐答案

是的,如果有人想看看(安装virtualenv:安装的基础)django安装,请在打开外壳时运行此命令在Ubuntu中:

Yess, if any one wants to have a look at ( installing virtualenv: a basis for the installation of ) django installation, please run this command when the shell opens up in Ubuntu:

sudo apt-get install python-setuptools
sudo apt-get install python-easy_install virtualenv

,然后运行命令以简单地开始以下链接中的说明(从设置新环境"部分开始): http://www.django-rest-framework.org/tutorial/1 -serialization/

and then run the commands to simply start the instructions followed on the following link(starting from the section "Setting up a new environment"): http://www.django-rest-framework.org/tutorial/1-serialization/

这篇关于无法在虚拟机上的ubuntu-13中找到包virtualenv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆