# Path: studio/dependencies_policies/dependencies_policy.py
# class DependencyPolicy:
#     """
#     Abstract class representing some policy
#     for generating Python packages dependencies
#     to be used for submitted experiment.
#     """
# 
#     def generate(self, resources_needed):
#         raise NotImplementedError('Not implemented DependencyPolicy')


import re
        from pip._internal.operations import freeze
        from pip.operations import freeze
from studio.dependencies_policies.dependencies_policy import DependencyPolicy

try:
    try:
    except Exception:
except ImportError:
    freeze = None




# Path: studio/dependencies_policies/dependencies_policy.py
# class DependencyPolicy:
#     """
#     Abstract class representing some policy
#     for generating Python packages dependencies
#     to be used for submitted experiment.
#     """
# 
#     def generate(self, resources_needed):
#         raise NotImplementedError('Not implemented DependencyPolicy')


# Path: studio/dependencies_policies/studio_dependencies_policy.py
import re
        from pip._internal.operations import freeze
        from pip.operations import freeze
from studio.dependencies_policies.dependencies_policy import DependencyPolicy


try:
    try:
    except Exception:
except ImportError:
    freeze = None




class StudioDependencyPolicy(DependencyPolicy):