开发常遇到的包安装问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xinkuang126/article/details/88829343

开发常遇到的包安装问题

a

  • No module named ‘absl’ error when I import tensorflow
    pip3 install absl-py
    

z

  • zipimport.ZipImportError: can’t decompress data; zlib not available
    sudo apt-get install zlib1g-dev 
    

b

bzip2

Installing Python-3.4.9…
WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib?

sudo apt install libbz2-dev

o

openssl

Installing Python-3.4.9…
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

sudo apt install python-openssl

猜你喜欢

转载自blog.csdn.net/xinkuang126/article/details/88829343