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.

Installing fpie==0.2.3 fails.

See original GitHub issue
(sd-inf) zerocool@DESKTOP-IFR8E96:~/github/stablediffusion-infinity$ pip install fpie==0.2.3
Collecting fpie==0.2.3
  Using cached fpie-0.2.3.tar.gz (29 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: opencv-python>=4.5 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from fpie==0.2.3) (4.6.0.66)
Requirement already satisfied: numpy>=1.18 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from fpie==0.2.3) (1.22.3)
Requirement already satisfied: taichi>=1.0 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from fpie==0.2.3) (1.1.3)
Requirement already satisfied: numba>=0.51 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from fpie==0.2.3) (0.56.2)
Requirement already satisfied: setuptools<60 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from numba>=0.51->fpie==0.2.3) (59.8.0)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from numba>=0.51->fpie==0.2.3) (0.39.1)
Requirement already satisfied: colorama in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from taichi>=1.0->fpie==0.2.3) (0.4.5)
Requirement already satisfied: sourceinspect>=0.0.4 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from taichi>=1.0->fpie==0.2.3) (0.0.4)
Requirement already satisfied: rich in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from taichi>=1.0->fpie==0.2.3) (12.5.1)
Requirement already satisfied: dill in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from sourceinspect>=0.0.4->taichi>=1.0->fpie==0.2.3) (0.3.5.1)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from rich->taichi>=1.0->fpie==0.2.3) (2.13.0)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages (from rich->taichi>=1.0->fpie==0.2.3) (0.9.1)
Building wheels for collected packages: fpie
  Building wheel for fpie (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [108 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/fpie
      copying fpie/numba_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/gui.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/np_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/cli.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/taichi_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/process.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/args.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/io.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/__init__.py -> build/lib.linux-x86_64-3.10/fpie
      running build_ext
      -- The C compiler identification is GNU 9.4.0
      -- The CXX compiler identification is GNU 9.4.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found Git: /usr/bin/git (found version "2.38.0")
      -- downloading/updating pybind11
      -- pybind11 directory not found, cloning...
      Cloning into '/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/pybind11'...
      --
      Switched to a new branch 'stable'
      -- branch 'stable' set up to track 'origin/stable'.

      -- pybind11 v2.10.0
      -- Found PythonInterp: /home/zerocool/anaconda3/envs/sd-inf/bin/python (found suitable version "3.10.6", minimum required is "3.6")
      -- Found PythonLibs: /home/zerocool/anaconda3/envs/sd-inf/lib/libpython3.10.so
      -- Performing Test HAS_FLTO
      -- Performing Test HAS_FLTO - Success
      -- Found OpenMP_C: -fopenmp (found version "4.5")
      -- Found OpenMP_CXX: -fopenmp (found version "4.5")
      -- Found OpenMP: TRUE (found version "4.5")
      -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
      -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1")
      -- Found MPI: TRUE (found version "3.1")
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - found
      -- Found Threads: TRUE
      -- Found CUDA: /usr/local/cuda (found version "11.7")
      -- The CUDA compiler identification is unknown
      CMake Error at /home/zerocool/anaconda3/envs/sd-inf/share/cmake-3.24/Modules/CMakeDetermineCUDACompiler.cmake:602 (message):
        Failed to detect a default CUDA architecture.



        Compiler output:

      Call Stack (most recent call first):
        fpie/core/cuda/CMakeLists.txt:2 (enable_language)


      -- Configuring incomplete, errors occurred!
      See also "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeOutput.log".
      See also "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeError.log".
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/setup.py", line 61, in <module>
          setup(
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/setup.py", line 50, in build_extension
          subprocess.check_call(
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/lib.linux-x86_64-3.10/fpie/', '-DPYTHON_EXECUTABLE=/home/zerocool/anaconda3/envs/sd-inf/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fpie
  Running setup.py clean for fpie
Failed to build fpie
Installing collected packages: fpie
  Running setup.py install for fpie ... error
  error: subprocess-exited-with-error

  × Running setup.py install for fpie did not run successfully.
  │ exit code: 1
  ╰─> [104 lines of output]
      running install
      /home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/fpie
      copying fpie/numba_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/gui.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/np_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/cli.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/taichi_solver.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/process.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/args.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/io.py -> build/lib.linux-x86_64-3.10/fpie
      copying fpie/__init__.py -> build/lib.linux-x86_64-3.10/fpie
      running build_ext
      -- The C compiler identification is GNU 9.4.0
      -- The CXX compiler identification is GNU 9.4.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- pybind11 v2.10.0
      -- Found PythonInterp: /home/zerocool/anaconda3/envs/sd-inf/bin/python (found suitable version "3.10.6", minimum required is "3.6")
      -- Found PythonLibs: /home/zerocool/anaconda3/envs/sd-inf/lib/libpython3.10.so
      -- Performing Test HAS_FLTO
      -- Performing Test HAS_FLTO - Success
      -- Found OpenMP_C: -fopenmp (found version "4.5")
      -- Found OpenMP_CXX: -fopenmp (found version "4.5")
      -- Found OpenMP: TRUE (found version "4.5")
      -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
      -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1")
      -- Found MPI: TRUE (found version "3.1")
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - found
      -- Found Threads: TRUE
      -- Found CUDA: /usr/local/cuda (found version "11.7")
      -- The CUDA compiler identification is unknown
      CMake Error at /home/zerocool/anaconda3/envs/sd-inf/share/cmake-3.24/Modules/CMakeDetermineCUDACompiler.cmake:602 (message):
        Failed to detect a default CUDA architecture.



        Compiler output:

      Call Stack (most recent call first):
        fpie/core/cuda/CMakeLists.txt:2 (enable_language)


      -- Configuring incomplete, errors occurred!
      See also "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeOutput.log".
      See also "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/temp.linux-x86_64-3.10/CMakeFiles/CMakeError.log".
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/setup.py", line 61, in <module>
          setup(
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/install.py", line 568, in run
          self.run_command('build')
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/setup.py", line 50, in build_extension
          subprocess.check_call(
        File "/home/zerocool/anaconda3/envs/sd-inf/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-279hcf78/fpie_7f3ee7c52c254fa89c51937c7a6e6803/build/lib.linux-x86_64-3.10/fpie/', '-DPYTHON_EXECUTABLE=/home/zerocool/anaconda3/envs/sd-inf/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> fpie

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
(sd-inf) zerocool@DESKTOP-IFR8E96:~/github/stablediffusion-infinity$

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Trinkle23897commented, Nov 8, 2022

Try pip install git+https://github.com/Trinkle23897/Fast-Poisson-Image-Editing.git

1reaction
Trinkle23897commented, Oct 15, 2022

@lkwq007 can you upgrade the dependency to fpie==0.2.4?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing package #13 - TomKellyGenetics/leiden - GitHub
I'm trying to install the leiden package on a Mac macOS Catalina. ... GenomeInfoDb_1.26.2 [10] stats4_4.0.3 RSQLite_2.2.3 httr_1.4.2 [13] ...
Read more >
DOST* SCHELL - Pennsylvania Public Utility Commission
2.3.3 Spillover Methodology. Participant spillover refers to the participants' installation of measures in addition to those incented by.
Read more >
A Three Tier Forensic Model for Automatic Identification of ...
Figure 2.3: A non‐linear classification problem. ... Molestation – in this stage a meeting is setup with the intention of sexual.
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