我刚刚为conda. 它适用于基本 python,但显然不适用于numpy. 错误是“原因:找不到图像”:
numpy已经安装成功:
conda install numpy
The following NEW packages will be INSTALLED:
blas conda-forge/osx-64::blas-2.106-openblas
libblas conda-forge/osx-64::libblas-3.9.0-6_openblas
libcblas conda-forge/osx-64::libcblas-3.9.0-6_openblas
libgfortran conda-forge/osx-64::libgfortran-5.0.0-9_3_0_h6c81a4c_18
libgfortran5 conda-forge/osx-64::libgfortran5-9.3.0-h6c81a4c_18
liblapack conda-forge/osx-64::liblapack-3.9.0-6_openblas
liblapacke conda-forge/osx-64::liblapacke-3.9.0-6_openblas
libopenblas conda-forge/osx-64::libopenblas-0.3.12-openmp_h54245bb_1
llvm-openmp conda-forge/osx-64::llvm-openmp-11.0.1-h7c73e74_0
numpy pkgs/main/osx-64::numpy-1.19.2-py39h0fa1045_0
numpy-base pkgs/main/osx-64::numpy-base-1.19.2-py39h3a452eb_0
Proceed ([y]/n)?
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Run Code Online (Sandbox Code Playgroud)
安装conda install ipython也成功了。但ipython不起作用:
$ipython
Python 3.9.1 (default, Dec 11 2020, 06:28:49)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.20.0 -- An …Run Code Online (Sandbox Code Playgroud)