I am trying to install petsc4py with direction found on the Python website but I am getting an error. How do I fix this cant find correct version error? My overall goal is to be able to use openMDAO but I need to start with getting petsc4py working.
The following is the input of the command and then the error I am receiving
pip install petsc petsc4py
Collecting petsc
Could not find a version that satisfies the requirement petsc (from versions: )
No matching distribution found for petsc
Which platform are you running on (Windows, Linux, OS X)?
I have had good luck with installing using pip directly on the BitBucket repos:
pip install --no-deps git+https://bitbucket.org/petsc/petsc@v3.5
pip install --no-deps git+https://bitbucket.org/petsc/petsc4py@3.5
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.