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

PackageNotFoundError #84

Closed
egayer opened this issue Dec 3, 2017 · 6 comments
Closed

PackageNotFoundError #84

egayer opened this issue Dec 3, 2017 · 6 comments

Comments

@egayer
Copy link

egayer commented Dec 3, 2017

Hi guys,
Just wanted to install gmt following the install recipe but

conda install gmt -c conda-forge/label/dev

returns

PackageNotFoundError: Packages missing in current channels:

  • gmt -> blas 1.1 openblas
  • gmt -> dcw-gmt
  • gmt -> fftw
  • gmt -> ghostscript
  • gmt -> gshhg-gmt
  • gmt -> @blas_openblas

We have searched for the packages in the following channels:

what should I do ?
thanks

@leouieda
Copy link
Member

leouieda commented Dec 3, 2017

Hi @egayer are you on Windows?

@egayer
Copy link
Author

egayer commented Dec 3, 2017

nope on osX
Python 3.6.3 |Anaconda, Inc.| and conda version : 4.3.30

@leouieda
Copy link
Member

leouieda commented Dec 3, 2017

Could you try running this instead?

conda install gmt -c conda-forge/label/dev -c conda-forge

@leouieda
Copy link
Member

leouieda commented Dec 3, 2017

It seems that conda is looking for all GMT dependencies on the development channel, which it shouldn't do. This might have gone unnoticed because of my particular configuration.

@egayer
Copy link
Author

egayer commented Dec 3, 2017

it worked !
however

import gmt works
but then gmt.test() returns

ModuleNotFoundError: No module named 'pytest'

plus, in spyder

fig = gmt.Figure() fig.coast(region=[-90, -70, 0, 20], projection='M6i', land='chocolate', frame=True) seems ok but fig.show() make spyder to crash

in ipython qtconsole, same thing, fig.show() returns

TypeError: scaledToWidth(self, int, mode: Qt.TransformationMode = Qt.FastTransformation): 'transformMode' is not a valid keyword argument

OK my bad... it works on jupyter notebook, so I guess I didn't read the doc properly !

@leouieda
Copy link
Member

leouieda commented Dec 4, 2017

@egayer thanks for the feedback! I forgot to mention that you need to install pytest and pytest-mpl in order to run the tests. Fixing this in #87.

You need to install them running:

conda install pytest pytest-mpl -c conda-forge

Then the tests should work.

I had no idea that things were crashing in spyder. Would you mind opening a separate issue for this? It shouldn't crash the program or give such weird errors.

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

2 participants