Closed YueLiXing closed 1 year ago
just install pillow separately pip install Pillow
This does feel like a bug. If there is any interest I would be happy to patch in a PR to resolve this dependency in the installation.
zsh
has special meanings for square brackets -- you'll have to escape them (either with quotes pip install "qrcode[pil]"
, or with a leading slash pip install qrcode\[pil\]
)
Alternatively, you could add this to your .zshrc
:
alias pip='noglob pip'
@SmileyChris - thank you for the explanation here (learn something new everyday). Would it be possible to make an edit to this effect in setup instructions in the Readme file? This feels like it is going to be a common stumbling point for anyone following the setup instructions on a Mac.
Yep that seems like a good idea, do a pull request to put quotes around that in the readme. 👍
user
pip3 install qrcode
install qrcode.but not found