Re: [MacPorts] #50063: No module named “docutils” when attempting to run aws of py34-awscli

MacPorts noreply at macports.org
Wed Dec 16 10:25:43 PST 2015


#50063: No module named “docutils” when attempting to run aws of py34-awscli
------------------------+-----------------------
  Reporter:  william@…  |      Owner:  pixilla@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:
      Port:  py-awscli  |
------------------------+-----------------------

Comment (by william@…):

 Incidentally, a similar problem (though with a different failed import)
 occurs with python 2.7:

 {{{
 forth williamg$ aws --version
 Traceback (most recent call last):
   File "/opt/local/bin/aws", line 19, in <module>
     import awscli.clidriver
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/awscli/clidriver.py", line 32, in <module>
     from awscli.help import ProviderHelpCommand
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/awscli/help.py", line 22, in <module>
     from botocore.docs.bcdoc import docevents
 ImportError: No module named docs.bcdoc
 }}}


 Adding a dependency to py${python.version}-docutils and to
 py${python.version}-boto3 in the portfile alters the failure when using
 python 3.4 to read:

 {{{
 forth williamg$ aws --version
 Traceback (most recent call last):
   File "/opt/local/bin/aws", line 19, in <module>
     import awscli.clidriver
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/awscli/clidriver.py", line 32, in <module>
     from awscli.help import ProviderHelpCommand
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/awscli/help.py", line 22, in <module>
     from botocore.docs.bcdoc import docevents
 ImportError: No module named 'botocore.docs'
 }}}

 Hope some of that stab-in-dark research provides pointers.

-- 
Ticket URL: <https://trac.macports.org/ticket/50063#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list