bcdev / jpy

A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
Apache License 2.0
187 stars 37 forks source link

macos catalina 10.15.6 (19G2005); gcc error #181

Open jburmistrova opened 3 years ago

jburmistrova commented 3 years ago

Hello, when I try to run the command "python setup.py build maven bdist_wheel", I'm getting the following issue. I attached my terminal output but the last line of the error is:

      **203 warnings and 1 error generated.
      error: command 'gcc' failed with exit status 1**

I have python 2.7 and 3.7 and 3.8 installed, but my python is set to 3.8 being the main version: Python 3.8.3 (default, Jul 2 2020, 11:26:31)

I do have gcc installed (base) ➜ ~ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include- dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.21) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

My overall goal is to get snappy working from ESA.

Terminal Saved Output.txt

huayue21 commented 3 years ago

check out my latest reply. Met with similiar error message and fixed it.