chris_marchetti
07/29/2020, 4:02 PMdouwe_maan
07/29/2020, 4:25 PMchris_marchetti
07/29/2020, 4:26 PMdouwe_maan
07/29/2020, 4:27 PMchris_marchetti
07/29/2020, 4:27 PMchris_marchetti
07/29/2020, 5:43 PM--user option or check the permissions.douwe_maan
07/29/2020, 5:45 PMsudo ?chris_marchetti
07/29/2020, 5:46 PMdouwe_maan
07/29/2020, 5:51 PMtap-bing-ads or Meltano specifically.
Personally, I haven't had any issues with Python 3 installed using pyenv, and pyenv installed using Homebrew. For me,
python -c 'import ssl; print(ssl.get_default_verify_paths().openssl_cafile)'
outputs /usr/local/etc/openssl@1.1/cert.pem .
You may have more luck with that setup as well, but I'm not quite sure why your Homebrew installation isn't behaving like it is for those StackOverflow userschris_marchetti
07/29/2020, 5:55 PMdouwe_maan
07/29/2020, 5:56 PMchris_marchetti
07/29/2020, 5:56 PMdouwe_maan
07/29/2020, 5:56 PM/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/etc/ssl/cert.pem as the output, I assumed that's where your FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/etc/ssl' was coming from as welldouwe_maan
07/29/2020, 5:57 PMopenssl_cafile is not actually at that conclusion, that explains the errordouwe_maan
07/29/2020, 5:58 PMssl.get_default_verify_paths().openssl_cafile
will evaluate to /Users/cmarchetti/opt/anaconda3/ssl/cert.pem rather than the long Xcode pathchris_marchetti
07/29/2020, 6:39 PMmeltano invoke tap-bing-ads --discover in the virtual environment that I created for the meltano project, it still throws the error.douwe_maan
07/29/2020, 6:42 PMchris_marchetti
07/29/2020, 6:43 PMdouwe_maan
07/29/2020, 6:46 PMtap-bing-ads using <sys.excutable> -m venv .meltano/extractors/tap-bing-ads/venv . sys.executable is the same python Meltano itself will have been run with.
I wonder if that nested venv is somehow broken because the top-level venv is a Conda venv rather than a plain python venv?
If you directly execute ``.meltano/extractors/tap-bing-ads/venv/bin/tap-bing-ads``, do you also see an error? And what does .meltano/extractors/tap-bing-ads/venv/pyvenv.cfg look like?chris_marchetti
07/29/2020, 6:52 PMchris_marchetti
07/29/2020, 6:53 PMdouwe_maan
07/29/2020, 6:53 PMdouwe_maan
07/29/2020, 6:54 PMpyvenv.cfg looks right to me.chris_marchetti
07/29/2020, 7:00 PMchris_marchetti
07/29/2020, 8:21 PMdouwe_maan
07/29/2020, 8:37 PM.meltano/extractors/tap-bing-ads/venv/bin/tap-bing-ads is the basic Singer tap executable, so you'd need to use the Singer config file and catalog to see if it gives you the same error when run without Meltano, as when run with it.douwe_maan
07/29/2020, 8:38 PM