我需要导入常量库,但它不工作......
import spacy
import pandas
import textacy
import pandas as pd
from pandas import Series
from . import constants
错误:
ImportError Traceback (most recent call last)
<ipython-input-49-df52595371dd> in <module>()
4 import pandas as pd
5 from pandas import Series
----> 6 from . import constants
ImportError: cannot import name 'constants'
我在 Windows 10 上使用 anaconda 3 并尝试使用 conda 安装此库:
conda install -c auto constants
但它仍然不起作用......