

prefix=C:\Anaconda3\Lib\site-packages\petscĬonfiguring PETSc to compile on your system

errorĬommand: 'C:\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize sys.argv = '"'"'C:\Users\alyfl\AppData\Local\Temp\pip-install-xl_fsd3b\petsc\ setup.py'"'"' file='"'"'C:\Users\alyfl\AppData\Local\Temp\pip-install-xl_fsd3b\petsc\ setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)( file) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, file, '"'"'exec'"'"'))' install -record 'C:\Users\alyfl\AppData\Local\Temp\pip-record-gcsu4zbt\install-record.txt' -single-version-externally-managed -compile Petsc: this package cannot be built as a wheel

errorĮRROR: Command errored out with exit status 1:Ĭommand: 'C:\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize sys.argv = '"'"'C:\Users\alyfl\AppData\Local\Temp\pip-install-xl_fsd3b\petsc\ setup.py'"'"' file='"'"'C:\Users\alyfl\AppData\Local\Temp\pip-install-xl_fsd3b\petsc\ setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)( file) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\alyfl\AppData\Local\Temp\pip-wheel-oi0f_gde' -python-tag cp37Ĭwd: C:\Users\alyfl\AppData\Local\Temp\pip-install-xl_fsd3b\petsc However when I do this in anaconda I get the following: (base) C:\Users\alyfl> pip install petsc -no-cache-dir I’m trying to install petsc for python on windows, using the following command:
