David,

For what it's worth, I've had success building (on Lion) with the 
system-installed 2.6 (there is one, plus 2.3 and 2.5). You can do:

export VERSIONER_PYTHON_VERSION=2.6

to set the version you get when you run "python".

I've also been able to run with the system 2.7.

 - Kevin

p.s. mostly for Matt: I will document this, eventually, really. I did a clean 
system install over the weekend so I can reproduce with a less hacked-up 
system. In the process I learned that my dinosaur will not run 10.8 so anything 
I post will be for 10.7. I have a conference at the end of the month, but after 
that I'll spend a little time building and documenting.

On Aug 7, 2013, at 7:02 AM, David Ragazzi wrote:

Opss.. You still will try compile Nupic with XCode, I misunderstood.. hehe

Anyway, maybe these tips might help you (my personal "cake receipt" to compile 
Nupic in OSX).

Dowload and install MacPorts (a package manager to Mac):
http://www.macports.org/

Download and install Autotools using MacPorts:
$ sudo port install automake autoconf libtool

Install Python 2.6:
- Remove any version already installed (be careful with this). OSX Lion already 
has Python 2.7 by default.- Download: 
http://www.python.org/ftp/python/2.6.6/python-2.6.6-macosx10.3.dmg
- Install it.

Install Pip:
- Download: https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
$ python ez_setup.py
$ easy_install pip

Setup NUPIC:
$ NTA/NUPIC.sh

Note that these instructions allow you compile by shell, not XCode. I'm trying 
find a way to decrease these steps. I believe that some steps could be avoided.

Cheers, David



On 7 August 2013 08:28, David Ragazzi 
<[email protected]<mailto:[email protected]>> wrote:
Hi Patrik,

Thanks! On Tuesday I also was able to compile Nupic by shell, not XCode. Just 
now I'm downloading XCode 4.2 (last version with autotools included.. newer 
versions dont include them anymore). My idea is find a path that decrease the 
number of steps to getting started with Nupic using OSX, because although I 
managed run it, I had pain configuring packages which could be avoided.

Good job.. Let´s keep working on it.

David


On 7 August 2013 02:00, Patrick Higgins 
<[email protected]<mailto:[email protected]>> wrote:
Hi David,

I was able to install mp-gcc 4.7 under OS X 10.6.8
and get Xcode 3.2 to see the new gcc 4.7. It compiles
hello world in both a shell and in Xcode. I am going
to try next to build NuPIC in this system. I'll let you
know how it goes...




Patrick

On Aug 5, 2013, at 10:03 AM, David Ragazzi wrote:

> Hi Patrick,
>
> >>I have done some searching and it looks like Xcode 4 will install Python 
> >>2.7 but I can't figure out what version of gcc it will install.
>
> I'm not sure but it seems that is GCC 4.2
>
> For use XCode with GCC 4.8, I found this suggestion:
> http://stackoverflow.com/questions/16247721/integrating-gcc-4-8-with-xcode-4-x
>
> Best, David


_______________________________________________
nupic mailing list
[email protected]<mailto:[email protected]>
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org


_______________________________________________
nupic mailing list
[email protected]<mailto:[email protected]>
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to