macports

Macports IDLE unresponsive

纵然是瞬间 提交于 2019-12-12 02:56:30
问题 I have just installed Macports for a short course I am planning to do. IDLE does not open whether I launch it from Terminal or Finder. Just for clarification, I am issuing idle2.7 to launch it from terminal. I have tried this solution but nothing happened. *Python & IDLE 2.7.11 来源: https://stackoverflow.com/questions/35249159/macports-idle-unresponsive

Cannot start ipython notebook

别说谁变了你拦得住时间么 提交于 2019-12-12 02:04:46
问题 I have installed py27 and ipython and notebook by macport on my mac osx10.9.4. I can open ipython and it works fine but I cannot open ipython notebook. After I type in ipython notebook I got this. 2014-07-23 12:22:11.626 [NotebookApp] Using existing profile dir: u'/Users/zhiyiwu/.ipython/profile_default' 2014-07-23 12:22:11.630 [NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js Traceback (most recent call last): File "/opt/local/bin/ipython", line 5, in

How to get all available install options for a port?

与世无争的帅哥 提交于 2019-12-11 23:59:45
问题 Basically I'd like to install opencv so that it makes use of tbb and boost with the complete source code. However I think I will need to know how to display all the available install options for a port. (Install options I mean "+sth" after a port name, is that how you call it?) In my concrete example, my line starts like sudo port install opencv +tbb +python27 but I am not sure how to get the dev and the boost options... Any ideas how to display options? Or specifically for opencv? Thanks!

Build failure during install py25-gtk on Mac OS X 10.6 using MacPorts 1.8

天大地大妈咪最大 提交于 2019-12-11 13:27:27
问题 When I do this command : sudo port clean py25-gtk sudo port install py25-gtk I get this error : ---> Computing dependencies for py25-gtk ---> Building getopt Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_getopt/work/getopt-1.1.4" && /usr/bin/make -j2 all LIBCGETOPT=0 prefix=/opt/local mandir=/opt/local/share/man CC=/usr/bin/gcc-4.2 " returned error 2 Command output: _print

Fortran compiler broken

☆樱花仙子☆ 提交于 2019-12-11 11:24:25
问题 I recently updated my operating system from OS X 10.8 to OS X 10.9. Most of the applications still worked after the update, but one of the applications that did not work was g95 (my fortran compiler I use for class). I thought I was compiling faulty code until I tried compiling it on another machine. It seems as though the linker ld is missing a library that was not carried over in the update. The full error is produced on every compile time (as long as there are no syntax errors) ld: library

MAXREPEAT issue when running Python 2.7 from MacPorts

北城以北 提交于 2019-12-11 10:18:02
问题 I'm running into some issues with running python2.7 from MacPorts. Here's a list of the available Python versions: $ sudo port select python Available versions for python: none python25-apple python26-apple python27 (active) python27-apple When I set python27 to be active (as above), I get the following error when running python : $ sudo port select --set python python27 Selecting 'python27' for 'python' succeeded. 'python27' is now active. $ python Traceback (most recent call last): File "

Gdal will not import after several installs (Mac OSX)

萝らか妹 提交于 2019-12-11 09:49:30
问题 Using Macports, I've tried to install: gdal, py27gdal, and gdal-grass. All so I can import gdal into python 2.7.2. Neither have been successful. When I type: port list installed I see the installed modules: gdal-grass @1.4.3 gis/gdal-grass gdbm @1.8.3 databases/gdbm py27-gdal @1.7.1 python/py27-gdal And when I run python to import the module: Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named gdal What am I doing wrong? 回答1: Are you using the

what is g++-mp-4.3?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 09:13:13
问题 MacPorts installs something called g++-mp-4.3? Does the "mp" mean MacPorts, or is it something else? I can't find any documentation anywhere... Thanks! 回答1: It's GNU C++ as provided by MacPorts. The full form for GNU executables is <name>[-<variant>][-<version>] . The variant and version can be omitted to indicate that it is the primary executable with that name for the system. 回答2: Yes, 'mp' means MacPorts. g++-mp-4.3 is C++ compiler from GCC for MacPorts. 来源: https://stackoverflow.com

Rails and Postgres aren't getting along after switching from Macports to Homebrew; PGError: ERROR: unrecognized time zone name: “UTC”

隐身守侯 提交于 2019-12-11 02:38:07
问题 I moved everything that I had in /opt/local (where Macports' things lived) into ~/.macports . That included my old postgres database cluster. Then I installed postgres using Homebrew and ran the setup that it told me to (creating a new database cluster in /usr/local ). In my project, I ran rake db:drop:all and rake db:create . These did their work cheerfully. But when I tried to rake db:migrate , postgres and rails fight and tell me rake aborted! PGError: ERROR: unrecognized time zone name:

Unable to install Git-core+svn by MacPorts

↘锁芯ラ 提交于 2019-12-10 23:59:40
问题 I am trying to install Git-core with svn to my Mac unsuccessfully by $ sudo port install git-core +svn ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.3 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: p5-svn-simple subversion-perlbindings apr-util db46 sqlite3 cyrus-sasl2 neon serf subversion p5-term-readkey Error: Status 1 encountered during processing. I have tried to solve