[TxMt] Re: ...setting TM_PYTHON.
Dave Gianetto
dgianetto at icloud.com
Mon Nov 11 15:53:16 UTC 2013
Thanks Allan,
For the record I upgrade to a new TextMate version and did not change python in any way. I did notice TM_PYTHON was gone so I re-added and it didn't work at the time. Re-installed Canopy 1.1.1 python and added the path again with TM_PYTHON to the new location and it worked today.
Thanks,
-D
On Nov 11, 2013, at 4:00 AM, textmate-request at lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate at lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request at lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner at lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. networkx, scipy load errors in TextMate (Dave Gianetto)
> 2. Re: LaTeX: Improving bibliographical label completion
> (Allan Odgaard)
> 3. Re: networkx, scipy load errors in TextMate (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Nov 2013 08:00:35 -0800
> From: Dave Gianetto <dgianetto at icloud.com>
> To: textmate at lists.macromates.com
> Subject: [TxMt] networkx, scipy load errors in TextMate
> Message-ID: <4E9BF255-834B-44E7-BC04-7D37D73B9312 at icloud.com>
> Content-Type: text/plain; charset=us-ascii
>
> I posted this to Github here:
> https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
>
> Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> Any help is appreciated,
> -Dave
>
> ------------------------------
>
> Message: 2
> Date: Mon, 11 Nov 2013 02:37:10 +0700
> From: "Allan Odgaard" <mailinglist at textmate.org>
> To: "TextMate users" <textmate at lists.macromates.com>
> Subject: [TxMt] Re: LaTeX: Improving bibliographical label completion
> Message-ID: <63582790-D6FD-46A6-B42B-A902FD70D8A0 at textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 2:35, JairoB wrote:
>
>> Ok, I found the rb file on my system. Once I edit it, what do I need
>> to do to
>> make the changes effective? Do I need to compile it? (Sorry for the
>> newbie
>> questions.)
>
> Ruby is an interpreted language, so nothing is required after making
> changes, just re-run your test in TextMate.
>
> Before making changes, you may wish to ?git clone? the bundle to
> ~/Library/Application Support/Avian/Bundles so that changes you make are
> not overwritten on updates. Though after installing the bundle locally,
> you will have to manually update it (git pull).
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 11 Nov 2013 02:45:52 +0700
> From: "Allan Odgaard" <mailinglist at textmate.org>
> To: "TextMate users" <textmate at lists.macromates.com>
> Subject: [TxMt] Re: networkx, scipy load errors in TextMate
> Message-ID: <4C16292F-9A77-4934-8FBB-FF3F52A1EF19 at textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 23:00, Dave Gianetto wrote:
>
>> [?] I don't see how a path issue causes certain libraries of a
>> common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> OS X ships with a version of python. Programs find this by looking at
> the locations specified via the PATH variable.
>
> This means that if you install a custom version of python, then you can
> make it be used by altering PATH, or if you just need it to be used by
> TextMate, you can set the TM_PYTHON variable.
>
> It?s unclear to me if you installed the networkx module for the system
> python, or you installed a completely new version of python with its own
> modules, but I do think you did the latter.
>
> This means that you need to instruct TextMate to use this new version of
> python, e.g. by setting TM_PYTHON.
>
> First though you need to figure out if a) this is actually what you did,
> and b) where this new version of python was installed.
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 66, Issue 17
> ****************************************
More information about the textmate
mailing list