Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirement.txt中加一个pacaking. 可以解决 ModuleNotFoundError: No module named 'packaging' #21

Open
EnmmmmOvO opened this issue Oct 18, 2022 · 0 comments

Comments

@EnmmmmOvO
Copy link

requirement中加一个pacaking可以解决

2022-10-18T20:12:41.0032089Z ##[group]Run python main.py
2022-10-18T20:12:41.0032391Z  [36;1mpython main.py [0m
2022-10-18T20:12:41.0084642Z shell: /usr/bin/bash -e {0}
2022-10-18T20:12:41.0084862Z env:
2022-10-18T20:12:41.0085108Z   pythonLocation: /opt/hostedtoolcache/Python/3.7.14/x64
2022-10-18T20:12:41.0085382Z   SERVERPUSHKEY: 
2022-10-18T20:12:41.0087370Z   COOKIES: ***
2022-10-18T20:12:41.0087605Z ##[endgroup]
2022-10-18T20:12:41.2715511Z Traceback (most recent call last):
2022-10-18T20:12:41.2723683Z   File "main.py", line 2, in <module>
2022-10-18T20:12:41.2724382Z     from common.dy_glows import *
2022-10-18T20:12:41.2724965Z   File "/home/runner/work/douyu_helper/douyu_helper/common/dy_glows.py", line 9, in <module>
2022-10-18T20:12:41.2725456Z     from webdriver_manager.chrome import ChromeDriverManager
2022-10-18T20:12:41.2817047Z   File "/opt/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/site-packages/webdriver_manager/chrome.py", line 7, in <module>
2022-10-18T20:12:41.2817506Z     from webdriver_manager.drivers.chrome import ChromeDriver
2022-10-18T20:12:41.2818175Z   File "/opt/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/site-packages/webdriver_manager/drivers/chrome.py", line 1, in <module>
2022-10-18T20:12:41.2818557Z     from packaging import version
2022-10-18T20:12:41.2818904Z ModuleNotFoundError: No module named 'packaging'
2022-10-18T20:12:41.2865070Z ##[error]Process completed with exit code 1.
@EnmmmmOvO EnmmmmOvO changed the title ModuleNotFoundError: No module named 'packaging' requirement.txt中加一个pacaking. 可以解决 ModuleNotFoundError: No module named 'packaging' Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant