简体   繁体   中英

Can't install jupyter (or jupyter lab) w/ pipenv & big sur

Not sure if this is a Big Sur thing or so... Set up an env through pipenv specifying python 3.8 (otherwise numpy etc. broke). Getting an error w/ argon2 when I try installing jupyter (ie pipenv install jupyter ); is this a known Big Sur thing, or would you have any thoughts?

我的错误

I was able to resolve this by installing libffi and mercurial via homebrew. After doing that, I was still running into issues before realizing that homebrew was downloading bottles for its Python 3.9 distribution (not Big Sur's system-wide Python 3 version, 3.8). Once I ran the following, everything installed correctly: pipenv install --python `which python3.9` install jupyterlab .

Although I installed both homebrew packages, I believe I only needed to install libffi for it to work. In a perfect world, homebrew would install it for the system-installed Python version but c'este la vie. Everything's working now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM