相互 在
Fuzhou, Fujian, China
·
Thanks for your detail tutorial, benwah.
I get it. just comment virtualenv in uwsgi.ini!
How should I do without virtualenv?Thanks.
yes the www-data user's shell is a bug, I use:<br/>
sudo su www-data -s /bin/bash</code>
but I have another problem with my Ubuntu Server 13.10, I can ping network like 'pypi.python.org', but when wget or pip install, I get:<br/>
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement lxml in /usr/lib/python2.7/dist-packages</code>This confuse me. I try to fix it by dns, no way.
I've setup follow this article, but there have an error in /var/log/uwsgi/app/openerp.log:
ImportError: No module named lxml
and I've install lxml by:
sudo apt-get install python-lxml
the error still there.
My network trouble is't about pypi site, but because the router in my house,. I've build a ubuntu mirror in my server, I can visit internet in my Windows PC. I'll test the virtualenv after this weekend when I return my office.</p>
Thanks again anyway. And forgive my poor Chinglish please :).</p>
The strange trouble of my Ubuntu server is, I can download by</p>