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

onedrivecmd init 时报错 #76

Open
AuTsing opened this issue Dec 4, 2020 · 2 comments
Open

onedrivecmd init 时报错 #76

AuTsing opened this issue Dec 4, 2020 · 2 comments

Comments

@AuTsing
Copy link

AuTsing commented Dec 4, 2020

Traceback (most recent call last):
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\actions.py", line 11, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\uploader.py", line 13, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\onedrivecmd.py", line 8, in
from onedrivecmd.utils.actions import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\actions.py", line 20, in
from .uploader import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\uploader.py", line 21, in
from .helper_item import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\helper_item.py", line 7, in
import onedrivesdk
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivesdk_init_.py", line 6, in
raise ImportError(MESSAGE)
ImportError: 'onedrivesdk' has been deprecated.
Visit https://pypi.org/project/onedrivesdk for migration information.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\actions.py", line 11, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\uploader.py", line 13, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\tsing\AppData\Local\Programs\Python\Python38\Scripts\onedrivecmd-script.py", line 33, in
sys.exit(load_entry_point('OnedriveCMD==0.1.8.1', 'console_scripts', 'onedrivecmd')())
File "C:\Users\tsing\AppData\Local\Programs\Python\Python38\Scripts\onedrivecmd-script.py", line 25, in importlib_load_entry_point
return next(matches).load()
File "c:\users\tsing\appdata\local\programs\python\python38\lib\importlib\metadata.py", line 77, in load
module = import_module(match.group('module'))
File "c:\users\tsing\appdata\local\programs\python\python38\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\onedrivecmd.py", line 17, in
from .utils.actions import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\actions.py", line 20, in
from .uploader import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\uploader.py", line 21, in
from .helper_item import *
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivecmd\utils\helper_item.py", line 7, in
import onedrivesdk
File "c:\users\tsing\appdata\local\programs\python\python38\lib\site-packages\onedrivesdk_init
.py", line 6, in
raise ImportError(MESSAGE)
ImportError: 'onedrivesdk' has been deprecated.
Visit https://pypi.org/project/onedrivesdk for migration information.

请问该如何解决?

@EamonZJX
Copy link

I met this error too.

@ethanjyx
Copy link

Same error

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

3 participants