第一次设置 virtualenv,当我尝试使用安装 MySQL-python 时
pip -E <<some virtual env>> install MySQL-python
我明白了
File "setup_windows.py", line 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_key'])
WindowsError: [Error 2] The system cannot find the file specified
我猜virtualenv正在以某种方式阻止python访问Windows注册表,我尝试在virtualenv中运行easy_install但没有运气(我假设这完全一样),从我的主要python安装复制站点包目录意味着蛋黄会没看到,
有谁知道我如何哄骗它工作,或者复制mysql支持所需的文件?
谢谢,