macos-sierra

Cannot connect to the Docker daemon on macOS

允我心安 提交于 2019-11-27 04:57:54
问题 I normally prefer to manage my apps on my OSX with brew I am able to install docker, docker-compose and docker-machine docker --version Docker version 17.05.0-ce, build 89658be docker-compose --version docker-compose version 1.13.0, build unknown docker-machine --version docker-machine version 0.11.0, build 5b27455 I did not download and run 'Docker for Mac' app. However when I try to run > docker run -d -p 80:80 --name webserver nginx docker: Cannot connect to the Docker daemon at unix://

.bash_profile syntax error: unexpected end of file

笑着哭i 提交于 2019-11-27 04:51:35
问题 OS: macOS Sierra v10.12.2 I was trying to get R working from the command line and ran into this problem, probably because I am relatively new to coding and messed with something I should not have. Upon opening new terminal: -bash: /Users/Brad/.bash_profile: line 33: syntax error: unexpected end of file When I inspect the profile it looks like this: # Setting PATH for Python 2.7 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:$

Using OpenMP with C++11 on Mac OS

强颜欢笑 提交于 2019-11-26 20:55:51
问题 I am trying to use some OpenMP multithreading features in my C++11 code like: #pragma omp parallel for When I try to compile using: clang++ -std=c++11 -stdlib=libc++ -fopenmp main.cpp -o main.o I get the below error: clang: error: unsupported option '-fopenmp' I alternatively tried compiling using: g++ -fopenmp main.cpp -o main.o But this gives the exact same error. Would appreciate very much if you could advise how can I compile C++11 code that has OpenMP features on Mac OS 10.12. The other

python setup.py egg_info mysqlclient

随声附和 提交于 2019-11-26 19:45:51
问题 Trying to install mysqlclient using pip3 on Python 3.6.0 $ pip3 install mysqlclient Collecting mysqlclient Using cached mysqlclient-1.3.10.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/3k/08g3yx_12kg99kyfs989md600000gn/T/pip-build-1qv_89jc/mysqlclient/setup.py", line 17, in <module> metadata, options = get_config() File "/private/var/folders/3k/08g3yx_12kg99kyfs989md600000gn/T

rJava linker error licuuc with Anaconda & fopenmp error without Anaconda for macOS Sierra 10.12.4

北慕城南 提交于 2019-11-26 17:09:38
问题 I want to install rJava on macOS Sierra 10.12.4. My current Java version is Java version: 1.8.0_131 , according to R CMD javareconf|grep version . I have installed Java with Homebrew's cask. My Java runs the following $ java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) My R version is R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for

security / codesign in Sierra: Keychain ignores access control settings and UI-prompts for permission

浪子不回头ぞ 提交于 2019-11-26 16:56:29
Starting with macOS Sierra, I can't import a codesign-identity into a keychain with /usr/bin/security any more without usr/bin/codesign UI-prompting for access when using this identity. This breaks the packaging scripts of build server. There seems to be no workaround. This affects custom created keychains, but also the login.keychain. Steps to Reproduce: Execute the following commands in Terminal (requires a signing identity to be available to import): security create-keychain -p test buildagent.keychain security unlock-keychain -p test buildagent.keychain security list-keychains -d user -s

GDB kind of doesn&#39;t work on macOS Sierra

孤人 提交于 2019-11-26 15:18:34
问题 It is a problem that appeared when I first updated to macOS Sierra yesterday. GDB itself is running OK. However, somehow, it cannot run my program. When I type 'run' and 'enter', it immediately crashes with the information: During startup program terminated with signal SIG113, Real-time event 113. My GDB is based on homebrew. So today, I uninstalled the whole homebrew package and reinstalled it. After the codesign step, I still faced the same error. I tried 'sudo' and a few other things.

ERROR ITMS - 90167 No. app bundles found in the package

空扰寡人 提交于 2019-11-26 11:46:42
问题 Before I start writing about the error, I\'m running on macOS Sierra and using Xcode 7.3.1. So I\'m creating an Archive from my App, I validate the App and it passes validation, but when uploading to App Store, I get the error \"ERROR ITMS - 90167 No. app bundles found in the package\". I\'ve checked all my documentation and I have everything. I have all my provisioning profiles. I have Release as \"iOS Distribution\". This error just started appearing after I installed macOS Sierra. Anyone

Jvm takes a long time to resolve ip-address for localhost

北慕城南 提交于 2019-11-26 10:13:49
I seem to have a problem with performance of "sbt test" after upgrading to macOS Sierra. On a previous version of OS X it took about 40-50 seconds to finish. macOS Sierra times are much higher than that. Last run I did was around 15 minutes. Compile times are about the same as on 'El Capitan'. I'm the only one from my team to try this new macOS so I can't tell if it's only happening on my mac or is it a universal issue. My colleague had a similar issue on Ubuntu and it was related with random number generation slowing down the tests - Slow service response Times : Java SecureRandom & /dev

Command Line Tools not working - OS X El Capitan, Sierra, High Sierra, Mojave

人走茶凉 提交于 2019-11-26 09:40:34
I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I don't have Xcode installed, never did. Anyone have a solution? cuadraman Found the fix for the problem here . xcode-select --install This will bring up a prompt to install the necessary command line tools. Ryan Heitner If you have issues with