Tony_Zhao Tony_Zhao - 1 year ago 49
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download