question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install matplotlib-venn

See original GitHub issue
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "refs/tags/3.1.1";
  }) {
    python = "python39";

    pypiDataRev = "a3b23cd3a838de119208cd8267474a6fffc3eeec"; # 2021-03-10
    pypiDataSha256 = "0v66j1ndz41pnkcr4in05yby7f0q3k9k0v6jrx0v42pq6bp0g74q";
  };
in mach-nix.mkPython {
  requirements = ''
    matplotlib-venn
  '';
}

errors with

The Package 'matplotlib-venn' is not available from any of the selected providers {'nixpkgs', 'wheel', 'sdist'}
 for the selected python version
If the package's initial release date predates the release date of mach-nix, either upgrade mach-nix itself or manually specify 'pypi_deps_db_commit' and
'pypi_deps_db_sha256 for a newer commit of https://github.com/DavHau/pypi-deps-db/commits/master
If it still doesn't work, there was probably a problem while crawling pypi.
Please open an issue at: https://github.com/DavHau/mach-nix/issues/new

But if I change to python38, it works.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
tfmoraescommented, Mar 16, 2021

@luizirber I was able to install matplotlib-venn using packagesExtra from mach-nix:

let
  mach-nix = import
    (builtins.fetchGit {
      url = "https://github.com/DavHau/mach-nix/";
      ref = "refs/tags/3.2.0";
    })
    {
      python = "python39";
    };
in
mach-nix.mkPythonShell {
  packagesExtra = [
    "https://files.pythonhosted.org/packages/ca/e8/53441d7feb29ab10de3bd46c05358c41f0ba2f57395e88ffbb62d6b69df3/matplotlib-venn-0.11.6.tar.gz"
  ];
}
0reactions
DavHaucommented, May 14, 2021

At the time of opening this issue, pypi-deps-db didn’t support python 3.9. That has changed in the meantime. Now the build works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing matplotlib-venn - python - Stack Overflow
Installing matplotlib -venn on it was straightforward ( pip install matplotlib-venn ). This command can be run from an IPython/Jupyter notebook cell by...
Read more >
Installing matplotlib-venn issues - omz:forum
Hi, I've tried installing matplotlib-venn on Pythonista using pip but I can't seem to get it to work. Instead I get a 'No...
Read more >
ModuleNotFoundError: No module named 'matplotlib_venn'
Hi all, I am using JupyterLab with Python 3.9 as the kernel. I am trying this code: # Import the library import matplotlib.pyplot...
Read more >
matplotlib-venn - PyPI
Routines for plotting area-weighted two- and three-circle venn diagrams. Installation. The simplest way to install the package is via easy_install or pip:
Read more >
pip install matplotlib-venn - Course Hero
Installing matplotlib -vennTo install matplotlib-venn, use this command:$pip install matplotlib-vennYour computer is now set up to run all the programs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found