成功解决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相关推荐

  1. 解决to_hdf() 报错ImportError: Missing optional dependency ‘tables‘. Use pip or conda to install tables.

    完整报错为:ImportError: Missing optional dependency 'tables'. Use pip or conda to install tables. 解决方法 co ...

  2. 关于PyCharm编程中报出ImportError: Missing optional dependency ‘openpyxl‘. Use pip or conda to ins错误的解决办法

     关于PyCharm编程中报出ImportError: Missing optional dependency 'openpyxl'. Use pip or conda to ins错误的解决办法之一 ...

  3. Python错误集锦:pandas读取excel提示ImportError: Missing optional dependency ‘xlrd’.

    原文链接:http://www.juzicode.com/archives/3125 错误提示: 用pandas read_excel()方法读取xls或xlsx文件时,提示:ImportError: ...

  4. Python使用pd.read_excel()报错Exception has occurred: ImportError, Missing optional dependency ‘openpyxl‘

    使用pd.read_excel()打开xlsx文件时,报错: Exception has occurred: ImportError Missing optional dependency 'open ...

  5. ImportError: Missing optional dependency ‘xlrd‘. Install xlrd >= 1.0.0 for Excel support Use pip or

    出现这种错误,那就安装吧 pip install xlrd

  6. Error Missing optional dependency ‘xlrd‘. Install xlrd = 1.0.0 for Excel support Use pipinstall xlr

    ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip ...

  7. 成功解决ImportError: Something is wrong with the numpy installation. While importing we detected an olde

    成功解决ImportError: Something is wrong with the numpy installation. While importing we detected an olde ...

  8. 成功解决ImportError: cannot import name ‘ft2font‘ from ‘matplotlib‘

    成功解决ImportError: cannot import name 'ft2font' from 'matplotlib' 目录 解决问题 解决思路 解决方法 1.下载whl文件 2.安装即可!

  9. 成功解决ImportError: cannot import name ‘Imputer‘

    成功解决ImportError: cannot import name 'Imputer' 目录 解决问题 解决思路 解决方法 解决问题 ImportError: cannot import name ...

最新文章

  1. c++中利用sizeof运算符计算结构体大小问题探讨
  2. c++ 纯虚函数和抽象类那些事(一)
  3. Codeforces Round #555 (Div. 3) c2 d e f
  4. c语言值传递 地址传递 引用传递参数,C++参数传递(值传递,引用传递)
  5. 2020 WTM 继续向前
  6. java学习(51):上转型对象
  7. c语言判断二叉树是不是二叉排序树_C语言:数据结构-树表的查找
  8. Django模型基础(三)——关系表的数据操作
  9. 一文看懂人工智能行业
  10. LCD液晶屏驱动芯片分类百科
  11. MATLAB最小矩形法边界法,最小外接矩形法.PPT
  12. webpack4打包js
  13. 指纹浏览器是什么,有什么用,指纹浏览器有哪些,指纹浏览器排行
  14. 使用calibre导出pdf格式时调整行间距
  15. 如何快速提高WiFi速度:1个小技巧提升2.5倍
  16. 网易游戏岗位大揭秘(在网易做游戏美术设计师是种什么体验?)
  17. antdvue走马灯一页显示多张图片的效果
  18. 面试应该怎样应对!细节决定成败
  19. 【紧急】Log4j又发新版2.17.0,只有彻底搞懂漏洞原因,才能以不变应万变
  20. 【力扣周赛】第343场周赛

热门文章

  1. vi 从第几行到第几行 替换_第三十三章:查找新函数:XLOOKUP,再也不用趴着电脑屏幕数第几列、第几行(二)...
  2. ecs 对比 本地服务器_ECS训练营Day03_SLB负载均衡实践 - 魔笔钨丝浣
  3. 零基础学oracle pdf_零基础学动漫插画详细步骤大全
  4. labview在2048中添加时间滚动条_Axure 教程:不可见滚动条的页面滚动效果
  5. python内置数据结构_Python内置数据结构
  6. LVS原理详解及部署之五:LVS+keepalived实现负载均衡高可用
  7. valgrind基础
  8. nfs参数介绍与写法示例及报错( Operation not permitted)
  9. Word2016此功能看似已中断...
  10. Vue route页面跳转,传递参数接收到的参数为空