In. my firstboot script I have a command:
pip3.9 install --no-index --no-deps /Volumes/resources/system/pipdownloads/python3/*
This installs pip packages too /usr/local/lib64/python3.9/site-packages/. But it does not seem to install anything on the above location. If I run this command once i have logged into the system or via ssh then it seems to run fine and installs the packages into the correct place.
If i do the same with python2.7 then it works for that:
pip2.7 install --no-index --no-deps /Volumes/resources/system/pipdownloads/python2/*
What could be wrong?