【问题标题】:Can't install cx_Freeze on linux mint?无法在 linux mint 上安装 cx_Freeze?
【发布时间】:2020-07-15 20:31:05
【问题描述】:

尝试在 linux mint for python 3.8 上安装第三方 Python 模块 cx_Freeze,不断收到此错误:

dc@dc-ThinkPad2-T470:~/PycharmProjects/untitled$ sudo apt-get install python3-cx_Freeze
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-cx_Freeze

这种使用sudo apt-get install 的安装方法对我来说对于其他第三方模块(例如 Pillow)来说效果很好,不知道为什么不适用于 cx_Freeze。 非常感谢一个有用的答案,已经尝试安装了几个小时。 谢谢

【问题讨论】:

  • 这个更适合askubuntu.com,不是编程题。

标签: python python-3.x linux cx-freeze linux-mint


【解决方案1】:

您可以根据您的pip 版本尝试以下任一命令

pip install cx-Freeze
pip3 install cx-Freeze

它对我有用。我正在使用 Linux Mint 20.1

【讨论】:

    猜你喜欢
    • 2023-03-04
    • 2014-01-01
    • 2019-11-10
    • 2020-08-24
    • 2017-10-03
    • 2017-08-02
    • 2015-01-03
    • 1970-01-01
    • 2015-03-30
    相关资源
    最近更新 更多