python - 权限错误: [WinError 5] Access is Denied when Installing goose-extractor

标签 python

我试图使用 https://www.openshift.com/blogs/day-16-goose-extractor-an-article-extractor-that-just-works 上的教程安装 goose-extractor .

但是当我在 Windows 7 上的命令提示符处执行命令时,如下所示:

virtualenv venv --python=C:\Python34

我收到错误:

Running virtualenv with interpreter c:\Python34    
Traceback(most recent call last):    
File "C:\Python34\Lib\runpy.py", line 170, in _run_module_as_main....    
.....    
.....    
PermissionError: [WinError 5] Access is Denied

我的 Windows 用户是管理员。

我该如何解决这个问题?

最佳答案

看来您不仅需要提供python安装目录,还需要指向python.exe文件。以下命令适用于我的 64 位 Windows 8.1 机器:

virualenv -p C:\Python2.7\python.exe

关于python - 权限错误: [WinError 5] Access is Denied when Installing goose-extractor,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25846598/

相关文章:

python - Matplotlib python 动画不显示线

python - 创建一个 Flask 公共(public) url 装饰器

python - 单击 Selenium 容器中的每个 div

python - 如何使用 python-telegram-bot 转发消息

python - 如何转到下一行而不是打印\n?

python - 允许 Networkx 中存在重复节点/防止节点在 TreeMap 中有两个父节点

python - 如何对行进行分组以便在使用 pandas 创建的组上使用 value_counts ?

python - 在 Python 中导入 LinkedIn API 时出错

python - odoo 12 中many2many 字段的更改行为

python - 异步上下文管理器是否需要保护它们的清理代码不被取消?