[python] No module named _sysconfigdata_nd

when setting python environment in Ubuntu13.04, i got this error:

ImportError: No module named _sysconfigdata_nd

After searching from google, i found that 

The "No module named _sysconfigdata_nd" is a bug in the Ubuntu package.

so, here is the solution.

cd /usr/lib/python2.7
sudo ln -s plat-x86_64-linux-gnu/_sysconfigdata_nd.py .

 

Have fun with python!

 

posted @ 2013-07-23 21:45 DavidHHuan 阅读(...) 评论(...) 编辑 收藏