m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
578 B

7 months ago
  1. """
  2. Unified place for determining if external dependencies are installed or not.
  3. You should import all external modules using the import_module() function.
  4. For example
  5. >>> from sympy.external import import_module
  6. >>> numpy = import_module('numpy')
  7. If the resulting library is not installed, or if the installed version
  8. is less than a given minimum version, the function will return None.
  9. Otherwise, it will return the library. See the docstring of
  10. import_module() for more information.
  11. """
  12. from sympy.external.importtools import import_module
  13. __all__ = ['import_module']