Problems determining install-platlib in pydistutils.cfg -

According to the docs, I should just define this in my ~ / .pydistutils.cfg and be turned off and running.

[install] install-base=$HOME install-purelib=python/lib install-platlib=python/lib.$PLAT install-scripts=python/scripts install-data=python/data 

But - when I do this, I just get this error ...

error: install-base or the supplied install-platbase, but the installation diagram is not complete

But I carefully followed the documents. Can anyone shed light on why this is happening; and how to fix it?

+6
python
source share
1 answer

You MUST include this.

 install-headers=python/?? 

So the last one looks like this.

 [install] install-base=$HOME install-purelib=python/lib install-platlib=python/lib.$PLAT install-scripts=python/scripts install-headers=python/include install-data=python/data 
+7
source share

All Articles