RE: [Zope] Missing Module sha when installing Zope from Source.
Please continue to cc: the list.
-----Original Message----- From: Don Undeen [mailto:dundee@gator.net]
I installed redhat without Python, or at least I thought I did. Perhaps Something went awry during the install, and Python was installed anyways.
The redhat installer requires python.
which python tells me "/usr/bin/python"
This (probably) came with redhat.
I also have a usr/local/bin/python.
This (probably) came from your compilation from the source.
How do I find out where the Zope installer is looking?
Zope isn't looking, your shell, probaby 'bash' is. Unless you dinked with the PATH env variable, bash will find /usr/bin/python first, not /usr/local/bin/python. FIRST make sure at least one of your pythons has sha. Run both '/usr/bin/python' and '/usr/local/bin/python' and see which one works with 'import sha'. THEN copy the one that *does* have sha over the one that doesn't. -Michel
Aaaaah... That solution worked. So people installing Python form source need to know that Redhat installs python no matter what you tell it (I specified NOT to install python, but it did anyways.) This may solve some of myother problems as well. Thanks group! Michel Pelletier wrote:
Please continue to cc: the list.
-----Original Message----- From: Don Undeen [mailto:dundee@gator.net]
I installed redhat without Python, or at least I thought I did. Perhaps Something went awry during the install, and Python was installed anyways.
The redhat installer requires python.
which python tells me "/usr/bin/python"
This (probably) came with redhat.
I also have a usr/local/bin/python.
This (probably) came from your compilation from the source.
How do I find out where the Zope installer is looking?
Zope isn't looking, your shell, probaby 'bash' is. Unless you dinked with the PATH env variable, bash will find /usr/bin/python first, not /usr/local/bin/python.
FIRST make sure at least one of your pythons has sha. Run both '/usr/bin/python' and '/usr/local/bin/python' and see which one works with 'import sha'.
THEN copy the one that *does* have sha over the one that doesn't.
-Michel
Don Undeen wrote:
Aaaaah... That solution worked. So people installing Python form source need to know that Redhat installs python no matter what you tell it (I specified NOT to install python, but it did anyways.)
I believe RedHat 6.1 uses an installer that uses PyGnome/PyGTK (Python bindings for Gnome widgets/toolkit ?), so it needs to install Python. Usually even if you ask not to install a package which is needed by other requested packages, the dependencies are resolved by the installer and all needed packages are installed. Up to 6.0 the installer explicitly asked about this. I don't know how it's done in 6.1. But it makes sense that Python would be needed. Nitin.
This may solve some of myother problems as well. Thanks group!
Michel Pelletier wrote:
Please continue to cc: the list.
-----Original Message----- From: Don Undeen [mailto:dundee@gator.net]
I installed redhat without Python, or at least I thought I did. Perhaps Something went awry during the install, and Python was installed anyways.
The redhat installer requires python.
which python tells me "/usr/bin/python"
This (probably) came with redhat.
I also have a usr/local/bin/python.
This (probably) came from your compilation from the source.
How do I find out where the Zope installer is looking?
Zope isn't looking, your shell, probaby 'bash' is. Unless you dinked with the PATH env variable, bash will find /usr/bin/python first, not /usr/local/bin/python.
FIRST make sure at least one of your pythons has sha. Run both '/usr/bin/python' and '/usr/local/bin/python' and see which one works with 'import sha'.
THEN copy the one that *does* have sha over the one that doesn't.
-Michel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You are likely to have /usr/local/lib/python1.5 and other things insatlled into /usr/local as well as /usr. It is better to set up the python compile to create a python that overwrites your old python (set root to /usr instead of /usr/local), or else uninstall the redhat python RPMs. --sam Michel Pelletier wrote:
Please continue to cc: the list.
-----Original Message----- From: Don Undeen [mailto:dundee@gator.net]
I installed redhat without Python, or at least I thought I did. Perhaps Something went awry during the install, and Python was installed anyways.
The redhat installer requires python.
which python tells me "/usr/bin/python"
This (probably) came with redhat.
I also have a usr/local/bin/python.
This (probably) came from your compilation from the source.
How do I find out where the Zope installer is looking?
Zope isn't looking, your shell, probaby 'bash' is. Unless you dinked with the PATH env variable, bash will find /usr/bin/python first, not /usr/local/bin/python.
FIRST make sure at least one of your pythons has sha. Run both '/usr/bin/python' and '/usr/local/bin/python' and see which one works with 'import sha'.
THEN copy the one that *does* have sha over the one that doesn't.
-Michel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Don Undeen -
Michel Pelletier -
Nitin Borwankar -
Sam Gendler