[問題] 裝Line-bot-adk出現錯誤訊息

看板Python作者 (Archi)時間7年前 (2018/04/02 23:11), 編輯推噓0(002)
留言2則, 2人參與, 7年前最新討論串1/1
安裝之後錯誤碼如下,不知如何解? Building wheels for collected packages: future Running setup.py bdist_wheel for future ... error Failed building wheel for future Running setup.py clean for future Failed cleaning build dir for future Exception: Traceback (most recent call last): File "d:\program files\anaconda3\lib\shutil.py", line 387, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。 : 'C:\\Users\\*** \\AppData\\Local\\Temp\\tmpft7n4pinpip-wheel-\\future-0.16.0-cp36-none-any. whl' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "d:\program files\anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "d:\program files\anaconda3\lib\site-packages\pip\commands\install.py", line 385, in run requirement_set.cleanup_files() File "d:\program files\anaconda3\lib\site-packages\pip\utils\build.py", line 38, in __exit__ self.cleanup() File "d:\program files\anaconda3\lib\site-packages\pip\utils\build.py", line 42, in cleanup rmtree(self.name) File "d:\program files\anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f return Retrying(*dargs, **dkw).call(f, *args, **kw) File "d:\program files\anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 212, in call raise attempt.get() File "d:\program files\anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 247, in get six.reraise(self.value[0], self.value[1], self.value[2]) File "d:\program files\anaconda3\lib\site-packages\pip\_vendor\six.py", line 686, in reraise raise value File "d:\program files\anaconda3\lib\site-packages\pip\_vendor\retrying.py", line 200, in call attempt = Attempt(fn(*args, **kwargs), attempt_number, False) File "d:\program files\anaconda3\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree onerror=rmtree_errorhandler) File "d:\program files\anaconda3\lib\shutil.py", line 494, in rmtree return _rmtree_unsafe(path, onerror) File "d:\program files\anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe _rmtree_unsafe(fullname, onerror) File "d:\program files\anaconda3\lib\shutil.py", line 384, in _rmtree_unsafe _rmtree_unsafe(fullname, onerror) File "d:\program files\anaconda3\lib\shutil.py", line 393, in _rmtree_unsafe onerror(os.rmdir, path, sys.exc_info()) File "d:\program files\anaconda3\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler func(path) PermissionError: [WinError 32] 程序無法存取檔案,因為檔案正由另一個程序使用。 : 'C:\\Users\\*** \\AppData\\Local\\Temp\\pip-build-rn72xx2s\\future\\build\\bdist.win-amd64\\wheel' -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 58.114.214.94 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1522681874.A.693.html

04/03 08:42, 7年前 , 1F
把多餘的程式關一關或重開機再裝就會好了
04/03 08:42, 1F

04/04 17:30, 7年前 , 2F
我沒開什麼多餘程式啊。那列根本是他自己產生的
04/04 17:30, 2F
文章代碼(AID): #1QmaWIQJ (Python)
文章代碼(AID): #1QmaWIQJ (Python)