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

作者: Archi821 (Archi)   2018-04-02 23:11:11
安裝之後錯誤碼如下,不知如何解?
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'
作者: uranusjr (←這人是超級笨蛋)   2018-04-03 08:42:00
把多餘的程式關一關或重開機再裝就會好了
作者: Archi821 (Archi)   2018-04-04 17:30:00
我沒開什麼多餘程式啊。那列根本是他自己產生的

Links booklink

Contact Us: admin [ a t ] ucptt.com