哪个python软件包拥有二进制文件? [英] Which python package owns a binary?

查看:76
本文介绍了哪个python软件包拥有二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用~/.local/share/miniconda3/envs/nndl/bin/tput时遇到问题-它产生的输出与我的系统版本不同,从而破坏了ANSI的颜色.

I'm having problems with ~/.local/share/miniconda3/envs/nndl/bin/tput - it produces output different to my system version, breaking some ANSI colouring.

我正在尝试查找提供该令人反感版本的软件包.

I'm trying to track down the package which provides this offensive version.

我已经尝试过():

pip list | tail -n +3 | cut -d" " -f1 | xargs pip show -f | grep tput

但是二进制文件未显示.

But the binary is not shown.

如何查找哪个python软件包包含二进制文件?

How do I find which python package includes a binary?

推荐答案

一个丑陋的解决方案是:

One ugly solution is:

  1. 重命名文件
  2. 一个接一个地重新安装所有已安装的软件包 直到文件重新出现
  1. Rename the file
  2. Re-install all installed packages one-by-one until the file reappears

这篇关于哪个python软件包拥有二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆