深度学习整理篇(一)安装Python,Keras,Librosa,Numpy,Scipy

  • python>=3.6
  • tensorflow=1.13.1
  • keras=2.2.4
  • Librosa
  • Numpy
  • Scipy

上述工具的安装都是先安装python,再使用pip3 install --tensorflow==版本号来完成,这里记录一次安装Librosa降级安装的过程。

大概错误描述如下:librosa 没有"output"属性,这个时候,使用下面命令,进行降级安装

pip3.6 install librosa==0.6.3

有的时候再运行python程序的时候,numba>=0.50以上的版本,也会报numba的一个错误,

在import librosa时会出现  No module named 'numba.decorators

这个时候,要使用下面语句进行降级安装

pip install --ignore-installed numba==0.48.0

参考指南:

1.librosa版本说明

https://github.com/librosa/librosa/releases

2.pip3安装报错:Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which 
would lead to only a partial uninstall.

解决方法如下:

sudo pip3 install --ignore-installed six

其他报错同理,更换six

猜你喜欢

转载自blog.csdn.net/penker_zhao/article/details/107658198