osx-elcapitan

Can't install virtualenvwrapper on OSX 10.11 El Capitan

情到浓时终转凉″ 提交于 2019-11-26 19:40:02
问题 I recently wiped my Mac and reinstalled OSX El Capitan public beta 3. I installed pip with sudo easy_install pip and installed virtualenv with sudo pip install virtualenv and did not have any problems. Now, when I try to sudo pip install virtualenvwrapper , I get the following: Users-Air:~ User$ sudo pip install virtualenvwrapper The directory '/Users/User/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the

Can Mac OS X El Capitan run software compiled for Yosemite that expects libraries in /usr/gnu64/lib?

岁酱吖の 提交于 2019-11-26 17:49:23
问题 Sorry, there's a bit of background necessary — you could try skipping to the Question heading. Since time immemorial (somewhere in the previous millennium, anyway), I've created directories such as /usr/gnu and /usr/gcc to hold custom-compiled GNU software, separate from anything in the system directories. This has worked well for me, on a wide variety of Unix-based systems, including Mac OS X since 2002 (Jaguar, 10.2). (One reason for not using /usr/local was that the IT management

Yosemite / El Capitan php-gd + mcrypt installation

喜欢而已 提交于 2019-11-26 17:14:52
How to install/enable php-gd and mcrypt in Yosemite 10.10 - PHP 5.5.14 build? note that following steps install newest PHP 5.5.x To check if you have gd and mcrypt installed use $ php -m to display compiled in modules, continue if you are missing desired modules and please see accepted answer . GD So, Apple installed GD (and you're using their build of PHP, which is fine), but did not include support for PNG. You are definitely missing "full" gd (with png support) module if: imagecreatefrompng() function is missing. "Call to undefined function imagecreatefrompng()" Mcrypt install brew using

Mysql password expired. Can't connect

喜夏-厌秋 提交于 2019-11-26 15:12:21
问题 I just wiped my Mac and did a fresh install of El Capitan. I'm struggling to connect to Mysql now. Having gone through a web server setup process, I've created a simple PHP test file: <?php $conn = new mysqli("127.0.0.1", "root", "xxxxxxxx"); if ($conn->connect_error) echo "Connection failed: " . $conn->connect_error; else echo "Connected successfully"; phpinfo(); ?> When I run it, I get this error: Warning: mysqli::mysqli(): (HY000/1862): Your password has expired. To log in you must change

How to auto-load MySQL on startup on OS X Yosemite / El Capitan

99封情书 提交于 2019-11-26 15:04:45
问题 After upgrading OS X my install of MySQL stopped loading on startup. This walk-through on MySQL says: "The Startup Item installation adds a variable MYSQLCOM=-YES- to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, change this variable to MYSQLCOM=-NO-." So, I opened that file and it says: # This file is going away AFPSERVER=-NO- AUTHSERVER=-NO- TIMESYNC=-NO- QTSSERVER=-NO- MYSQLCOM=-YES- I assume OSX dev's added the # This file is going

&#39;pip install MySQL-python&#39; fails with &#39;IndexError&#39;

大兔子大兔子 提交于 2019-11-26 14:03:02
问题 I'm on OSX El Capitan, using Python 2.7 (Anaconda). Launching the command pip install MySQL-python yields: Collecting MySQL-python Using cached MySQL-python-1.2.5.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/d2/gd004m2s35z5dlyz9mfn6sc40000gn/T/pip-build-FYvb_T/MySQL-python/setup.py", line 17, in <module> metadata, options = get_config() File "setup_posix.py", line 53, in get_config

OSX El Capitan: sudo pip install OSError: [Errno: 1] Operation not permitted

老子叫甜甜 提交于 2019-11-26 12:01:11
When I run: sudo pip install ipython I get the following error OSError: [Errno: 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/Versions/2.7/share' The last command executed tries to create the directory given above. Also, the following command fails to install iPython without providing any errors. sudo pip install --user python (I am on Mac OS X El Capitan in case other folks on this OS see the same issue.) Instructions telling sudo pip install are inherently wrong. If there is any tutorial out there which says you should do sudo pip then please file a bug against

MySQL Improperly Configured Reason: unsafe use of relative path

醉酒当歌 提交于 2019-11-26 10:31:42
问题 I\'m using Django, and when I run python manage.py runserver I receive the following error: ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Library/Python/2.7/site-packages/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib Referenced from: /Library/Python/2.7/site-packages/_mysql.so Reason: unsafe use of relative rpath libmysqlclient.18.dylib in /Library/Python/2.7/site-packages/_mysql.so with restricted binary I\'m not entirely sure how to fix this. I have installed

PDFtk Server on OS X 10.11

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 10:05:54
问题 I\'ve been using PDFTK Server on OSX pre 10.11 for over a year without any issues running commands on the command line. After installing OSX 10.11 beta, I can no longer run any PDFTK Server commands on the command line. It does not throw any error, all the commands I try to execute just hang indefinitely. I installed from a pkg I downloaded from the PDFTK Server website as always: https://www.pdflabs.com/tools/pdftk-server/ I\'ve also tried installing from source with Homebrew. The

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