2

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
1
  • See also this to install petsc. Commented May 20, 2016 at 19:02

1 Answer 1

3

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/[email protected]
pip install --no-deps git+https://bitbucket.org/petsc/[email protected]
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.