Installing Python from sources with all the modules

Terry Reedy tjreedy at udel.edu
Mon Dec 16 23:02:14 EST 2013


On 12/16/2013 8:55 PM, shankha wrote:
> I am trying to install Python 3.3 from the latest sources on linux.
>
> After the installation when I try to run the following I get a error:
>
>     ./python
>     Python 3.3.3 (default, Dec 16 2013, 18:28:25)
>     [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux
>     Type "help", "copyright", "credits" or "license" for more information.
>     >>>  import ssl
>     Traceback (most recent call last):
>        File "<stdin>", line 1, in <module>
>        File
>     "/home/shankha/Python-git/Python3-3/Python-3.3.3/Lib/ssl.py", line
>     60, in <module>
>          import _ssl # if we can't import it, let the error propagate
>     ImportError: No module named '_ssl'
>
>
> Is there a way while installing from sources I enable all modules to be
> installed.

Check http://docs.python.org/devguide
On Windows, I would add 'check <repository>/PcBuild/README. I do not 
know if there is the equivalent for *nix.

-- 
Terry Jan Reedy




More information about the Python-list mailing list