On 8/28/2012 1:48 PM Ray Jones said...
On 08/28/2012 01:35 PM, Emile van Sebille wrote:
You installed this with easy_install, so the version of python therein
referenced is the same one that now should have access to it.
Try : which easy_install
then cat the result. The first line points t
On 08/28/2012 01:35 PM, Emile van Sebille wrote:
> On 8/28/2012 1:17 PM Ray Jones said...
>> On 08/28/2012 01:11 PM, eryksun wrote:
>>> On Tue, Aug 28, 2012 at 4:00 PM, Ray Jones wrote:
Oops. No, I see that /usr/local/lib/python2.7/dist-packages is
included
in the sys.path. Now what
On 8/28/2012 1:17 PM Ray Jones said...
On 08/28/2012 01:11 PM, eryksun wrote:
On Tue, Aug 28, 2012 at 4:00 PM, Ray Jones wrote:
Oops. No, I see that /usr/local/lib/python2.7/dist-packages is included
in the sys.path. Now what?
Good, but does sys.path contain
/usr/local/lib/python2.7/dist-pack
On 08/28/2012 01:11 PM, eryksun wrote:
> On Tue, Aug 28, 2012 at 4:00 PM, Ray Jones wrote:
>> Oops. No, I see that /usr/local/lib/python2.7/dist-packages is included
>> in the sys.path. Now what?
> Good, but does sys.path contain
> /usr/local/lib/python2.7/dist-packages/pytz-2012d-py2.7.egg?
More
On 08/28/2012 01:11 PM, eryksun wrote:
> On Tue, Aug 28, 2012 at 4:00 PM, Ray Jones wrote:
>> Oops. No, I see that /usr/local/lib/python2.7/dist-packages is included
>> in the sys.path. Now what?
> Good, but does sys.path contain
> /usr/local/lib/python2.7/dist-packages/pytz-2012d-py2.7.egg?
No.
On Tue, Aug 28, 2012 at 4:00 PM, Ray Jones wrote:
>
> Oops. No, I see that /usr/local/lib/python2.7/dist-packages is included
> in the sys.path. Now what?
Good, but does sys.path contain
/usr/local/lib/python2.7/dist-packages/pytz-2012d-py2.7.egg?
___
T
On 08/28/2012 12:52 PM, eryksun wrote:
> On Tue, Aug 28, 2012 at 2:39 PM, Ray Jones wrote:
>>> Do you have multiple python installations on your machine? Do you run
>>> easy_install in one and ipython in another?
>> Perhaps. But the module is not accessible from the 'python' shell, from
>> 'idle',
On 08/28/2012 12:35 PM, Steven D'Aprano wrote:
> On 29/08/12 03:41, Ray Jones wrote:
>> I'm working on another Python replacement for a Bash script, and I ran
>> into a need for enhanced time zone functions. Following directions I
>> found on a web site, I did the following:
>>
>> # easy_install --
On Tue, Aug 28, 2012 at 2:39 PM, Ray Jones wrote:
>
>> Do you have multiple python installations on your machine? Do you run
>> easy_install in one and ipython in another?
>
> Perhaps. But the module is not accessible from the 'python' shell, from
> 'idle', or from iPython.
>
> As I peruse Synapti
On 08/28/2012 12:44 PM, Peter Otten wrote:
> Ray Jones wrote:
>
>> On 08/28/2012 11:06 AM, Peter Otten wrote:
>>> Ray Jones wrote:
>>>
I'm working on another Python replacement for a Bash script, and I ran
into a need for enhanced time zone functions. Following directions I
found on
On 08/28/2012 12:35 PM, Steven D'Aprano wrote:
> On 29/08/12 03:41, Ray Jones wrote:
>> I'm working on another Python replacement for a Bash script, and I ran
>> into a need for enhanced time zone functions. Following directions I
>> found on a web site, I did the following:
>>
>> # easy_install -
Ray Jones wrote:
> On 08/28/2012 11:06 AM, Peter Otten wrote:
>> Ray Jones wrote:
>>
>>> I'm working on another Python replacement for a Bash script, and I ran
>>> into a need for enhanced time zone functions. Following directions I
>>> found on a web site, I did the following:
>>>
>>> # easy_inst
On 29/08/12 03:41, Ray Jones wrote:
I'm working on another Python replacement for a Bash script, and I ran
into a need for enhanced time zone functions. Following directions I
found on a web site, I did the following:
# easy_install --upgrade pytz
[...]
Everything I'm reading suggests that now
On 08/28/2012 11:06 AM, Peter Otten wrote:
> Ray Jones wrote:
>
>> I'm working on another Python replacement for a Bash script, and I ran
>> into a need for enhanced time zone functions. Following directions I
>> found on a web site, I did the following:
>>
>> # easy_install --upgrade pytz
>> Searc
Ray Jones wrote:
> I'm working on another Python replacement for a Bash script, and I ran
> into a need for enhanced time zone functions. Following directions I
> found on a web site, I did the following:
>
> # easy_install --upgrade pytz
> Searching for pytz
> Reading http://pypi.python.org/simp
On Tue, Aug 28, 2012 at 1:41 PM, Ray Jones wrote:
> I'm working on another Python replacement for a Bash script, and I ran
> into a need for enhanced time zone functions. Following directions I
> found on a web site, I did the following:
>
> # easy_install --upgrade pytz
> Searching for pytz
> Rea
I'm working on another Python replacement for a Bash script, and I ran
into a need for enhanced time zone functions. Following directions I
found on a web site, I did the following:
# easy_install --upgrade pytz
Searching for pytz
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sou
Hi,
On 18 January 2012 18:07, Downey, Patrick wrote:
> I'm currently running Python version 2.7 through IDLE on a Windows machine.
> I'm trying to use numpy and scipy. I downloaded both modules from the scipy
> website and unzipped the files into:
> C:\Python27\Lib\site-packages
>
Generally, ma
On Wed, Jan 18, 2012 at 1:07 PM, Downey, Patrick wrote:
> I'm currently running Python version 2.7 through IDLE on a Windows machine.
> I'm trying to use numpy and scipy. I downloaded both modules from the scipy
> website and unzipped the files into:
> C:\Python27\Lib\site-packages
>
That is not
On 18/01/12 18:07, Downey, Patrick wrote:
I'm trying to use numpy and scipy.
I'll leave those specifics to those who use them, but...
specified by the environment variable PYTHONPATH." Unfortunately, I haven't
figured out how to look at PYTHONPATH, so I don't know where it's looking.
Do i
Have you looked at help(sys)? sys stores the PYTHONPATH variable. Just run
>>> import sys
>>> help(sys)
at the python prompt.
On 1/18/12, Downey, Patrick wrote:
> Hello,
>
> I'll start by saying that I have a math/stats background, not a computer
> science one. I've found lots of great material
Hello,
I'll start by saying that I have a math/stats background, not a computer
science one. I've found lots of great material to help with Python
programming, but have had a much harder time getting my head around setup
issues, like installing modules.
I'm currently running Python version 2.7 th
Hi,
can anyone give me a short code snippet how to install a missing
module via setuptools (assuming setuptools is already installed)?!
Something like this:
try:
import missing_module
except import_error
import setuptools
setuptools.whatever.install(missing_module)
Thorsten
__
23 matches
Mail list logo