日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

成功解决ImportError: Missing optional dependency ‘fastparquet‘. fastparquet is required for parquet supp

發布時間:2025/3/21 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 成功解决ImportError: Missing optional dependency ‘fastparquet‘. fastparquet is required for parquet supp 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

成功解決raise ImportError(msg) from None
ImportError: Missing optional dependency 'fastparquet'. fastparquet is required for parquet support. Use pip or conda to install fastparquet.

?

?

?

目錄

解決問題

解決思路

解決方法

T1、pip本地下載

T2、pip在線下載


?

?

?

解決問題

raise ImportError(msg) from None
ImportError: Missing optional dependency 'fastparquet'. fastparquet is required for parquet support. Use pip or conda to install fastparquet.

?

?

解決思路

提示導入錯誤(msg)
導入錯誤:缺少可選依賴項“fastparquet”。fastparquet 需要parquet支持。使用pip或conda安裝fastparquet

?

?

解決方法

T1、pip本地下載

如果原先存在,可卸掉pyarrow后,重新下載即可!
pip install pyarrow-2.0.0-cp37-cp37m-win_amd64.whl

?

T2、pip在線下載

分別安裝下邊兩個包

pip install fastparquet pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple pyarrow? pip --default-timeout=1000 install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple fastparquet

?

(base) C:\Users\niu>conda install -i https://pypi.tuna.tsinghua.edu.cn/simple fastparquet usage: conda-script.py [-h] [-V] command ... conda-script.py: error: unrecognized arguments: -i(base) C:\Users\niuyayun>conda install fastparquet Collecting package metadata (current_repodata.json): done Solving environment: | The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:- defaults/win-64::anaconda==2020.02=py37_0- defaults/win-64::bkcharts==0.2=py37_0- defaults/noarch::dask==2.11.0=py_0- defaults/noarch::seaborn==0.10.0=py_0- defaults/win-64::statsmodels==0.11.0=py37he774522_0 failed with initial frozen solve. Retrying with flexible solve. Solving environment: done Collecting package metadata (repodata.json): done Solving environment: / The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:- defaults/win-64::anaconda==2020.02=py37_0- defaults/win-64::bkcharts==0.2=py37_0- defaults/noarch::dask==2.11.0=py_0- defaults/noarch::seaborn==0.10.0=py_0- defaults/win-64::statsmodels==0.11.0=py37he774522_0 done## Package Plan ##environment location: D:\ProgramData\Anaconda3added / updated specs:- fastparquetThe following packages will be downloaded:package | build---------------------------|-----------------_anaconda_depends-2020.02 | py37_0 6 KBanaconda-custom | py37_1 3 KBca-certificates-2020.10.14 | 0 122 KBcertifi-2020.6.20 | py37_0 156 KBconda-4.9.0 | py37_0 2.9 MBfastparquet-0.4.1 | py37h2a96729_0 3.4 MBopenssl-1.1.1h | he774522_0 4.8 MBpandas-1.1.3 | py37ha925a31_0 7.3 MBthrift-0.11.0 | py37h6538335_0 102 KB------------------------------------------------------------Total: 18.8 MBThe following NEW packages will be INSTALLED:_anaconda_depends pkgs/main/win-64::_anaconda_depends-2020.02-py37_0fastparquet pkgs/main/win-64::fastparquet-0.4.1-py37h2a96729_0pandas pkgs/main/win-64::pandas-1.1.3-py37ha925a31_0thrift pkgs/main/win-64::thrift-0.11.0-py37h6538335_0The following packages will be UPDATED:ca-certificates 2020.1.1-0 --> 2020.10.14-0certifi 2019.11.28-py37_0 --> 2020.6.20-py37_0conda 4.8.2-py37_0 --> 4.9.0-py37_0openssl 1.1.1d-he774522_4 --> 1.1.1h-he774522_0The following packages will be DOWNGRADED:anaconda 2020.02-py37_0 --> custom-py37_1Proceed ([y]/n)? pip install fastparquet Invalid choice: pip install fastparquet Proceed ([y]/n)?Downloading and Extracting Packages _anaconda_depends-20 | 6 KB | ############################################################################ | 100% conda-4.9.0 | 2.9 MB | ############################################################################ | 100% pandas-1.1.3 | 7.3 MB | ################################################################################################################# | 100% certifi-2020.6.20 | 156 KB | ################################################################################################################# | 100% anaconda-custom | 3 KB | ################################################################################################################# | 100% ca-certificates-2020 | 122 KB | ################################################################################################################# | 100% thrift-0.11.0 | 102 KB | ################################################################################################################# | 100% fastparquet-0.4.1 | 3.4 MB | ################################################################################################################# | 100% openssl-1.1.1h | 4.8 MB | ################################################################################################################# | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done

?

哈哈,大功告成!

?

?

?

?

?

?

總結

以上是生活随笔為你收集整理的成功解决ImportError: Missing optional dependency ‘fastparquet‘. fastparquet is required for parquet supp的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。