Giter VIP home page Giter VIP logo

Comments (4)

francispoulin avatar francispoulin commented on August 22, 2024 1

Okay, I am happy to say that the problem has been resolved. It would appear that before I needed to, and could, add the h5py and netcdf4 stuff, whereas now it complains. When I do the following I am happy to say that the new stuff in polar coordiantes do run and I can also run them in parallel. Thanks!

conda create --name shenfun -c conda-forge shenfun mpich matplotlib sympy pytest scipy coverage numba

from shenfun.

mikaem avatar mikaem commented on August 22, 2024

Hi Francis

Did you run conda update shenfun? I think you should first update the environment: conda update conda, and then try to update shenfun. Probably best to create a new environment.

from shenfun.

francispoulin avatar francispoulin commented on August 22, 2024

Thanks. I hadn't tried the conda update conda but now I have, on two computers, followed by a conda update shenfun and they both still give me this error.

    $ python  unitdisc_helmholtz.py 
    Traceback (most recent call last):
      File "unitdisc_helmholtz.py", line 15, in <module>
        from shenfun.la import SolverGeneric1ND
    ImportError: cannot import name 'SolverGeneric1ND' from 'shenfun.la' 
    (/home/fpoulin/software/anaconda3/envs/shenfun/lib/python3.8/site-packages/shenfun/la.py)

So I will create a new environment and see if that does the trick. Before I do so is there a way to figure out exactly what command I used to create that environment?

from shenfun.

francispoulin avatar francispoulin commented on August 22, 2024

I tried using the same command I used before, luckily I kept notes, and for some reason it no longer works. The result is copied below.

    $ conda create --name shenfun -c conda-forge shenfun mpich matplotlib sympy pytest scipy coverage h5py=*=mpi* 
    netcdf4=*=mpi*
    Collecting package metadata (current_repodata.json): done
    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    Collecting package metadata (repodata.json): done
    Solving environment: failed

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

      - coverage h5py[build=mpi*]

    Current channels:

      - https://conda.anaconda.org/conda-forge/linux-64
      - https://conda.anaconda.org/conda-forge/noarch
      - https://repo.anaconda.com/pkgs/main/linux-64
      - https://repo.anaconda.com/pkgs/main/noarch
      - https://repo.anaconda.com/pkgs/r/linux-64
      - https://repo.anaconda.com/pkgs/r/noarch

    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 shenfun.

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.