osx-mountain-lion

pip: Could not find an activated virtualenv (required)

▼魔方 西西 提交于 2019-12-17 09:19:06
问题 I am trying to instal virtualenv and/or virtualenvwrapper on a mac osx 10.8.3 I have been fighting with python for the last two days. Finally I was able to install python 2.7.4 using brew. Before I had virtualenv installed using easy_install. Then I tried to uninstall it, trying to get my computer in the same situation as the one of my colleagues. Maybe I uninstalled it with success, maybe not. I don't know how to test it. Now I am supposed to install virtualenv using - pip install virtualenv

CSS Overflow Auto in Mountain Lion: Scrollbars not appearing

不打扰是莪最后的温柔 提交于 2019-12-14 02:26:50
问题 Test this JS Fiddle in Chrome or Safari on Lion and Mountain Lion. What should be displayed is a box that scrolls. Once you start scrolling, the bar should appear, and disappear once again when you stop scrolling. In Lion and Mountain Lion, it doesn't. Anyone know of a fix to show the scrollbars? HTML: <div id="box"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus facilisis scelerisque aliquam. Nulla consequat justo malesuada mi imperdiet sodales. Morbi rhoncus, diam nec

pip install PySide fails QtCore Framework check (OS X)

风格不统一 提交于 2019-12-13 19:58:19
问题 The error When I run pip install PySide – whether in a virtual environment or not – build fails with the following error: ... [lots of build info, including a few warnings but no errors, for shiboken] Linking CXX executable shiboken ld: framework not found QtCore clang: error: linker command failed with exit code 1 (use -v to see invocation) Seeing as I have QtCore installed and the framework present (see below), I'm not sure why that should be. Setup info Software versions OS X 10.8.2 Qt 4.8

Whats the Correct Way to Prompt a User for their Password?

我的未来我决定 提交于 2019-12-13 18:51:58
问题 This is a follow up to this question. If I'm going to store a user's username and password with Keychain Services, should I simply create my own prompt view with an NSSecureTextField for the password, and then once the user enters their info pass it to a Keychain Services API (I found this one)? I'm concerned Apple won't like me interacting with a users sensitive data directly like that. 回答1: this sounds like the appropriate thing to do. The following function calls will do the stuff you need

Setting up Subversion Server on Mac OS mountain lion (have access via browser, but un-able to checkout from subversion) [closed]

不想你离开。 提交于 2019-12-13 16:19:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Some details (maybe it would be usefull for some guys): On board : mac mini + mountain lion + Server.app. Problem : I do have access to my subversion repo via browser, but do not have access to it via command line to checkout (for example). I've done : Got mod_dav_svn.so and mod_authz_svn.so from Mac OS Lion and

PyCuda / Multiprocessing Issue on OS X 10.8

风格不统一 提交于 2019-12-13 15:33:19
问题 I'm working on a project where I distribute compute tasks to multiple python Processes each associated with its own CUDA device. When spawning the subprocesses, I use the following code: import pycuda.driver as cuda class ComputeServer(object): def _init_workers(self): self.workers = [] cuda.init() for device_id in range(cuda.Device.count()): print "initializing device {}".format(device_id) worker = CudaWorker(device_id) worker.start() self.workers.append(worker) The CudaWorker is defined in

how to install cc on mac os 10.8 without paying for developer program? [closed]

只愿长相守 提交于 2019-12-13 08:55:58
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Several python libraries stopped working after upgrade to Mac OS 10.8. Attempt to re-install them through easy_install or pip brings error message "-bash: cc: command not found". XCode is installed. Attempt to install Command line tools for XCode insist on enrolling into developer program. I don't want to pay

configuring Apache on Mountain Lion proxying to Node.js

六眼飞鱼酱① 提交于 2019-12-13 06:18:11
问题 I'm trying to get Apache on OSX 10.8.2 to proxy requests to a specific URL to a Node.js server running on port 8080 following this guide: http://garrows.com/?p=455 In order to do this, I add the following to apache2/users/george.conf: ProxyRequests Off ProxyPass /foo http://localhost:8080 ProxyPassReverse /foo http://localhost:8080 But with this added, apache wont start. In fact, as soon as I add even the 'ProxyRequests Off' directive, apache will no longer start. Is this the right place for

Creating and Moving an Invisible file with OS X 10.8 Terminal

两盒软妹~` 提交于 2019-12-13 04:28:54
问题 I'm fairly new to using the terminal, but have so far figured out through various forums how to hide a file from the Finder, but once hidden, I'm obviously unable to move it to the flash drive I want to keep it on, and I can't figure out any way hide the file after it's moved off of the internal drive. I'm using the command line: Computer-name:~ User$ chflags hidden /users/me/desktop/filename.txt How do I move the file once it's hidden, or how would I alter the command to hide the file after

Eclipse 4.3 Kepler missing JRE system library

試著忘記壹切 提交于 2019-12-13 04:24:06
问题 I am extremely new to java (about one week of experience at the moment). I have made a fair amount of simple programs in an older version of eclipse Juno on a PC. I copied all of the files onto a flash drive and put them into the workspace of eclipse kepler on my mac laptop. Now every single line of code is unrecognized and the JRE system library folder is gone from all of the projects. I am not sure how to fix this and I would love if someone will help my noob self at this. Thanks! 回答1: You