Skip to content

Commit

Permalink
Fix Mars import issue (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsi authored Jul 24, 2024
1 parent 0f0902b commit be261ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion odps/mars_extension/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import mars
try:
import mars
except ImportError:
raise
except Exception as ex:
raise ImportError("Failed to import mars due to " + repr(ex))

from ..compat import Version

Expand Down

0 comments on commit be261ff

Please sign in to comment.