Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source setup-env fails with Xcode errors (Macbook running Sierra) #7

Open
seanharr11 opened this issue May 17, 2017 · 2 comments
Open

Comments

@seanharr11
Copy link

Here is the stderr of the setup-env command, anything obvious jump out to anyone? (trying to hack around it now)

 Updating Homebrew...
  ^[[33mWarning:^[[0m openssl is a keg-only and another version is linked to opt.
  ^[[33mWarning:^[[0m xz-5.2.3 already installed
  Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SD
    Ks/MacOSX10.12.sdk/usr/include/c++/4.2.1
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(dynamic_annotations.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(pymath.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(dynamic_annotations.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(pymath.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(dynamic_annotations.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(pymath.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(dynamic_annotations.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpython3.6dm.a(pymath.o) has no symbols
 Error: Command '['/Users/SeanH/git/c-extension-tutorial/venv/bin/python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

@seanharr11
Copy link
Author

The message Environment is **not** setup correctly! is also printed to stdout...

@seanharr11
Copy link
Author

seanharr11 commented May 17, 2017

For those of you who didn't read @llllllllll 's first email (like myself), you need to run the following command to fix the above issues:

xcode-select --install

Leaving open in hopes someone else finds this in the next 4 hours...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant