osx-elcapitan

CUDA linking error on OS X El Capitan

时间秒杀一切 提交于 2019-12-04 06:32:19
问题 I've been trying to install CUDA and cuDNN for TensorFlow as instructed on the TensorFlow page. Everything works until I do the following: $ cp -r /usr/local/cuda/samples ~/cuda-samples $ pushd ~/cuda-samples $ make I then get the following error: clang++ -rpath /Developer/NVIDIA/CUDA-7.5/lib -L/Developer/NVIDIA/CUDA-7.5/lib -framework CUDA -o clock_nvrtc clock.o -lnvrtc ld: framework not found CUDA clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: ***

Using pecl to install the Mongodb driver on OS X El Capitan (v10.11.1)

社会主义新天地 提交于 2019-12-04 06:31:30
I am trying to install the php mongo driver for OS X. I've tried following these instructions to no avail. $ which pecl -> /usr/local/Cellar/php56/5.6.13_2/bin/pecl $ sudo pecl install mongo -> full build results here but the problem the is the error: In file included from /private/tmp/pear/install/mongo/io_stream.c:34: /private/tmp/pear/install/mongo/contrib/php-ssl.h:33:10: fatal error: 'openssl/evp.h' file not found #include <openssl/evp.h> My Xcode command-line tools are up to date (I used $ xcode-select --install to be sure). I'm sure how to fix this problem. John J. Camilleri I managed

How do I uninstall older versions of GHC?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 04:57:34
I installed Haskell Platform 7.10.3 on my mac and when it finished it said that it had detected older versions of GHC and to uninstall them, but how do I do that? I'm using a macbook air with OS X 10.11.3. You can uninstall prior platforms by running uninstall-hs from the command line. You'll get an output like: -- Versions found on this system 7.10.3 -- To remove a version and all earlier: uninstall-hs thru VERSION -- To remove only a single version: uninstall-hs only VERSION And you can proceed from there... 来源: https://stackoverflow.com/questions/37034915/how-do-i-uninstall-older-versions

dtruss fails on ps on OS X 10.11

狂风中的少年 提交于 2019-12-04 04:35:58
I was trying to see which syscall ps uses to get the command line of a process on OS X 10.11 (El Capitan), and ran into the following error: # dtruss ps -p 43520 -o args dtrace: failed to execute ps: dtrace cannot control executables signed with restricted entitlements Googling resulted in the suggestion that making a copy of ps would allow me to bypass this, but that didn't work for me. Why can't I run dtruss on arbitrary binaries anymore, and is there any way for me to restore the old behavior? The issue has to do with the code signature. If you make a copy and then re-sign it with your own

unicharset_extractor: command not found

北城余情 提交于 2019-12-04 04:15:12
I want create new train data using tesseract. So follow step which mentioned in below website. https://blog.cedric.ws/how-to-train-tesseract-301 I got below error while i execute Unicharset in OS X terminal. Command: unicharset_extractor eng.micrtest.exp.box Error: -bash: unicharset_extractor: command not found I have using below software versions OS: OSX EI caption 10.11.1 tesseract 3.04.01 leptonica-1.72 libjpeg 8d : libpng 1.6.21 : libtiff 4.0.6 : lib 1.2.5 is this possible to execute unchaste_extractor command in OSx? Thanks in advance. Problem is "Unicharset_extractor" not install in your

Vim enters into visual mode on selecting text after El Capitan update

谁说胖子不能爱 提交于 2019-12-04 01:50:45
Issue is what the title says. Earlier I used to copy text from text files open in vim simply by selecting text and doing Ctrl + C . But now it puts me into visual mode, thus not allowing to copy the text. Its really annoying. Anybody knows any fix for this. Thanks. Dan Lowe You probably have the mouse mode active. You can turn it off with: :set mouse= And turn it back on with :set mouse=a If you are using iTerm, you can leave mouse mode on all the time if you want, and hold Option when you want to select without using visual mode. I am not aware of a way to do that in OS X Terminal. Update

MAMP not starting Apache server on El Capitan 10.11.1

别来无恙 提交于 2019-12-03 16:28:07
So I've been using MAMP just fine for an Apache server on Yosemite for some time now. I only need one local host, so I'm using regular MAMP and not MAMP Pro. I am on MAMP 3.4 When I click the "start servers" button, it doesn't respond to the click. It just shows the colored spinner like the application froze, and then nothing happens. Only the SQL server will start but not the Apache.(I don't even use SQL) I can click through the preferences window just fine, and I can click the quit button, but the start servers button just gives that error. The Apache box in the top right isn't filled in,

Python - ValueError: unknown locale: UTF-8 [duplicate]

百般思念 提交于 2019-12-03 16:24:13
This question already has answers here : Closed 3 years ago . Pelican 3.3 pelican-quickstart error “ValueError: unknown locale: UTF-8” (6 answers) I run the python script that contain Pandas (that one cause the problem) library I got this error: Traceback (most recent call last): File "test.py", line 2, in <module> import pandas ImportError: No module named pandas But if I import from package path to make sure it detects Pandas library, I got this error message Traceback (most recent call last): File "test.py", line 3, in <module> import pandas File "/usr/local/lib/python2.7/site-packages

Getting task_for_pid() to work in El Capitan

偶尔善良 提交于 2019-12-03 13:54:56
Years ago we wrote an application that needs to monitor resource usage of several processes. This was back in the days of Snow Leopard. The command line command ps had more than enough of what we needed so we got a copy of the source code for ps and figured out what functions they were calling and why, and then used similar calls used in ps for the basis of our project, but ours was written in Objective C, not C. This was NOT a ps copy we simply based the modeling of the code on how ps got the core of the info. This worked fine from Snow Leopard up through Yosemite. Enter El Capitan and

Using pfctl on Mac OS 10.11 (El Capitan) to forward ports

最后都变了- 提交于 2019-12-03 13:34:52
问题 I am currently testing if my developing environment will run on the new upcoming Mac OS 10.11 and if I can upgrade as soon as it's released. On my test machine I am currently running the Beta Preview 3. Everything seems to be running fine. I just can get pfctl to forward my ports. I use Vagrant and Parallels Desktop to run a Debian system for my local web server. Vagrant forwards port 8080 on the host to 80 on the guest. So 127.0.0.1:8080 works fine. But in some projects I want to have the