Il giorno 25/feb/2011, alle ore 14.35, Quyet Nguyen Duc ha scritto:

> Hi everybody,
> 
> I tried to use uwsgi for trac and hg deployment but couldn't even make it 
> start.
> This is what I did so far:
> 
> - Create python virtualenv::
> 
>     $virtualenv --no-site-packages .
> 
> - Install pip and uwsgi::
> 
>     $bin/easy_install pip
>     $bin/pip install http://projects.unbit.it/downloads/uwsgi-latest.tar.gz
> 
> uwsgi compiled well but I got this at the end of the installation:
> 
>     Could not find .egg-info directory in install record for uWSGI from 
> http://projects.unbit.it/downloads/uwsgi-latest.tar.gz
> 
> then I opened the python interpreter:
> 
>     $bin/python
>     >>> import uwsgi
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>     ImportError: No module named uwsgi
> 
> Am I missing any step ?
> 
> 

uWSGI is not a python module, it is a binary server.

After the istallation you will find it in the /bin
of your virtualenv

The app run by uWSGI can access the "uwsgi" module
that export specific api functions.

--
Roberto De Ioris
http://unbit.it

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to