如何强制pip安装一个编译它的软件包(无二进制文件),但使用先前的特定版本

时间:2020-10-31 13:05:49

标签: pip

我正在尝试这样的事情:

pip install -U --no-cache-dir --force-reinstall --ignore-installed --no-binary :all: pysam==0.15.4
Collecting pysam==0.15.4
  Downloading pysam-0.15.4.tar.gz (1.6 MB)
     |████████████████████████████████| 1.6 MB 455 kB/s
Skipping wheel build for pysam, due to binaries being disabled for it.
Installing collected packages: pysam
    Running setup.py install for pysam ... done
Successfully installed pysam-0.16.0.1

过一会儿,在编译的地方,我得到的版本是0.16.0.1(最新版本),我不是那个!

0 个答案:

没有答案