As mentioned in title, when I try to install dependencies using Pipenv install
I get ModuleNotFoundError: No module named 'zlib'
. although it seems to work outside of Pipenv, there is no issue installing same dependencies using pip3 outside of Pipenv shell. I am using m1 chip Mac, so I already tried reinstalling Xcode-select --install
. also tried brew reinstall zlib
. but no progress so far.
Asked
Active
Viewed 1,549 times
0

rohan kantaria
- 33
- 1
- 6
1 Answers
0
there aren't any zlib packages in pypi https://pypi.org/search/?q=zlib
You can try with
sudo apt-get install zlib1g-dev
References:

Tlaloc-ES
- 4,825
- 7
- 38
- 84