[MacPorts] #50063: No module named “docutils” when attempting to run aws of py34-awscli
#50063: No module named “docutils” when attempting to run aws of py34-awscli -----------------------+-------------------------------- Reporter: william@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py34-awscli -----------------------+-------------------------------- I installed the `py34-awscli` and `awscli_select` ports. I then attempted to call aws: {{{ forth williamg$ sudo port select awscli py34-awscli Selecting 'py34-awscli' for 'awscli' succeeded. 'py34-awscli' is now active. forth williamg$ which aws /opt/local/bin/aws 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 30, 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 19, in <module> from docutils.core import publish_string ImportError: No module named 'docutils' }}} Seems there must be a missing dependency. -- Ticket URL: <https://trac.macports.org/ticket/50063> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ------------------------+----------------------- Changes (by mf2k@…): * cc: pixilla@… (removed) * owner: macports-tickets@… => pixilla@… * port: py34-awscli => py-awscli -- Ticket URL: <https://trac.macports.org/ticket/50063#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#50063: No module named “docutils” when attempting to run aws of py34-awscli ------------------------+----------------------- Reporter: william@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: py-awscli | ------------------------+----------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: done r144866 144867 -- Ticket URL: <https://trac.macports.org/ticket/50063#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts