Launch python on mac12/28/2022 ![]() ![]() Touch: /Users/Steve Margetts/.bash_sessions/5A516AB8-0481-4D55-A2BD-1B1017E52147.historynew: No such file or directory Type help() for interactive help, or help(object) for help about object. Type "help", "copyright", "credits" or "license" for more information. Touch: /Users/Steve Margetts/.bash_sessions/79B2448C-E769-409D-A67D-7A96F8C3C348.historynew: No such file or directory Mkdir: /Users/Steve Margetts/.bash_sessions: Permission denied I am as new to coding as my son, please phrase any advice accordingly! Typing python or python3.6 into the terminal seems to launch Python successfully (details below). I have tried re-installing and restarting post install. ![]() Both 2.7 and 3.6 have the same problem: Clicking on IDLE leads to the icon bouncing a couple of times in the dock, but not opening a shell. ![]() I am trying to install Python on a Max running OS 10.13.1 (so my son can use a 'Coding for Beginners' book). Ned.deily, ronaldoussoren, sm1979, terry.reedyĬreated on 16:43 by sm1979, last changed 15:15 by sm1979. Unable to run IDLE without write-access to home directory Maybe I miss something in understanding how mac uses the pythonpath. I don't understand why the system cannot find it. Is the executable version of python and it is actually located into the Resources folder of the app. Note that the file /Users/luca/Desktop/TempScript.app/Contents/Resources/bin/python run.sh: line 3: 725 Trace/BPT trap PYTHONPATH=$PYTHONPATH. dyld: Library not loaded: from: /Users/luca/Desktop/TempScript.app/Contents/Resources/bin/python If I run this shell script from outside it works fine but when I try to embed everything into an app with platypus I get the following error. To launch the software I use the following shel script export DYLD_LIBRARY_PATH=`pwd`/lib:$DYLD_LIBRARY_PATHĮxport DYLD_FRAMEWORK_PATH=`pwd`/Resources The problem is to embed evrything into a mac. To create an executable of the software I ship with it a Python and a Qt precompiled version and the trick seems to work in windows and linux since I know How to create an istaller. I have a software written in python with a graphical user interface written in PyQt. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |