Results 1 to 3 of 3
  1. #1

    Member Since
    Feb 26, 2010
    Weird Python or Shell issue
    I noticed today that some of my python mods were not installing correctly, for example NUMPY.

    When I called python from the command line (tcsh or bash) I get

    "python: execv: /Applications/scisoft/i386/Packages/Python-2.5.4/Python.framework/Versions/2.5/Resources/ No such file or directory"

    Can't seem to convince the machine to use the correct version of python. Can't find out where it's getting this path. However it does only do it on my login. Other logins python works fine.

    Any ideas as to whats going to and how to fix it. It doesn't appear to be in my login or cshrc.....


  2. #2

    Member Since
    Jun 14, 2010
    I'm curious to see if you found a resolution to this problem -- I'm having the same issue (though my difficulty comes from recently installing scisoft.....python just doesn't seem to work at all!)

  3. #3

    Member Since
    May 27, 2010
    I'm a Mac noob. So please forgive me because my possible solution may be inelegant, a little user-unfriendly, or both. If all else fails, could you:

    1. cd /usr/local/bin
    2. use ln -s to create a symbolic link to the correct Python interpreter
    3. use that link to invoke that interpreter?

    If you can't create a direct symlink to that interpreter, you might create a symlink to a shell script that told the computer to run the interpreter. Say you can run the correct Python interpreter by typing "open -a python3.0." Could you then put that "open" command into a one-line script?

    If you use the C Shell, you might even add alias to your .cshrc file to name the "open" command you give to run the Python interpreter.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Very Weird Issue
    By funkcanna in forum macOS - Operating System
    Replies: 3
    Last Post: 08-11-2012, 04:47 AM
  2. Kernel, python issue
    By Porphyro in forum macOS - Operating System
    Replies: 3
    Last Post: 06-26-2007, 01:01 PM
  3. Weird Issue
    By MindGame2K6 in forum Apple Notebooks
    Replies: 4
    Last Post: 11-21-2006, 11:04 PM
  4. OS X Tiger shell vs RedHat Fedora Linux shell?
    By AlexN in forum macOS - Operating System
    Replies: 2
    Last Post: 09-17-2005, 07:08 PM
  5. PYTHON PROGRAMMERS!!! how do i compile/run linux-based python code on OS X
    By pkny in forum macOS - Development and Darwin
    Replies: 4
    Last Post: 03-20-2005, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts