ndparker/rcssmin

Cannot install on Mac OSX 10.15.7 with python 3.8.2

Closed this issue · 1 comments

I'm getting an error installing rcssmin via django-compressor on my Mac.

Mac OSX: 10.15.7
Xcode: 12.0.1 (command line tools are up-to-date as well)
python: 3.8.2
pip3: 20.2.3
pipenv: 2020.8.13
pyenv: 1.2.21

Here is the full error log:
rcssmin-error.txt

The one thing I see that looks odd is a reference to macosx-10.14.6. It looks like that's talking about my OS version, but I'm actually on 10.15.7, so I'm not sure what's going wrong there.
creating build/lib.macosx-10.14.6-x86_64-3.8

I can install rcssmin with python 3.7 and 3.8.6, but it's not working with 3.8.2.

After a night's sleep, I figured it out! I'm not sure of all the details behind the scenes, but either between updating Mac OSX or making some brew upgrades that installed python@3.8 and python@3.9, my project's python version was set to Mac's built-in python3. I think possibly because of how python@3.8 was linked with brew, something was amiss when trying to install rcssmin.

I was able to fix this by passing the specific path to my pyenv version of python@3.8.2.
pyenv install 3.8.2
pipenv --rm
pipenv install --python ~/.pyenv/versions/3.8.2/bin/python