Skip to content

Couldn't install onto Python 3.4 #4

@dukedougal

Description

@dukedougal

Hello

I get the following error when trying to install on Python 3.4, any ideas?

Thanks

(venv3.4)pgtrafficcop@core01:/opt/pythonapps/sunnyboy$ pip install pyzmail
Downloading/unpacking pyzmail
Downloading pyzmail-1.0.2.tar.gz (57kB): 57kB downloaded
Running setup.py (path:/home/pgtrafficcop/venv3.4/build/pyzmail/setup.py) egg_info for package pyzmail
Downloading http://pypi.python.org/packages/source/ ... .21.tar.gz
Extracting in /tmp/tmp9z06l8ae
Now working in /tmp/tmp9z06l8ae/distribute-0.6.21
Building a Distribute egg in /home/pgtrafficcop/venv3.4/build/pyzmail
Failed to import the site module
Traceback (most recent call last):
File "/tmp/tmp9z06l8ae/distribute-0.6.21/site.py", line 73, in
__boot()
File "/tmp/tmp9z06l8ae/distribute-0.6.21/site.py", line 2, in __boot
import sys, imp, os, os.path
File "/home/pgtrafficcop/venv3.4/lib/python3.4/imp.py", line 22, in
from importlib import util
File "/home/pgtrafficcop/venv3.4/lib/python3.4/importlib/util.py", line 12, in
from contextlib import contextmanager
ImportError: No module named 'contextlib'
/home/pgtrafficcop/venv3.4/build/pyzmail/distribute-0.6.21-py3.4.egg
Traceback (most recent call last):
File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 17, in
File "/home/pgtrafficcop/venv3.4/build/pyzmail/setup.py", line 11, in
use_setuptools()
File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 116, in _build_egg
raise IOError('Could not build the egg.')
OSError: Could not build the egg.
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/ ... .21.tar.gz

Extracting in /tmp/tmp9z06l8ae

Now working in /tmp/tmp9z06l8ae/distribute-0.6.21

Building a Distribute egg in /home/pgtrafficcop/venv3.4/build/pyzmail

Failed to import the site module

Traceback (most recent call last):

File "/tmp/tmp9z06l8ae/distribute-0.6.21/site.py", line 73, in

__boot()

File "/tmp/tmp9z06l8ae/distribute-0.6.21/site.py", line 2, in __boot

import sys, imp, os, os.path

File "/home/pgtrafficcop/venv3.4/lib/python3.4/imp.py", line 22, in

from importlib import util

File "/home/pgtrafficcop/venv3.4/lib/python3.4/importlib/util.py", line 12, in

from contextlib import contextmanager

ImportError: No module named 'contextlib'

/home/pgtrafficcop/venv3.4/build/pyzmail/distribute-0.6.21-py3.4.egg

Traceback (most recent call last):

File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 143, in use_setuptools

raise ImportError

ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "", line 17, in

File "/home/pgtrafficcop/venv3.4/build/pyzmail/setup.py", line 11, in

use_setuptools()

File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 145, in use_setuptools

return _do_download(version, download_base, to_dir, download_delay)

File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 125, in _do_download

_build_egg(egg, tarball, to_dir)

File "/home/pgtrafficcop/venv3.4/build/pyzmail/distribute_setup.py", line 116, in _build_egg

raise IOError('Could not build the egg.')

OSError: Could not build the egg.


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/pgtrafficcop/venv3.4/build/pyzmail
Storing debug log for failure in /home/pgtrafficcop/.pip/pip.log
(venv3.4)pgtrafficcop@core01:/opt/pythonapps/sunnyboy$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions