Joined March 2014
·

相互 在

Fuzhou, Fujian, China
·

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>

wget -4 url</code></pre>but when </p>wget url</code></pre>I got a fail. I'm not familiar to Linux, even though I search internet for 2 days, I disabled the Ipv6 feature in Ubuntu, but this problem still existing. I don't know how to enforce apt-get or pip or some else similar tools using wget to perform connection via Ipv4 but not Ipv6.</p>

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.

Achievements
1 Karma
0 Total ProTip Views