首页 > 其他分享 >安装samplerate包

安装samplerate包

时间:2023-11-24 15:36:18浏览次数:29  
标签:python library scikits usr install samplerate 安装

这里的用户已经在Ubuntu上做过了,也许类似的方法也适用于Windows。在

http://msnoise.org/doc/installation.html

You first need to install the SRC library:

sudo apt-get install libsamplerate0 libsamplerate0-dev
This python package will probably be the most tricky to install. If you are lucky, you can just

pip install scikits.samplerate
On my Ubuntu 12.04, this results in an error because the SRC library path is not found. The reason is that the setup searches SRC in /usr/lib and not in /usr/lib/x86_64-linux-gnu where the library is actually present. To install, you need to download the archive from pypi and edit some configuration file:

wget https://pypi.python.org/packages/source/s/scikits.samplerate/scikits.samplerate-0.3.3.tar.gz#md5=96c8d8ba3aa95a9db15994f78792efb4
tar -xvf scikits.samplerate-0.3.3.tar.gz
cd scikits.samplerate-0.3.3
then edit the site.cfg example file and insert the following lines:

[samplerate]
library_dirs=/usr/lib/x86_64-linux-gnu
include_dirs=/usr/include
To know where the SRC library is on you machine:

sudo dpkg -L libsamplerate0
sudo dpkg -L libsamplerate0-dev
then, build and install:

python setup.py build
python setup.py install

标签:python,library,scikits,usr,install,samplerate,安装
From: https://www.cnblogs.com/wcxia1985/p/17853834.html

相关文章

  • FFTW库安装(Linux系统)
    https://zhuanlan.zhihu.com/p/600161033  本文主要介绍在Linux系统下使用GCC和OpenMPI安装FFTW库。一、什么是FFTWFFTW意为FasterFourierTransformintheWest,是一个C语言的快速计算离散傅里叶变换库,它是由MIT的M.Frigo和S.Johnson开发的,可计算一维或多维实和复数据以......
  • 安装算量软件哪个好_鹏业安装算量优势特点
    鹏业安装算量软件通过智能分析电子图纸信息,融合安装工程专业特点,快速、准确、自动建立消防喷淋、强(弱)电、通风空调、消火栓、给排水等各专业的数据模型,自动完成工程量计算、三维模型数据的建立,轻松实现在BIM中的应用。一、使用鹏业安装算量软件的优势特点1.无需加密锁在线免费使......
  • (Mac)Maven 的安装
    下载安装官网下载直接解压liuzd@liuzhendongdeMacBook-Pro~%cdDevelop/Toolsliuzd@liuzhendongdeMacBook-ProTools%tar-zxvfapache-maven-3.8.1-src.tar.gz打开配置#找到配置文件并使用指定app打开liuzd@liuzhendongdeMacBook-ProTools%mvapache-mave......
  • window上docker安装dnmp环境
    搭建环境Nginx+PHP+MySQL+Redis1.下载MySQL镜像dockersearchmysql-8dockerpull mysql:8或者dockerpullmysql:8.0.27 2.启动一个mysql容器dockerrun-d-p3306:3306-eMYSQL_ROOT_PASSWORD=public123456--namemysql_8.0.27mysql:......
  • Linux环境下安装jdk1.8nacos-server 2.2.3
    JDK1.8安装1.下载地址jdk1.8https://www.oracle.com/java/technologies/downloads/2.ftp上传##/usr/local/software/jdk-8u391-linux-x64.tar.gzcd/usr/local/software/tar-zxvfjdk-8u391-linux-x64.tar.gz##重命名mv/usr/local/software/jdk1.8.0_391/usr/local......
  • mac端 安卓UI自动化安装环境配置
    安装JDK 官网下载安装包https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html 选择对应mac版本的dmg文件下载安装 配置Java环境终端执行命令vi~/.bash_profile文件,/Library/Java/JavaVirtualMachines/jdk-17.jdk/Content......
  • How to use 微PE to install WinOS. 怎么使用微PE安装系统.(no USB drive)
    1.Download微PEInstallit.https://www.wepe.com.cn/download.html 2.Rebootyoursystem,Select微PEtostart. 3. OpenCGI备份还原  .Tips.Step3,chooseyoursystem's partition.Don'tmistake.Mindit'ssize.Forexample,my......
  • plsql免安装(解压即用),不信你点点就知道了
    只想让你们用到免费的真正有用的好东西!!只想让你们用到免费的真正有用的好东西!!只想让你们用到免费的真正有用的好东西!!只想让你们用到免费的真正有用的好东西!!解压就可以用了!!!这里有地址第一个是PLSQL链接:https://pan.baidu.com/s/13elyCcVV-xnKNgNUeOh7eg提取码:tz4e安利第二个好用......
  • 2023最新版VMware WorkStation虚拟机保姆式安装手册
    博主环境:版本:Windows10专业版版本号:22H2安装日期:2023-01-29操作系统内部版本:19045.3693体验:WindowsFeatureExperiencePack1000.19053.1000.0VMwareWorkstation17Pro第一步:下载地址:https://www.vmware.com/cn/products/workstation-pro.html第二步:安装双击:VMwa......
  • centos docker 安装
    #下载docker依赖组件yum-yinstallyum-utilsdevice-mapper-persistent-datalvm2#设置下载的docker的进项源为阿里云yum-config-manager-add-repohttp://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo#安装docker服务yum-yinstalldocker-ce#安装......