Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems defining install-platlib in pydistutils.cfg --

Tags:

python

According to the docs I should be able to simply define this in my ~/.pydistutils.cfg and be 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 simply get this error...

error: install-base or install-platbase supplied, but installation scheme is incomplete

But I followed the docs explicitly. Can anyone shed any light on why this is occurring; and how to fix it??

like image 597
rh0dium Avatar asked Aug 24 '10 20:08

rh0dium


People also ask

How do I install a specific version of pandas?

To install a specific version of a Python package you can use pip: pip install YourPackage==YourVersion . For example, if you want to install an older version of Pandas you can do as follows: pip install pandas==1.1. 3 .


1 Answers

You MUST include this..

install-headers=python/??

So the final 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
like image 133
rh0dium Avatar answered Oct 30 '22 11:10

rh0dium