[Tutor] Installing modules with easy_install

Ray Jones crawlzone at gmail.com
Tue Aug 28 22:12:16 CEST 2012


On 08/28/2012 12:52 PM, eryksun wrote:
> On Tue, Aug 28, 2012 at 2:39 PM, Ray Jones <crawlzone at gmail.com> 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 Synaptic I find I have active installations of Ubuntu's
>> basic python, python2.7, and python2.7-minimal. But are these separate
>> installations? Virtually every system package thinks it's dependent on
>> each one of these python packages.
>>
>> Suggestions?
> Those are not separate installations. The python package depends on
> python2.7 and python-minimal. The latter depends on python2.7-minimal.
> You should be able to install pytz from the Ubuntu repository. Search
> for the package python-tz. If you install from the repository, be sure
> to manually delete the old installation in the local dist-packages
> directory.
I took out the pytz egg package and installed from Synaptic (I had
looked there originally, but I searched pytz rather than python-tz). I
now have an importably pytz.

So that particular issue is cleared up, but what about modules that
aren't available in Synaptic? It seems I still have an issue with
easy_install, no?


Ray


More information about the Tutor mailing list