- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经尝试了所有方法,但无法安装 virtualenvwrapper。
我已经安装了 python 2.7.6 和 virtualenv。
我正在使用 MacOSX Mavericks。
当我尝试使用 pip install virtualenvwrapper
安装时或sudo pip install virtualenvwrapper
出现此错误。
Downloading virtualenvwrapper-4.2.tar.gz (125kB): 125kB downloaded
Running setup.py egg_info for package virtualenvwrapper
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/private/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/pip_build_rafagomes/virtualenvwrapper/setup.py", line 7, in <module>
pbr=True,
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 239, in __init__
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 263, in fetch_build_eggs
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 564, in resolve
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 802, in best_match
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 814, in obtain
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 313, in fetch_build_egg
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 593, in easy_install
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 623, in install_item
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 809, in install_eggs
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 1015, in build_and_install
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 1000, in run_setup
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 50, in run_setup
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 100, in run
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 52, in <lambda>
File "setup.py", line 22, in <module>
File "/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/easy_install-fh8Xd1/pbr-0.5.23/pbr/util.py", line 259, in cfg_to_args
File "/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/easy_install-fh8Xd1/pbr-0.5.23/pbr/util.py", line 480, in wrap_commands
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 772, in get_command_list
klass = self.get_command_class(cmd)
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 366, in get_command_class
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 815, in get_command_class
__import__ (module_name)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/check.py", line 13, in <module>
from docutils.utils import Reporter
File "/Library/Python/2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
from docutils.io import FileOutput
File "/Library/Python/2.7/site-packages/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Library/Python/2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 511, in getdefaultlocale
return _parse_localename(localename)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/private/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/pip_build_rafagomes/virtualenvwrapper/setup.py", line 7, in <module>
pbr=True,
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 239, in __init__
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 263, in fetch_build_eggs
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 564, in resolve
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 802, in best_match
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 814, in obtain
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 313, in fetch_build_egg
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 593, in easy_install
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 623, in install_item
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 809, in install_eggs
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 1015, in build_and_install
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/command/easy_install.py", line 1000, in run_setup
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 50, in run_setup
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 100, in run
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/sandbox.py", line 52, in <lambda>
File "setup.py", line 22, in <module>
File "/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/easy_install-fh8Xd1/pbr-0.5.23/pbr/util.py", line 259, in cfg_to_args
File "/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/easy_install-fh8Xd1/pbr-0.5.23/pbr/util.py", line 480, in wrap_commands
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 772, in get_command_list
klass = self.get_command_class(cmd)
File "build/bdist.macosx-10.9-x86_64/egg/setuptools/dist.py", line 366, in get_command_class
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 815, in get_command_class
__import__ (module_name)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/check.py", line 13, in <module>
from docutils.utils import Reporter
File "/Library/Python/2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
from docutils.io import FileOutput
File "/Library/Python/2.7/site-packages/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Library/Python/2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 511, in getdefaultlocale
return _parse_localename(localename)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/hl/n7326xr91ls3z8c3s08_dv4r0000gn/T/pip_build_rafagomes/virtualenvwrapper
Storing complete log in /Users/user/.pip/pip.log
有人可以帮助我吗? Google 上没有任何内容
谢谢
最佳答案
关于python - 安装 virtualenvwrapper 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21234308/
我正在尝试运行 virtualenvwrapper。我安装它: sudo pip install virtualenvwrapper 我这样编辑 .bashrc: export WORKON_HOME
我最近通过brew安装了python3(也通过brew安装了python2)并且没有触及系统python(新笔记本电脑macOS)。 然后我使用 pip3 install virtualenvwrap
我正在尝试从您的官方指南中安装 virtualenvwrapper http://virtualenvwrapper.readthedocs.org/en/latest/install.html 我使
我在本地机器上使用 Virtualenv 和 VirtualenvWrapper 并发现它们是很棒的工具。我正在尝试在运行 Ubuntu 12.04 服务器和 Apache 的虚拟机上为我的生产 Py
关于类似问题的许多其他线程,但我找不到与我完全相同的情况。所以,这里是: 我做过的事情: 跑:sudo easy_install pip 跑:sudo pip install virtualenv 跑
我在 ubuntu 14.04 下使用 virtualenv、virtualenvwrapper 运行 python 2.7.6。现在我已经从源代码安装了 python 2.7.9。新的 python
我正在尝试关注 How To Serve Django Applications with uWSGI and Nginx on Ubuntu 14.04我在早期阶段失败了,由于输出量,我将所有相关信
tow-81-235:Projects pessimisticoptimism$ mkvirtualenv development -bash: mkvirtualenv: command not f
我最近从 python 3.5 升级到 python 3.6(在 macOS 上使用brew)。然而 virtualenvwrapper 现在似乎已损坏,我收到错误。不幸的是,重新安装并没有帮助。 m
当我在终端上开始新 session 时遇到问题: Traceback (most recent call last): File "", line 1, in ImportError: No m
我在 ubuntu 上遇到 virtualenvwrapper 问题。 我正在处理简单的 Django 项目 foo。我决定从 settings.py 中移动 SECRET_KEY 并将其保存为环境变
我经常使用 setvirtualenvproject/path/to/my/project/ 来设置虚拟环境的根/基目录。当使用 workon myenv 切换到虚拟环境时,这非常有用。 但我想知道,
我正在使用 powershell。我成功安装了 virtualenvwrapper-powershell。 但是当我输入“Import-Module virtualenvwrapper”时,出现以下错
我尝试使用 pip 在 CentOS 7 上使用 virtualenvwrapper 设置 virtualenv,但出现 UnicodeDecode 错误。 具体步骤: 安装CentOS7 通过 ge
我知道 which virtualenvwrapper.sh 会找到 virtualenvwrapper bash 脚本。 但是,我如何确定安装了哪个版本的 virtualenvwrapper? 最佳
我对 Python 和 virtualenv 非常陌生,所以如果这是一个明显的问题,我深表歉意。我在运行 Windows 10 的电脑上有一个 C 驱动器和一个 D 驱动器。我将 python 和脚本
我相信我没有正确安装 virtualenvwrapper(遵循不同的 python 设置教程的风险)。 我想从我的 Mac OSX 系统中完全删除扩展,但似乎没有关于如何执行此操作的文档。 有谁知道如
鉴于我对 Python 的了解,我遇到的问题不应该发生。我用 pip 在 Mac OS X Snow Leopard 上安装了 virtualenvwrapper。它在/Library/Python/
当我移动项目文件夹时,我必须手动更新 .project 文件中的项目路径以使 workon 命令起作用。是否可以自动更新路径? 最佳答案 根据文档,您可以使用 setvirtualenvproject
换句话说,mkvirtualenv 和mkproject 命令有什么区别? 我的工作流程如下所示: /dev projectA appA appB pr
我是一名优秀的程序员,十分优秀!