macos-sierra

How to install selenium python on Mac

强颜欢笑 提交于 2019-12-13 07:25:44
问题 I've downloaded the Selenium zip file for python and it contains the folder with the setup.py. It says on python.org that I have to type in terminal 'python setup.py install' but it gives me this error that I need to be administrator because I have no permission to the directory, when in fact my user is already an administrator: Checking .pth file support in /Library/Python/2.7/site-packages/ error: can't create or remove files in install directory The following error occurred while trying to

Why i can't install autopy?

≡放荡痞女 提交于 2019-12-13 07:04:45
问题 I'm using MacBook and Operating System is MacOS Sierra. I use this command to install autopy: sudo pip install autopy But i get this error: Collecting autopy Downloading autopy-0.51.tar.gz (74kB) 100% |████████████████████████████████| 81kB 256kB/s Installing collected packages: autopy Running setup.py install for autopy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-jSobWR/autopy/setup.py';exec(compile(getattr

docker fails with on MacOs Sierra with 'MSpanList_Insert 0x8f1000 0x81d2db0339 0x0'

℡╲_俬逩灬. 提交于 2019-12-13 00:46:19
问题 While running docker -v on MacOs Sierra 10.13.3 following error is printed and docker exists failed MSpanList_Insert 0x8f1000 0x81d2db0339 0x0 fatal error: MSpanList_Insert runtime stack: runtime.throw(0x80d7ab) /usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbfef10 sp=0x7ffeefbfeee0 runtime.MSpanList_Insert(0x846e88, 0x8f1000) /usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbfef38 sp=0x7ffeefbfef10 MHeap_FreeSpanLocked(0x843a80, 0x8f1000, 0x100) /usr/local/go/src/runtime/mheap

Error installing Virtualbox 5.1.10 on macOS Sierra, “The installation failed”

↘锁芯ラ 提交于 2019-12-12 20:23:59
问题 I just got one of those new, shiny MacBook Pros and I'm setting up my dev environment. I downloaded Virtualbox 5.1.10 from the website and installed it and got an error "The installation failed." Looking at the logs: Nov 28 10:41:51 Zacks-MBP installd[312]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg

Displaying pdf files using the PDFKit interface

岁酱吖の 提交于 2019-12-12 19:13:02
问题 I am working on a Mac OS 10.12, and have an application to display pdf files using the PDFKit interface. But I encountered the following issues Set pdf document to PDFView, in original OS,e.g. OS10.11 , there will invoke PDFView->drawPage() function, but in OS10.12,the function is not invoked; PDFView can't draw pdf annotation in OS10.12; Solution to the above will be appreciated 回答1: I reckon this is either a straight out bug or an as yet undocumented API change. I logged this as a bug

MAMP not working after Sierra OSX update

喜夏-厌秋 提交于 2019-12-12 17:50:14
问题 I am using MAMP version 3.2 with Sierra OSX v10.12. After installing a recent update to Sierra, MAMP is refusing to start. In the apache_error.log file under /Applications/MAMP/logs , I see the following error: [Fri Nov 04 10:16:51 2016] [error] (2)No such file or directory: Cannot create SSLMutex Configuration Failed 回答1: Just wondering if you can install a new version of MAMP? If not, check permissions of /tmp folder Try changing permission to chmod 777 tmp 来源: https://stackoverflow.com

NSWorkspaceWillPowerOffNotification never called

前提是你 提交于 2019-12-12 11:30:13
问题 I am trying to run a program in a background process that will register every shutdown event in the system. Doing so by registering to NSWorkspaceWillPowerOffNotification as show below: #import <AppKit/AppKit.h> @interface ShutDownHandler : NSObject <NSApplicationDelegate> - (void)computerWillShutDownNotification:(NSNotification *)notification; @end int main(int argc, char* argv[]) { NSNotificationCenter *notCenter; notCenter = [[NSWorkspace sharedWorkspace] notificationCenter];

macOS 10.12 auto-layout issues

允我心安 提交于 2019-12-12 09:36:12
问题 There are several huge changes in 10.12, but in my opinion the biggest is the new auto-layout system (or modified/rewritten old one ... who knows). I have prepared a simple project to demonstrate the issue. It's related with collapsing a split view item via a button. It happens only on 10.12. All you need to do is to compile the project and click the button. An error will be presented: 2016-10-04 15:10:28.284296 test-12[64932:7425277] [Layout] Detected missing constraints for . It cannot be

Slow app compilation with new Sierra update

谁说我不能喝 提交于 2019-12-12 07:08:06
问题 When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build. Do someone face the same issue? 回答1: Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times. I removed all the duplicates and kept just one of each, and my code

Where are ffi symbols defined?

时光怂恿深爱的人放手 提交于 2019-12-12 06:27:55
问题 I am trying to link a file, "lib guile_2.0_la-foreign.o" in order to build guile-2.0.11 on macOS Sierra. The ld command from the make file returns more than a dozen errors similar to "_ffi_type_float", referenced from: _fill_ffi_type in lib guile_2.0_la-foreign.o ld: symbol(s) not found for architecture x86_64 where the "_ffi_type_xxx" varies in the "xxx" position. I have installed libffi with hombrew, and have told CPPFLAGS and LDFLAGS where to find the lib and include directories, but I