Code Monkey home page Code Monkey logo

altair-examples's People

Contributors

pinae avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

altair-examples's Issues

Grafiken im Notebook nicht angezeigt -> gelöst

Wenn man im Jupyter Notebook keine Grafiken angezeigt bekommt
und in der Browser Konsole folgende Meldung steht:
The resource from “http://localhost:8888/nbextensions/jupyter-vega/index.js?v=XXX” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
404 GET /nbextensions/jupyter-vega/index.js?v=XXX (127.0.0.1) 1.79ms referer=http://localhost:8888/notebooks/Bankdaten.ipynb
dann liegt das nicht am Mimetype (wonach ich stundenlang gesucht habe),
sondern an der fehlenden jupyter-vega Aktivierung in den Notebook Extensions.
Prüfen:
jupyter nbextension list
-> jupyter-vega ist nicht gelistet
Lösung:
jupyter nbextension install --sys-prefix --py vega
jupyter nbextension enable vega --py --sys-prefix

Vega download klappt nicht

Bin newby in Sachen Python und Anaconda - bitte also um Nachsicht:

Wenn ich - wie im c't Artikel beschrieben - die Zeile
conda install vega altair
ausführe, erhalte ich eine Fehlermeldung:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  - vega

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

Eine Suche nach "vega" und "altair" auf der Anaconda-Seite ergab package "conda-forge vega" bzw. "conda -forge altair"

Wenn man eines dieser beiden installieren will - gemäss Insturktionen mit:
conda install -c conda-forge vega
erhält man:

Collecting package metadata (current_repodata.json): done
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - defaults/win-64::anaconda==2019.07=py37_0
  - defaults/win-64::numba==0.44.1=py37hf9181ef_0
done
...

plus diverse Warnungen, dass dies div. packages downgraden würde, wenn man weitermache.
Habe hier dann abgebrochen...

Was läuft hier falsch, bzw. wie/woher soll man das Package "vega" und "altair" installieren?

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.