You'll need to specify -DPYTHON_LIBRARY=<PATH TO libpython2.7.so or
libpython2.7.dylib> to cmake.  I'm not exactly sure how to do it
considering the layers between pip and cmake, but I do believe setup.py has
a --cmake_options argument, so it should be possible.

Something like `pip install
--install-option="--cmake_options=\"-DPYTHON_LIBRARY=<PATH to python
lib>\"" ...`


On Wed, Aug 6, 2014 at 2:35 PM, Garikoitz Lerma-Usabiaga <
[email protected]> wrote:

> Thanks Erik!
> I think I have them already installed, I assume I should have Python.h? Or
> is there something else I should have? I am in a cluster without root
> access and I would really like to leave my Anaconda python installation
> untouched...
>
> glerma@cajal-1-4 Anaconda $ find ./ -name Python.h
> ./pkgs/python-2.7.6-2/include/python2.7/Python.h
> ./pkgs/python-2.7.6-1/include/python2.7/Python.h
> ./pkgs/python-2.7.8-0/include/python2.7/Python.h
> ./pkgs/python-2.7.7-0/include/python2.7/Python.h
> ./include/python2.7/Python.h
>
> glerma@cajal-1-4 Anaconda $ python-config --includes
> -I/bcbl/home/home_g-m/glerma/software/Anaconda/include/python2.7
> -I/bcbl/home/home_g-m/glerma/software/Anaconda/include/python2.7
>
> Should I manually export PYTHON_LIBRARIES? I don't have any value for
> them. What is the expected value for this variable?
>
> thanks again for your help,
> Gari
>
>
>
> On Wed, Aug 6, 2014 at 7:19 PM, Erik Blas <[email protected]> wrote:
>
>>
>>   Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (found suitable
>>>
>>>   version "2.7.7", minimum required is "2.7")
>>>
>>
>> Install the python dev headers for your distro.
>>
>>
>>
>>
>> On Wed, Aug 6, 2014 at 4:29 AM, Garikoitz Lerma-Usabiaga <
>> [email protected]> wrote:
>>
>>> Hi Matt,
>>> it didn't work for me too:
>>> http://pastebin.com/11m5VFAy
>>>
>>> any hint?
>>>
>>> thanks!
>>> Gari
>>>
>>>
>>> On Mon, Aug 4, 2014 at 2:48 PM, John Byrnes <[email protected]> wrote:
>>>
>>>> http://pastebin.com/Fq2QHw5U
>>>>
>>>> On 02/08/2014 11:59, [email protected] wrote:
>>>>
>>>>> Send nupic mailing list submissions to
>>>>>         [email protected]
>>>>>
>>>>> To subscribe or unsubscribe, visit
>>>>>         http://lists.numenta.org/mailman/listinfo/nupic_lists.
>>>>> numenta.org
>>>>> or, via email, send a message with subject or body 'help' to
>>>>>         [email protected]
>>>>>
>>>>> You can reach the person managing the list at
>>>>>         [email protected]
>>>>>
>>>>> When replying, please edit your Subject line so it is more specific
>>>>> than "Re: Contents of nupic digest..."
>>>>>
>>>>>
>>>>> Today's Topics:
>>>>>
>>>>>     1. Testers wanted: "pip install nupic" (Matthew Taylor)
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> Message: 1
>>>>> Date: Fri, 1 Aug 2014 17:56:28 -0700
>>>>> From: Matthew Taylor <[email protected]>
>>>>> To: NuPIC Discuss <[email protected]>
>>>>> Subject: [nupic-discuss] Testers wanted: "pip install nupic"
>>>>> Message-ID:
>>>>>         <CAJv6nDPnKJ12Yj_GPt4gFT3RLao2nOSx2JgCjeDgAocT6
>>>>> [email protected]>
>>>>> Content-Type: text/plain; charset=UTF-8
>>>>>
>>>>> I *think* I've finally got a pypi package uploaded that people can
>>>>> use. I'm looking for volunteers who:
>>>>>
>>>>> 1. have python 2.6 or 2.7 installed
>>>>> 2. have pip installed (or can install it)
>>>>> 3. have git installed (or can install it)
>>>>> 4. [optionally] have never installed nupic before
>>>>>
>>>>> If you fit this description and you'd like to run a semi-quick test
>>>>> for me, simply open up a terminal window and type:
>>>>>
>>>>>      pip install nupic
>>>>>
>>>>> This *should* download and build nupic and all required dependencies,
>>>>> and it will take a few minutes depending on your internet connection
>>>>> and computer speed. If the console output ends with:
>>>>>
>>>>>      Successfully installed nupic
>>>>>      Cleaning up...
>>>>>
>>>>> That is a Good Thing.
>>>>>
>>>>> You should now be able to "import nupic" form python and run swarms,
>>>>> models, etc.
>>>>>
>>>>> If you get some crazy errors during the installation which does not
>>>>> end in "Successfully installed nupic", please paste your entire
>>>>> console output on pastebin.com (or some other paste repository) and
>>>>> reply here with the link.
>>>>>
>>>>> The more people who do this, the better!
>>>>>
>>>>> Many thanks,
>>>>> ---------
>>>>> Matt Taylor
>>>>> OS Community Flag-Bearer
>>>>> Numenta
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> Subject: Digest Footer
>>>>>
>>>>> _______________________________________________
>>>>> nupic mailing list
>>>>> [email protected]
>>>>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> End of nupic Digest, Vol 16, Issue 1
>>>>> ************************************
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> nupic mailing list
>>>> [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
>>>
>>>
>>
>> _______________________________________________
>> nupic mailing list
>> [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
>
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to