keropjuicy.blogg.se

Can you use python on mac
Can you use python on mac










can you use python on mac
  1. Can you use python on mac how to#
  2. Can you use python on mac install#
  3. Can you use python on mac update#
  4. Can you use python on mac download#

Can you use python on mac install#

I totally boned this earlier: Just to clarify, the downloaded version of python installs symbolic links in /usr/local/bin which point to binaries in the /Library/Frameworks/amework/Versions/2.6/bin - any other tools you install will place their binaries into that /Library/Frameworks/amework/Versions/2.6/bin directory as well (some might also symlink into /usr/local/bin).ĭo the following ".

Can you use python on mac update#

Note, that if the installer doesn't update your profile, simple add this line:Įxport PATH=/Library/Frameworks/amework/Versions/2.6/bin:/usr/local/bin:$PATH If you view your ~/.bash_profile you should see a modified version which adds the /usr/local/bin or the /Library/Frameworks/amework/Versions/2.6/bin directory to your path (it should be labeled with a comment). The installer will also modify your ~/.bash_profile we created to prepend this onto your PATH variable. It may install symbolic links to the binaries in /usr/local/bin, otherwise scripts that come with installed packages and the python binary itself go into /Library/Frameworks/amework/Versions/2.6/bin. Unpack and install it - the installer will install this into Library/Frameworks/amework/ - this is outside of the default system install.

Can you use python on mac download#

Head over to - go to the download page and download the latest 2.6 release of python (2.6.1 right now). If you were to start installing python modules, that's where they would go. The site-packages directory lives in /Library/Python/2.5/site-packages.

can you use python on mac

If you were to type "python" in right now, the default leopard install (2.5.1) would pop up. bash_profile" - this will create an empty one for you, which you will need later on. If the latter doesn't exist, do a "touch. You want to look for one of the following files. When you fire it up, you're in your /Users/username directory - your home directory.

can you use python on mac can you use python on mac

So, now you have xcode - fire up terminal.app, from now on, this is your best friend. So, go ahead and install it, but don't use it for python work. I prefer compilation and self management, that and I've had issues with macports in the past. Now, some people may recommend you install macports or fink: these are both "sorta" package managers for OS/X, and while I do have macports installed, I do not use it for python work. This is known as a framework build of Python, and altering that installation is, well, a bad idea. It's a monster download, but bite the bullet.īy default, Leopard comes with Python 2.5.1 - the binaries and standard library (and any Leopard additions) are installed into /System/Library/Frameworks/amework/Versions/2.5/ /Library/Python//, the site-packages directory is in /Library/Python/./site-packages. XCode installs gcc and other tools which you are going to want and need sooner or later. If you open a shiny new macbook, and want to get started hacking, the first place you need to stop is the Apple Dev site, and download the latest version of XCode. Anything before that is dead to me! DEAD! I'm going to solely focus on python in Leopard (10.5.x) and not anything before that.

Can you use python on mac how to#

In a complete tangent from my numerous other projects, I've had a few people ask me recently about python on the mac, how to get started/etc.












Can you use python on mac