好友
阅读权限10
听众
最后登录1970-1-1
|
本帖最后由 WWBoy 于 2024-5-10 00:40 编辑
由于我系统转移了多个默认存储路径,因此报错了,重建一个Documents倒是可以解决
Traceback (most recent call last):
File "main.py", line 15, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "common\main_helper.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "LivePlatform\dy.py", line 10, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "common\share_data.py", line 12, in <module>
File "common\share_data.py", line 19, in ShareData
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\\Users\\admin\\Documents\\DSLiveRec'
因很多人在问我如何操作,我还是在原来这添加解决方法吧,其实主要是用户目录下面少了Documents(文档)这个文件夹,一般做过转移后可能会出现,这里统一回复一下简单的操作,就是在c:\users\"你的用户名"\右键新建文件夹,取名Documents
再不清楚照着打以下命令吧
1、按Win+R(开始-运行)
2、输入cmd
3、输入cd %userprofile% (cd后面有一个空格)
4、输入md Documents (md后面有一个空格)
|
|