脚本入口点无效,需要可调用后缀

脚本入口点无效,需要可调用后缀

我正在尝试安装btrfs-sx备份RHEL7。它说:

安装:pip install btrfs-sxbackup

需要:python3

我是python34从 epel 安装的。没有pip它,所以我安装了它,如下所述:https://stackoverflow.com/a/32771094/447503

pip3构建我的包,但无法安装它:

[root@wc8rh7 ~]# yum -y install python34
[root@wc8rh7 ~]# curl https://bootstrap.pypa.io/get-pip.py | python3.4
[root@wc8rh7 ~]# pip3 install btrfs-sxbackup
Collecting btrfs-sxbackup
  Downloading btrfs-sxbackup-0.5.9.tar.gz
Building wheels for collected packages: btrfs-sxbackup
  Running setup.py bdist_wheel for btrfs-sxbackup ... done
  Stored in directory: /root/.cache/pip/wheels/42/28/92/3f60b95db806b9d2e1b3a1a91acdac263dadfaba17a88b1df9
Successfully built btrfs-sxbackup
Installing collected packages: btrfs-sxbackup
Invalid script entry point: <ExportEntry btrfs-sxbackup = btrfs_sxbackup.__main__:None []> for req: btrfs-sxbackup - A callable suffix is required. Cf https://packaging.python.org/en/latest/distributing.html#console-scripts for more information.

相关内容