gigalixir / homebrew-brew

0 stars 0 forks source link

ModuleNotFoundError: No module named 'setuptools' #1

Closed owenstrevor closed 4 years ago

owenstrevor commented 4 years ago

Getting this error when running brew tap gigalixir/brew && brew install gigalixir

python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/gigalixir--homebrew-virtualenv-202
Last 15 lines from /Users/Owens/Library/Logs/Homebrew/gigalixir/01.python3:
-c
import setuptools, tokenize
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
  .replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
--prefix=/private/tmp/gigalixir--homebrew-virtualenv-20200806-37741-1c4wp51/target
--install-scripts=/private/tmp/gigalixir--homebrew-virtualenv-20200806-37741-1c4wp51/target/bin
--single-version-externally-managed
--record=installed.txt

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/gigalixir/homebrew-brew/issues

When I run pip3 install setuptools

Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (40.6.2)
owenstrevor commented 4 years ago

this fixed it $ brew postinstall python3