1

I am trying to get a hug api running on a windows Server 2012 R2. I configuered the server like seen in an Django Example(here).

I created a virtual enviroment and installed hug. If I try to run the happy_birthday example with the command:

python -m hug -f happy_birthday.py

I get an error with the message:

"C:\virtualenvs\foo\Scripts\python.exe: No module named hug.__ main __; 'hug' is a package an cannot be directly executed"

Why do I get this Error and how can I solve it?

tatatoto
  • 138
  • 1
  • 12

0 Answers0