Skip to content

Commit

Permalink
fix(nyz): fix pyecharts import bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PaParaZz1 committed Jun 22, 2024
1 parent 73ff16f commit 97aa35d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ding/utils/memory_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
try:
import pyecharts
except ImportError:
import sys
import logging
logging.error("Please install pyecharts first, you can install it by running 'pip install pyecharts'")
sys.exit(1)
pyecharts = None

MegaByte = 1024 * 1024

Expand Down

0 comments on commit 97aa35d

Please sign in to comment.