tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.56k stars 598 forks source link

No Module Named 'tabpy_server.app' when using user_management #331

Closed jtweeder closed 5 years ago

jtweeder commented 5 years ago

Environment information:

Describe the issue Install tabpy server and works as intended, but was looking to add authentication with user-name and passwords. Upon running the user-management tool it errors that it cannot find 'tabpy_server.app' module. Errors at line 10.

To Reproduce From Tabpy 0.6.1 directory: python utils/user_management.py -h

Expected behavior User-management tool to launch

Screenshots image

Additional context Tried reinstall tapby-server and dependencies with no fix.

0golovatyi commented 5 years ago

@jtweeder before running utils/user_management.py did you run utils/set_env.cmd?

jtweeder commented 5 years ago

I did not. Sorry I was reading the Configuration instructions one step at a time and did not see that instruction come up yet.

Seems to work after running utils/set_env.cmd

Thank you for the quick response, and sorry I did not read two more lines down in the instructions.