Cannot install Plone 5.2 with Python 3.6

Hello,

I failed installing Plone 5.2 with Python 3.6. Can anyone help? Here is the error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 2316, in main
    **kw
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 418, in run
    self.easy_install(spec, not self.no_deps)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 660, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1144, in run_setup
    run_setup(setup_script, args)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 253, in run_setup
    raise
  File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules
    yield saved
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context
    yield
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "/home/notooth/Plone/zinstance/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-fde5kpax/Products.DateRecurringIndex-3.0.0/setup.py", line 12, in <module>
  File "/home/notooth/Plone/zinstance/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 251: ordinal not in range(128)
An error occurred when trying to install /home/notooth/Plone/buildout-cache/downloads/dist/Products.DateRecurringIndex-3.0.0.tar.gz. Look above this message for any errors that were output by easy_install.
While:
  Installing instance.
  Getting distribution for 'Products.DateRecurringIndex==3.0.0'.

You need to pinn Products.DateRecurringIndex = 3.0.1, @tkimnguyen fixed that bug recently.

2 Likes

I checked with Eric Steele. The best way to let him know about new pins is to create a pull request in buildout.coredev, so here it is:

1 Like

I just fixed the problem. Thank you all.

1 Like

Plone Foundation Code of Conduct