Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installed the new code of pygnome / gridded version 0.3.4 #73

Open
larissafranklin23 opened this issue Dec 2, 2022 · 2 comments
Open

Comments

@larissafranklin23
Copy link

Hello,
I tried once again to install the PyGnome new code and it's installing the gridded 0.3.4.
I already tried to update with conda intall gridded==0.3.6 and keep returning me the gridded 0.3.4.
I also tried to download the gridded code here and tried to install in conda, but keep giving me the same error.
Because of that I'm not being able to run my model. When I was using the gridded 0.3.0 was with some limitations but it was running.

image

@coconnor8
Copy link

Which branch of pygnome are you using? The conda_requirements file shows which version of gridded you need.
If you are using production branch then 0.3.0 is still in the requirements file for gridded. The main branch has 0.3.6

If you install gridded 0.3.6 and do pip show gridded it will show 0.3.4. If you do conda list gridded it should show 0.3.6. So you do have the right version, it just has an internal version that is incorrect. This is a bug that has been fixed in gridded 0.3.7.

@ChrisBarker-NOAA
Copy link
Contributor

NOTE: there is a bug in some of the conda packages, where the version numbers don't match :-(

If you installed gridded with conda, then you should use conda to check the version number:

conda list gridded

As @coconnor8 said -- you need to match the versions (of all packages) with the branch / version you have of PyGNOME. The best way to do that is to do a full re-install of the conda packages after you update the PyGNOME code:

conda install --file conda_requiremetns.txt

or create a whole new environment:

conda create -n gnome --file conda_requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants