[petsc-users] Error Installing Petsc4Py

Satish Balay balay at mcs.anl.gov
Thu Apr 2 12:47:55 CDT 2020


Which version of petsc and which version of petsc4py is this?

Lisandro can help with pip issues.

Just want to mention an alternate mode that you might want to try:

--download-petsc4py option to petsc configure

Satish

On Thu, 2 Apr 2020, Kyle Michael Booker wrote:

> Hello,
> 
> 
> I've been trying to install petsc4py for the past several days and have had the following errors installing:
> 
> 
> "Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0eWEiE/petsc4py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oUZMRL-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-0eWEiE/petsc4py/"
> 
> 
> I currently have petsc installed correctly as well as mpich, it is just getting petsc4py installed that I have problems with. Any help would be greatly appreciated.
> 
> 
> Sincerely,
> 
> 
> Kyle
> 



More information about the petsc-users mailing list