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.

pkg: pywps - attribute 'flufl.enum' missing

See original GitHub issue

with the current master there is an issue

it worked already with: rev = “59d54bd366b10430dc45e46b83dd2c3fb72f29d1” ;

let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    rev = "67184df0c2cfe6974b774bc2ca0c10970c9bab39"; # dnw
    #rev = "59d54bd366b10430dc45e46b83dd2c3fb72f29d1" ; # ws
  });
  py_env = mach-nix.mkPython rec {
    python = mach-nix.nixpkgs.python37;
    requirements =  ''  
    pywps
      '';
    #requirements = builtins.readFile ./requirements_test_pkg.txt ;##

    providers = {
      # force tensorflow to be taken from nixpkgs
      #tensorflow = "nixpkgs"; 
      tensorflow = "wheel"; 
      torch = "wheel";

      rpy2 = "sdist" ; # wheel broken ? rep upstream 

      orange3 = "nixpkgs";

      osmpythontools = "nixpkgs";

    };
  };

in
(py_env.override ( args:{ignoreCollisions=true; }) ).env

while evaluating the attribute 'nativeBuildInputs' of the derivation 'interactive-python3-3.7.8-environment' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:54:9:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.7.8-env' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'requiredPythonModules' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/development/interpreters/python/wrapper.nix:15:13:
while evaluating 'unique' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/lib/lists.nix:643:12, called from /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'requiredPythonModules' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:82:33:
while evaluating 'unique' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/lib/lists.nix:643:12, called from /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'hasPythonModule' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/top-level/python-packages.nix:61:21, called from undefined position:
while evaluating 'getOutput' at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/cmvzygi70pbgasfh95kv6pbbj7z7dp8x-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:157:17, called from undefined position:

error: --- EvalError ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-shell
in file: /nix/store/c1di0ixgrvg0wy7zlqcjffdrif7qwxk8-mach_nix_file/share/mach_nix_file.nix (189:51)

attribute 'flufl.enum' missing

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
DavHaucommented, Sep 13, 2020

Please try again with newest master 😃 I fixed the passthru already defined bug and another problem with dot in names which prevented this expression from building.

0reactions
InLawcommented, Sep 15, 2020

works (and pprint is removed from pipDB as well)

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: No module named flufl.enum (unittests) · Issue #292
Description The pythin module flufl.enum is necessary for running unittests. The module is sometimes not presents.
Read more >
flufl.enum 3.3.2 - PyPI
The ``flufl.enum`` library is yet another Python enumeration package. Its goal is to provide simple, specific, concise semantics in an easy to read...
Read more >
Why Python 3.6.1 throws AttributeError: module 'enum' has no ...
It's because your enum is not the standard library enum module. You probably have the package enum34 installed. One way check if this...
Read more >
NEWS for flufl.enum - PythonHosted.org
Add IntEnum class which returns int-subclass enum values. ... Add .value attribute to enum values. ... Package renamed to flufl.enum.
Read more >
Software Packages in "jammy", Subsection python - Ubuntu
Software Packages in "jammy", Subsection python ... pypy-enum34 (1.1.6-4) [universe]: backport of Python 3.4's enum package (PyPy package); pypy-ipaddress ...
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