Closed cdn-content closed 10 months ago
Hmm, I'm not sure I can be particularly effective in helping you, given that:
I'd suggest double-checking that the version of Python that is installing folderify
is also the same that's trying to run it:
command -va pip3
command -va python3
For me, the /opt/homebrew/bin/
version is first in my $PATH
for each.
This works for me:
pip3 install folderify
python3 -m folderify # Invoke as a module
folderify-v2 # Invoke the executable installed by Python
It worked! I ended up doing a brew uninstall
of the newer one, and doing a reinstall of the legacy version through pip3. Calling folderify-v2
instead of just folderify
finally does the trick and doesn't leave a Big Sur folder on my Catalina desktop. Much obliged.
I am still on a MacBook running Catalina, and recently updated my homebrew formulae en masse. I probably should have excluded folderify from the update. Anyhow, now I do have the latest version of folderify, but want to revert to using 2.4.2 in order to have OSX-style folders.
I tried following the steps on the homepage, installing legacy folderify through python. It seems to be installed, but throws an error when attempting to run:
As a workaround, I tried reinstalling the older version using the steps described in this article, but also get an error.
https://cmichel.io/how-to-install-an-old-package-version-with-brew/
The website says to try and "manually checkout the git hash of the tap and install the version" but I don't know where to find that hash and enter it into the code snippet provided.
go to tap and check out correct hash
cd /usr/local/Homebrew/Library/Taps/
git checkout
prevent brew from checking out different hash
HOMEBREW_NO_AUTO_UPDATE=1 brew install
can list and switch between all versions
brew list --versions brew switch
Catalinas-MacBook-Pro:~ catalina$ brew tap -v homebrew-ffmpeg/ffmpeg homebrew/bundle homebrew/cask homebrew/core homebrew/services catalina/local-folderify catalina/local-folderify-legacy Catalinas-MacBook-Pro:~ catalina$ cd /usr/local/Homebrew/Library/Taps/catalina/homebrew-local-folderify-legacy Catalinas-MacBook-Pro:homebrew-local-folderify-legacy catalina$ git checkout
Catalinas-MacBook-Pro:~ catalina$ pip3 install folderify Requirement already satisfied: folderify in /usr/local/lib/python3.11/site-packages (2.4.2) Catalinas-MacBook-Pro:~ catalina$ python3.11 -m folderify -v --no-trim /Users/catalina/Downloads/Fonts/mask.png /Users/catalina/Downloads/Fonts /opt/local/bin/python3.11: No module named folderify Catalinas-MacBook-Pro:~ catalina$ python3 -m folderify -v --no-trim /Users/catalina/Downloads/Fonts/mask.png /Users/catalina/Downloads/Fonts /opt/local/bin/python3: No module named folderify