You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用outside:myCode.py的方式执行Python代码,myCode.py单独执行没有问题,加入到任务中执行总是提示:发生了一个异常|An exception occurred name 'BeautifulSoup' is not defined
myCode.py文件中代码为from bs4 import BeautifulSoup
在myCode.py中添加了sys.path.append("D:/Users/Administrator/AppData/Local/Programs/Python/Python38/Lib/site-packages")
依旧报错,请给解决解决
The text was updated successfully, but these errors were encountered:
使用outside:myCode.py的方式执行Python代码,myCode.py单独执行没有问题,加入到任务中执行总是提示:发生了一个异常|An exception occurred name 'BeautifulSoup' is not defined
myCode.py文件中代码为from bs4 import BeautifulSoup
在myCode.py中添加了sys.path.append("D:/Users/Administrator/AppData/Local/Programs/Python/Python38/Lib/site-packages")
依旧报错,请给解决解决
The text was updated successfully, but these errors were encountered: