1

I got this error after loading snowsql

Please help

File "PyInstaller/loader/rthooks/pyi_rth_pkgres.py", line 11, in File "/Users/Shared/Jenkins/Home/workspace/Snowsql-Mac64/virtualenv_dir/snowsql/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.enter code here, line 627, in exec_module File "pkg_resources/init.py", line 86, in ModuleNotFoundError: No module named 'pkg_resources.py2_warn'

enter image description here

Arvind Maurya
  • 910
  • 12
  • 25

3 Answers3

1

I had exactly the same issue yesterday and managed to work through it by trying a bunch of different things - only I'm not sure which one made the difference.

See the last suggestion in this post for uninstalling and reinstalling PyInstaller via pip - I did that: Pyinstaller "Failed to execute script pyi_rth_pkgres" and missing packages

And I think the last thing I tried was brew cask reinstall snowflake-snowsql

Then you need to run the following to upgrade from v1.2: snowsql -v 1.2.2

Let me know if that helps.

Mike Donovan
  • 369
  • 1
  • 2
0

I had the same issue and same error when installing via the .pkg download. In desperation I tried installing via Homebrew Cask and it worked perfectly.

Tim M
  • 1
  • 1