anaconda安裝或者解除安裝工具包時,報錯:OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器
例如,報錯如下:
OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器。: 'd:\\anaconda3\\scr
ipts\\pip.exe' -> 'C:\\Users\\ADMINI~1.WIN\\AppData\\Local\\Temp\\2\\pip-0lozwrz
w-uninstall\\anaconda3\\scripts\\pip.exe'
解決方法:
按照提示,將C盤臨時目錄的檔案複製到Anaconda的安裝目錄下對應位置,
如將上面的臨時目錄C:\Users\Administrator.WIN50\AppData\Local\Temp\2\pip-0lozwrzw-uninstall\anaconda3下的所有目錄複製到安裝目錄d:\anaconda3的對應位置
參考:
另一種方法:本質原因是呼叫了對應的庫,檔案被佔用了,所以系統不能複製檔案;簡單的方法就是關掉Python,或者重啟下電腦,然後升級庫即可(參考本文評論)。
相關推薦
anaconda安裝或者解除安裝工具包時,報錯:OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器
例如,報錯如下: OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器。: 'd:\\anaconda3\\scr ipts\\pip.exe' -> 'C
【Mac + ATX基於uiautomator2】使用weditor時,報錯:requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection r
之前講過怎麼安裝u2(【Mac安裝,ATX基於uiautomator2】之安裝步驟)以及使用weditor, 但是經過一段時間,weditor不用的時候再打開發現,報錯了: requests.exceptions.ConnectionError: ('Connection aborted.
tf.app.run() 執行結束時,報錯:SystemExit exception: no description
環境:Python3.6.6 + tensorflow-gpu 原始碼如下: import tensorflow as tf def main(): print("hello tf.app.run") if __name__ == '__main__': tf.a
mysql資料庫用ip地址連線時,報錯:1130-host . is not allowed to connect to this MySql server,MySQL
解決方法:授權法。 例如,你想myuser使用mypassword從任何主機連線到mysql伺服器的話。 GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT O
Pyinstaller打包成exe檔案時,報錯:Cannot find existing PyQt5 plugin directories
如下圖所示:在用PyInstaller將.py檔案打包成exe檔案時出現下面的錯誤: 解決辦法: 根據Paths checked後面的路徑建立資料夾,把Anaconda下的qt資料夾裡的plugins資料夾下的所有檔案複製到新建的資料夾裡,我的電腦上對應的位置是:E:\Anac
編譯ffmpeg例程時,報錯:undefined reference
編譯ffmpeg例程,報了未定義錯誤: main.cpp:(.text+0x3a): undefined reference to avcodec_send_frame(AVCodecContext*, AVFrame const*)' main.
編譯java程式碼時,報錯:找不到符號
問題描述 編譯一段java程式碼時,提示“錯誤: 找不到符號”,如下: D:\practicejava>javac PrintArray.java PrintArray.java:4: 錯誤: 找不到符號 System.
IAR破解時,報錯:no features found for selected product
系統是Win10,安裝用於51微控制器開發的版本,破解檔案網上都能下到,這裡給個連結:IAR破解版下載。 直接說解決問題的原因及辦法。 【問題原因】:破解程式的pro
python 寫入檔案時,報錯:UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 1806: ille
最近用到python 爬取智聯招聘上的網頁,想把頁面儲存本地: def writeintofile(filename, str): # 開啟檔案 fo = open(filename, 'w') # 寫的方式開啟檔案 prin
(轉載)Anaconda找包,安裝包時,遇到PackageNotFoundError: ''Package missing in current channels"
原文地址:https://blog.csdn.net/ksws0292756/article/details/79192268 Anaconda作為一個工具包整合管理工具,下載python工具包是很方便的,直接敲: conda install package_name1但是有時候安裝一個工具包(如skim
Anaconda找包,安裝包時,遇到PackageNotFoundError: ''Package missing in current channels"
Anaconda作為一個工具包整合管理工具,下載python工具包是很方便的,直接敲:conda install package_name但是有時候安裝一個工具包(如skimage)的時候,在當前的channels中找不到這個包,會提示:PackageNotFoundError: Packages missi
在win10下安裝svn(msi格式)時出現報錯2502或者2503
在win10下安裝svn(msi格式)時出現報錯:The installer has encountered an unexpected error installing this package.this may indicate a problem with packa
Ubuntu使用安裝或者解除安裝軟體!!!
安裝軟體: 1.在應用商店裡面下載安裝 2.在終端sudo apt-get install 軟體名 3.使用ppa:新增一個ppa源:sudo add-apt-repository ppa:user/ppa-name,安裝軟體:sudo apt-get update su
安裝python3時,報錯提示api-ms-win-crt-runtime-l1-1-0.dll丟失
.dll mage 目錄 -o vpd lob 丟失 pad microsoft 背景: 安裝python3時會報錯,提示api ms win crt runtime l1-1-0.dll 丟失解決辦法 :一、安裝兩個補丁KB2999226 微軟下載鏈接 https://s
測試PHP是否安裝成功時,nginx報錯:"Primary script unknown"
stderr php pri index known req tde stc 參數 小生博客:http://xsboke.blog.51cto.com 小生 Q Q:1770058260-------謝謝您的參考,如有疑問,歡迎交流 環境php-5.6.36nginx-
python 安裝模組時提示報錯:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)
有時候,在Windows7x64下使用pip安裝包的時候提示報錯:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat) 環境:windows8 x64 ,python2.7 ,VS2012 解決方案:Microsoft Vi
python 安裝模塊時提示報錯:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)
親測 解決 com pip安裝 crf 管理員 網上 pretty mic 有時候,在Windows7x64下使用pip安裝包的時候提示報錯:Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat
ubuntu安裝新立得軟體包管理器報錯
報錯資訊 Starting "Synaptic Package Manager" without administrative privileges 這是因為沒有管理員許可權,所以需要用管理員許可權來執行 sudo synaptic 即可
mysql 安裝壓縮包,報錯:服務無法啟動解決方法!!!
1.安裝MySQL mysqld install,執行命令後MySQL安裝成功。 2.啟動MySQL服務。 net start mysql將啟動MySQL服務。ps:到這一步報錯,無法啟動服務!!!! 網上找了很多,多少都比較麻煩,其實解決起來很簡單: 在執行第二布命
源碼安裝並且成功啟動mysql後輸入mysql報錯:command not found
mysql源碼安裝並且成功啟動mysql後輸入mysql報錯:-bash: mysql: command not found解決方案:方案1、需要做軟連接:ln -s /usr/local/mysql/bin/* /usr/bin/ 方案2、加入環境變量:vim /etc/profile.d/mysql.s