Python中文
首页
教程
问答
标签
搜索
登录
注册
bash:virtualenv:command not found“在Linux上”
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正在使用一种叫做GalliumOS的Lubuntu形式(为Chromebooks优化)。我用<code>$ sudo apt-get install python-pip</code>安装了pip。然后我使用了<code>pip install --user virtualenv</code>和<code>pip install virtualenv</code>,然后当我试图随后使用<code>virtualenv venv</code>时,我得到了一条消息<code>bash: virtualenv: command not found</code>。在</p> <p>在上面的pip安装过程中,我使用<code>pip uninstall virtualenv</code>回到起点。重新安装后错误仍然存在。在</p> <p>我在MacOS上读到了一些类似的问题。其中一个比较接近的是同时安装python pip和virtualenv。因为我已经安装了pip,所以我认为这些并不适用于我的问题。为什么<code>pip install virtualenv</code>不能在LUbuntu/GalliumOS上这样工作?在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>最后对我有用的是这个。我用过</p> <p>{cd1}。在</p> <p>然后我可以使用<code>$ virtualenv venv</code>创建一个虚拟环境。在</p> <p>我试图避免使用<code>$ sudo pip install virtualenv</code>,因为在其他帖子中有人告诫我不要这样做,并同意,因为我在做这件事时遇到的困难。在</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何在乒乓球比赛中预测球的轨迹,对于AI球拍预测?
3 回答
如何在乒乓球游戏中阻止球
2 回答
如何在乘法和模中不乘空间?
4 回答
如何在乘法和除以2个不同的数字之间进行交换?
9 回答
如何在也是数据一部分的单个字符上拆分大字符串
3 回答
如何在乾草堆中找到針,有更好的解決方案嗎?
10 回答
如何在事件wxWidgets中传递自定义数据
1 回答
如何在事件中使用lambda i=i?
4 回答
如何在事件中心只接收最近的数据
9 回答
如何在事件发生之前保持云函数运行?
10 回答
如何在事件发生后使页面重定向到同一页面
9 回答
如何在事件回调之间保持python生成器的状态
5 回答
如何在事件处理程序(pythonsocket、sphinx)中保留docstring
8 回答
如何在事件处理程序中更改wxRichTextCtrl的光标位置?
7 回答
如何在事件处理程序中访问外部对象?
10 回答
如何在事件循环中将协程打包为正常函数?
4 回答
如何在事件循环之外运行协同程序?
8 回答
如何在事件循环结束时为并发未来的所有线程调用类方法?
9 回答
如何在事件文件中只保留一份摘要?
9 回答
如何在事件模板中添加事件
7 回答