【问题标题】:Not able to do pip install saspy无法执行 pip install saspy
【发布时间】:2022-01-24 19:11:11
【问题描述】:

我正在使用 jupyter notebook 并尝试运行 pip install saspy,但出现以下错误。

错误:找不到满足 saspy 要求的版本 错误:没有找到 saspy 的匹配分布

注意:我的机器上有 python 版本 3.9.6 和 sas 版本 9.4。

你能帮我解决这个问题吗

【问题讨论】:

  • 你在笔记本%conda install saspy里面试过了吗?
  • 没用。收集包元数据(current_repodata.json):...工作...失败
  • 如果您还没有尝试在笔记本中使用 pip,您可以在笔记本单元格中尝试%pip install saspy 吗?

标签: python pip sas jupyter saspy


【解决方案1】:

尝试使用python3 -m pip install saspy。我的机器上有同样的问题,这个解决方法对我有用

【讨论】:

  • 文件“”,第 1 行 python3 -m pip install saspy ^ SyntaxError: invalid syntax
【解决方案2】:

对于 Jupyter,您需要安装 sas_kernel。在 Conda 提示符下,pip install sas_kernel

请参阅this blog post by SAS 了解更多详情。

如果您仍然有困难,建议您在 SASPy github 页面 (here) 发帖,因为开发人员的响应速度非常快。

【讨论】:

    猜你喜欢
    • 2020-10-12
    • 2019-02-10
    • 1970-01-01
    • 2019-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-01-30
    相关资源
    最近更新 更多