Skip to content

onedrivecmd init 时报错 #76

@AuTsing

Description

@AuTsing

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.

请问该如何解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions