wang_cw5515 2016-11-11 15:20 采纳率: 0%
浏览 1588

mac安装virtualenv后创建目录virtualenv test出错,提示如下,

mac安装virtualenv后创建目录virtualenv test出错,提示如下,请大神帮忙看看,感激不尽!
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv", line 11, in
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv.py", line 711, in main
symlink=options.symlink)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv.py", line 924, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv.py", line 1131, in install_python
copy_required_modules(home_dir, symlink)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv.py", line 1061, in copy_required_modules
dst_filename = change_prefix(filename, dst_prefix)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv.py", line 1035, in change_prefix
(filename, prefixes)
AssertionError: Filename /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so does not start with any of these prefixes: ['/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/Users/wangchaowei/Library/Python/2.7/lib/python/site-packages', '/Users/wangchaowei/.local/lib/python/2.7/site-packages', '/Users/wangchaowei/Library/Python/2.7/site-packages', '/Library/Frameworks/Python.framework/Versions/2.7', '/Library/Python/2.7/site-packages']

  • 写回答

1条回答

  • devmiao 2016-11-11 15:51
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 vhdl+MODELSIM
  • ¥20 simulink中怎么使用solve函数?
  • ¥30 dspbuilder中使用signalcompiler时报错Error during compilation: Fitter failed,求解决办法
  • ¥15 gwas 分析-数据质控之过滤稀有突变中出现的问题
  • ¥15 没有注册类 (异常来自 HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
  • ¥15 知识蒸馏实战博客问题
  • ¥15 用PLC设计纸袋糊底机送料系统
  • ¥15 simulink仿真中dtc控制永磁同步电机如何控制开关频率
  • ¥15 用C语言输入方程怎么
  • ¥15 网站显示不安全连接问题