【问题标题】:Python sys package not available in conda?Python sys package not available in conda?
【发布时间】:2022-12-02 00:12:34
【问题描述】:

I am trying to install the pythonsyspackage in my conda 4.13.0 environment on MX-Linux:

conda install sys

The answer is:

PackagesNotFoundError: The following packages are not available from current channels:

  - sys

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page

The same happens for other common use packages likeos.

I tried looking forsysin https://anaconda.org: I find lots of packages but not thesysone. I expected to find the sys package or a similar one.

【问题讨论】:

  • The sys package is part of python's standard library, which means it is already installed
  • Thank you Martin, that solved my issue.
  • I added it as an answer, you could accept the answer if it works.
  • Please don't @RileyMartin. Questions that are basically typos (trying to install a built-in library is kind of a typo), shouldn't be answered but closed. You can flag such questions instead of answering

标签: python conda sys


【解决方案1】:

The sys package is part of python's standard library, which means it comes with python and does not need installed separately.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-06-18
    • 2022-01-02
    • 1970-01-01
    • 2015-02-16
    • 2022-12-27
    • 2021-04-23
    • 2013-03-18
    相关资源
    最近更新 更多