Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#42413 closed defect (duplicate)

python27: tries to install in /Applications on non-root macports

Reported by: abdullahfy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jyrkiwahlstedt
Port: python27

Description (last modified by larryv (Lawrence Velázquez))

Hi,

I'm having the same problem as in #29057.

My OXS:

$ sw_vers -productVersion
10.9.1

My application_dir in macports configuration file:

$ pwd
/net/iconium/rd3/software/macports/OSX_10.9/x86_64/etc/macports
$ grep applications_di macports.conf
applications_dir    	/net/iconium/rd3/software/macports/OSX_10.9/x86_64/Applications

And, only with python27 port ,I'm still getting this error:

$ port clean python27
--->  Cleaning python27
$ port install python27
--->  Computing dependencies for python27
--->  Activating python27 @2.7.6_0
Error: org.macports.activate for port python27 returned: can't create directory "/Applications/Python 2.7": permission denied
Please see the log file for port python27 for details:
    /net/iconium/rd3/software/macports/OSX_10.9/x86_64/var/macports/logs/_net_iconium_rd3_software_macports_OSX_10.9_x86_64_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port python27 failed

Regards,

Change History (2)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #29057.

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Cc: jwa@… added

You output shows python27 already installed. If you changed applications_dir after installing it, you need to uninstall and install again. If that still doesn’t fix the problem, run

sudo port destroot python27

and attach the main.log.

Note: See TracTickets for help on using tickets.