flrs / blend_modes

Python package that implements image blend modes
MIT License
140 stars 29 forks source link

Can't install blend_modes #21

Closed devBram97 closed 1 year ago

devBram97 commented 3 years ago

Every time I try to install I get the following error:

ERROR: Command errored out with exit status 1: command: 'c:\users\bram\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Bram\AppData\Local\Temp\pip-install-hpxlb90y\blend-modes_74cbb38837e54b33ad88842e7ef2ea0c\setup.py'"'"'; file='"'"'C:\Users\Bram\AppData\Local\Temp\pip-install-hpxlb90y\blend-modes_74cbb38837e54b33ad88842e7ef2ea0c\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Bram\AppData\Local\Temp\pip-pip-egg-info-v3d_bvhx' cwd: C:\Users\Bram\AppData\Local\Temp\pip-install-hpxlb90y\blend-modes_74cbb38837e54b33ad88842e7ef2ea0c\ Complete output (11 lines): Traceback (most recent call last): File "", line 1, in File "c:\users\bram\appdata\local\programs\python\python38\lib\site-packages\setuptools__init__.py", line 12, in from setuptools.extension import Extension File "c:\users\bram\appdata\local\programs\python\python38\lib\site-packages\setuptools\extension.py", line 7, in from setuptools.dist import _get_unpatched File "c:\users\bram\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 16, in import pkg_resources File "c:\users\bram\appdata\local\programs\python\python38\lib\site-packages\pkg_resources.py", line 1479, in register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider) AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Anyone who can help?

flrs commented 3 years ago

Hi @devBram97,

I suspect that this is not necessarily an issue with blend_modes. A quick google search revealed this Stackoverflow post. Are you trying to install blend_modes via pip?

flrs commented 1 year ago

Since there has not been any response, I am closing this issue.