Tony_Zhao Tony_Zhao - 5 months ago 20
Python Question

Why I can't import team from nba_py

I just wanna run a very simple python script by using nba_py. I already install the nba_py package. But it's not work.My Python Script

The console always shows ImpoetErrorDebug Console

Answer Source

May be you have to rename your file name from nba_py to others, like test_for_nba_py ? It's up to you :).

Because your file name is nba_py, then when you

from nba_py import team

It will not check module team in nba_py package.