You are here: Home / Documentation / How To's / Unsupported schema error during buildout

Unsupported schema error during buildout

by nguyen — published May 11, 2012 02:30 PM, last modified Aug 16, 2016 10:50 AM

If you get this error:

Submitting dist\ to ourbasket
Traceback (most recent call last):
  File "", line 59, in <module>
  File "c:\Plone4\python\lib\distutils\", line 152, in setup
  File "c:\Plone4\python\lib\distutils\", line 975, in run_commands
  File "c:\Plone4\python\lib\distutils\", line 995, in run_command
  File "c:\Plone4\python\lib\distutils\command\", line 57, in run
    self.upload_file(command, pyversion, filename)
  File "c:\Plone4\python\lib\distutils\command\", line 160, in upload_file
    raise AssertionError, "unsupported schema "+schema
AssertionError: unsupported schema

it's probably because you are missing a .pypirc file (usually located in your home directory), or you specified an upload destination that isn't defined in your .pypirc.