【问题标题】:When installing CsvFormat in python:"No matching distribution found for CsvFormat" error在 python 中安装 CsvFormat 时:“No matching distribution found for CsvFormat”错误
【发布时间】:2019-05-07 09:09:16
【问题描述】:

我正在尝试安装 CsvFormat 包

我正在使用 python 2.7.10

vm02$ pip install --user CsvFormat

错误是

Collecting CsvFormat
  Could not find a version that satisfies the requirement CsvFormat (from versions: )
No matching distribution found for CsvFormat

vm02$ python -V
Python 2.7.10

【问题讨论】:

标签: python python-2.7 pip


【解决方案1】:

据我了解,您正在尝试在 python 中读取 csv 文件,最好的方法是获取pandas,然后运行以下命令

import pandas
file = pandas.read_csv("Location of your file")

查看此链接了解更多信息pypi.org

如果我误解了你的问题,请告诉我。

【讨论】:

    猜你喜欢
    • 2022-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-08
    • 2021-09-08
    • 2014-12-20
    • 1970-01-01
    • 2019-02-20
    相关资源
    最近更新 更多