首页 > 其他 > 详细

AttributeError: module 'virtualenv' has no attribute 'create_environment'

时间:2021-08-09 13:51:10      阅读:71      评论:0      收藏:0      [点我收藏+]

背景:使用qaf的dist功能,执行运行包命令时初始虚拟化环境失败报错:
AttributeError: module ‘virtualenv‘ has no attribute ‘create_environment‘

溯源:virtualenv 20.0.1 以上版本重构了,没有create_environment这个方法了

解决方案:

  • 使用新方法调用
  • 下载老包(16.7.12)

AttributeError: module 'virtualenv' has no attribute 'create_environment'

原文:https://www.cnblogs.com/Klay/p/15117990.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!