Problems with installation of Spyder using MacPorts on Mac OS X Lion (10.7.3)

529 views
Skip to first unread message

Adrian Sarapata

unread,
May 8, 2012, 3:08:32 AM5/8/12
to spyd...@googlegroups.com
Hi guys!

I'm trying to install Spyder using MacPorts on my Mac but for some reason it doesn't wanna work. I'm getting the following error:

:debug:destroot destroot phase started at Tue May  8 08:50:04 CEST 2012
:notice:destroot --->  Staging py27-spyder into destroot
:debug:destroot Can't run destroot under sudo without elevated privileges (due to mtree).
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.
:info:destroot . missing (directory not created: File exists)
:info:destroot ./Applications missing (directory not created: File exists)
:info:destroot ./Developer missing (directory not created: File exists)
:info:destroot ./Library missing (directory not created: File exists)
:debug:destroot Executing proc-pre-org.macports.destroot-destroot-0
:debug:destroot Executing org.macports.destroot (py27-spyder)
:debug:destroot Environment: CPATH='/opt/local/include' MACOSX_DEPLOYMENT_TARGET='10.7' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/.CC_PRINT_OPTIONS' MOC='/opt/local/bin/moc' GI_SCANNER_DISABLE_CACHE='1' QMAKESPEC='macx-g++' INSTALL_ROOT='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/destroot' QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' QMAKE='/opt/local/bin/qmake' DESTDIR='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/destroot'
:debug:destroot Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/spyder-2.1.9" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg install --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 --root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/destroot'
:debug:destroot Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/spyder-2.1.9" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg install --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 --root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/destroot 
:info:destroot sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/spyder-2.1.9: No such file or directory
:info:destroot shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/spyder-2.1.9" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg install --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 --root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/work/destroot " returned error 1
:error:destroot Target org.macports.destroot returned: shell command failed (see log for details)
:debug:destroot Backtrace: shell command failed (see log for details)
    while executing
"command_exec destroot"
    (procedure "portdestroot::destroot_main" line 2)
    invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for py27-spyder): org.macports.activate org.macports.destroot org.macports.install
:error:destroot Failed to install py27-spyder
:debug:destroot couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:destroot Log for py27-spyder is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spyder/py27-spyder/main.log

Any ideas what could be the problem? 

Petrush

unread,
May 8, 2012, 1:19:04 PM5/8/12
to spyder
Hi,just to make sure your macports is uptodate.

sudo port selfupdate
sudo port upgrade outdated

sudo port -v install py27-spyder

ghee22

unread,
Jun 4, 2012, 4:19:39 PM6/4/12
to spyder
After the install, how do you run it?

On May 8, 10:19 am, Petrush <petrus.hyvo...@gmail.com> wrote:
> Hi,just to make sure yourmacportsis uptodate.

Ryan Clary

unread,
Jun 4, 2012, 6:39:09 PM6/4/12
to spyd...@googlegroups.com
You should be able to enter the command "spyder" at a terminal prompt.

Ryan Clary
> --
> You received this message because you are subscribed to the Google Groups "spyder" group.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
>

Reply all
Reply to author
Forward
0 new messages