一波三折。
安装pyroomacoustics的时候,只有一句话:
pip install pyroomacoustics
错误1
我的anaconda导航界面运行不了了,一直报错,重新下载了个anaconda还是不行,后来直接放弃最新版的anaconda,直接用旧版本的,清华镜像链接:
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
我下载了2020.11的就可以了。
之前下载的2021.05的有问题。
错误2
报了个啥错我忘了。反正就是需要安装依赖包,需要先安装下面就几个。
conda install matplotlib cython scipy
可以采用如下命令:
conda init
接着关闭Command Pompt,然后重新打开。
错误3
ValueError: check_hostname requires server_hostname
看看你的电脑是不是用了网络代理,关掉代理就可以了。
我的是关掉网络代理就好了。
错误4
Failed to establish a new connection: [Errno 11001] getaddrinfo failed’))
不知道啥原因,反正用清华镜像安装就对了。如下:
pip --default-timeout=100 install pyroomacoustics -i https://pypi.tuna.tsinghua.edu.cn/simple
参考来源链接
https://blog.csdn.net/sinat_26811377/article/details/106144379