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

Add installation instructions for school branch / binder links #1

Open
sdrave opened this issue Sep 24, 2020 · 15 comments
Open

Add installation instructions for school branch / binder links #1

sdrave opened this issue Sep 24, 2020 · 15 comments

Comments

@sdrave
Copy link
Member

sdrave commented Sep 24, 2020

No description provided.

@renefritze
Copy link
Member

I am somewhat confident that I'll be able to produce conda packages via azure now:
https://dev.azure.com/pymor/pymor-feedstock/_build/results?buildId=3493&view=logs&j=9c5ef928-2cd6-52e5-dbe6-9d173a7d951b

@renefritze
Copy link
Member

I managed to get conda packages for all platforms: https://github.com/pymor/2020_online_course/tree/main/packages/conda
Conda packages are untested, but built from the same recipe as the release packages, on (mostly) the same azure infra.

I also added manylinux wheels: https://github.com/pymor/2020_online_course/tree/main/packages/wheels

@renefritze
Copy link
Member

@pymor/pymor-devs I've just triggered a new build for the conda packages here: https://dev.azure.com/pymor/pymor-feedstock/_build/results?buildId=3496&view=results
with more packages: pymor/pymor-feedstock@3450878

@renefritze
Copy link
Member

I just realized we could also pretty easily add a docker-based setup for people to work from.

@pmli
Copy link
Member

pmli commented Sep 28, 2020

Ok, it seems conda's dependency resolver has an issue with this conda package. Whenever I try to install something after installing the pyMOR package, it raises an UnsatisfiableError.

I'm not sure about using docker...

I also found an issue with binder. It seems to install an older version of pyMOR which doesn't have formatsrc or bode_plot.

@renefritze
Copy link
Member

Can your install command pull dependencies from conda-forge? The package ist build using their infrastructure setup.

@renefritze
Copy link
Member

@pmli Good catch for the pyMOR version. I've fixed that: 51ac6d4

@TiKeil
Copy link

TiKeil commented Sep 28, 2020

I just tried to conda install the packages on my Mac and it seems that I also have package inconsistencies. For some reason, some packages disappear almost randomly. However I found a workaround how to still use conda for installing pymor.

conda install -c conda-forge diskcache
conda install pymor-2020_online_course-py38h8c46c48_0.tar.bz2
conda install -c conda-forge numpy

seems to work in a fresh conda env. Don't ask me why and how to do this in a better way.

@renefritze
Copy link
Member

Added docker setup in #3

@pmli
Copy link
Member

pmli commented Sep 28, 2020

I have some issue with matplotlib when running visualize in getting_started. It complains about the backend, but tutorial_bt works fine.

@renefritze
Copy link
Member

I have some issue with matplotlib when running visualize in getting_started. It complains about the backend, but tutorial_bt works fine.

In the binder setup?

@pmli
Copy link
Member

pmli commented Sep 28, 2020

I have some issue with matplotlib when running visualize in getting_started. It complains about the backend, but tutorial_bt works fine.

In the binder setup?

On Windows.

@renefritze
Copy link
Member

Can you identify if it's a matter of installing an additional backend?

@pmli
Copy link
Member

pmli commented Sep 28, 2020

I'm not sure how to install an additional backend... I tried by installing Qt.py, but that didn't help...

@renefritze
Copy link
Member

The backed would be pyqt. If you look at https://github.com/pymor/pymor-feedstock/blob/2020_online_course/recipe/meta.yaml#L43 this should already be installed as a dependency of the pyMOR conda package.

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

4 participants