mac安装 bcolz出现错误

使用的是命令pip install bcolz

    c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.cc:29:10: fatal error: 'algorithm' file not found
    #include <algorithm>
             ^~~~~~~~~~~
    1 warning and 1 error generated.
    error: command 'gcc' failed with exit status 1

换成使用conda就成功安装了:

conda install -n deeplearning bcolz

猜你喜欢

转载自www.cnblogs.com/wanghui-garcia/p/10919200.html