日常难解决的问题

1.Pycharm如果生成allure报告过程中报错 AttributeError: module 'allure' has no attribute 'severity_level'

    1、pip uninstall pytest-allure-adaptor     2、pip install allure-pytest

 

2.当我的Ubuntu  install某个东西时,给出下面提示

    E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)

    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it?

  删除锁定文件,行了

    sudo rm /var/lib/dpkg/lock-frontend       

    sudo rm /var/lib/dpkg/lock

 

3.如果你在为github上不去而烦恼

进入:C:\Windows\System32\drivers\etc

将原来的hosts文件进行备份并编辑加入:

# GitHub Start 
140.82.114.4 github.com
199.232.69.194 github.global.ssl.fastly.net
# GitHub End

然后保存,cmd执行:ipconfig/flushdns然后就可以快速访问GitHub了。

posted @ 2021-01-13 21:04  弹弹大魔王  阅读(54)  评论(0编辑  收藏  举报