使用pip3方法安装:
pip3 install jupyterlab
报错:(提示是clang的问题,根据解决结果反推应该是wheel版本不匹配导致)
...... In file included from /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/xmmintrin.h:13: /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. error: command 'clang' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for argon2-cffi ...... ERROR: Could not build wheels for argon2-cffi which use PEP 517 and cannot be installed directly ......
解决办法:运行一下命令后,重新安装
sudo pip3 install --upgrade pip setuptools wheel
#https://github.com/coding-coworking-club/basic-python-2020-fall/issues/3
尊重他人劳动成果,转载请注明出处:Bluesky's blog » macOS bigsur Jupyter安装报错