OAC : ImportError : No module named argparse
Last updated on MAY 11, 2018
Applies to:Oracle Analytics Cloud Service - Version N/A to N/A [Release 14.1]
Information in this document applies to any platform.
When attempting to run proxy_register_ssl_private_key, to register a private key and certificate on the OAC server, tried to run the script and received the following error.
User cannot even run collect_diagnostic_logs.py with the same error
Python command used:
$ python /bi/app/public/bin/collect_diagnostic_logs.py /tmp/oac_diag_dump.zip
Traceback (most recent call last):
File "/bi/app/public/bin/collect_diagnostic_logs.py", line 10, in <module>
from argparse import ArgumentParser
ImportError: No module named argparse
The argparse module exists on Python 2.7 but it won't run for some reason.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms