trainer
在 AI 平台上安装软件包时出现此错误,
回溯(最后一次调用):文件“”,第 1 行,在文件“/tmp/pip-install-_u8thvm6/pycocotools/setup.py”中,第 2 行,来自 Cython.Build import cythonize ImportError: No module named '赛通'
虽然我已经包含'Cython'
在setup.py
.
设置.py:
import setuptools
NAME = 'trainer'
VERSION = '1.0'
REQUIRED_PACKAGES = [
'Cython', # Cython, mentioned before pycocotools
'tensorflow-gpu',
'google-cloud-storage',
'gcsfs',
'pycocotools'
]
setuptools.setup(
name=NAME,
version=VERSION,
packages=setuptools.find_packages(),
install_requires=REQUIRED_PACKAGES,
include_package_data=True,
description='Trainer package')