kind-queen-6796
01/31/2021, 6:47 AMbitter-salesclerk-57109
01/31/2021, 6:53 AMfaint-energy-11966
01/31/2021, 6:53 AMpip install openpyxl
kind-queen-6796
01/31/2021, 7:14 AM$
, get this nowmodern-table-48211
01/31/2021, 7:21 AM$
in front of a command means its supposed to run on a terminal.
#
in front of a command means its supposed to run on a terminal but with root permissions (or use sudo
but you don't have to put that symbol.
Next, you're using Python 2 which is EOL and the package isn't supported. Use homebrew
and install python 3
https://docs.python-guide.org/starting/install3/osx/
Then use pipenv or virtualenv to create a separate environment & then install what you wantkind-queen-6796
01/31/2021, 7:26 AMmany-intern-37109
01/31/2021, 7:26 AMkind-queen-6796
01/31/2021, 7:26 AMmany-intern-37109
01/31/2021, 7:28 AMpip3 install openpyxl
instead?kind-queen-6796
01/31/2021, 7:28 AMpip install
with pip3 install
. What exactly is happening here? new version or something?many-intern-37109
01/31/2021, 7:30 AMpip install
will be the default for python3 thenkind-queen-6796
01/31/2021, 7:31 AMmany-intern-37109
01/31/2021, 7:32 AMzsh
for your terminal. It has cool helpful featuresmodern-table-48211
01/31/2021, 7:32 AMmany-intern-37109
01/31/2021, 7:33 AMThanks a ton. Btw what’s the advantage of creating a virtual environment? Is it really necessary?You could have multiple environments for multiple projects. It would decouple the packages and dependencies
modern-table-48211
01/31/2021, 7:34 AMmany-intern-37109
01/31/2021, 7:36 AMkind-queen-6796
01/31/2021, 7:41 AMbroad-camera-13514
02/01/2021, 9:12 AM