Giter Site home page Giter Site logo

issue with petsc4py about jax-fem HOT 6 OPEN

karthikeaton avatar karthikeaton commented on May 27, 2024
issue with petsc4py

from jax-fem.

Comments (6)

tianjuxue avatar tianjuxue commented on May 27, 2024

JAX itself is not meant to be used on Windows. Same holds true for JAX-FEM. Please consider a linux system like Ubuntu or Mac OS will also be fine.

from jax-fem.

kweonhj avatar kweonhj commented on May 27, 2024

"ModuleNotFoundError: No module named 'petsc4py'
I am also unable to install petsc4py via pip.
Can you give a solution?"

from jax-fem.

tianjuxue avatar tianjuxue commented on May 27, 2024

Please exactly follow the instruction to install JAX-FEM. petsc4py is known to have issue with pip. You can only use conda to install petsc4py.

from jax-fem.

kweonhj avatar kweonhj commented on May 27, 2024

Thank you for your responding so quickly!
I tried creating a virtual environment as you suggested, but encountered the following error. Is there a solution to this?

Channels:

  • conda-forge
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • petsc4py==3.20.0
  • fenics=2019.1.0*

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

from jax-fem.

tianjuxue avatar tianjuxue commented on May 27, 2024

Are you using Windows? If so, please avoid using Windows. There is no support for Windows for JAX-FEM.

from jax-fem.

kweonhj avatar kweonhj commented on May 27, 2024

Thank you so much it works great with my mac!!

from jax-fem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.