edl icon indicating copy to clipboard operation
edl copied to clipboard

The 'pylzma' distribution was not found and is required by edlclient

Open zenminimalist opened this issue 3 years ago • 2 comments

I get the following error:

Traceback (most recent call last): File "/usr/local/bin/edl", line 4, in <module> __import__('pkg_resources').run_script('edlclient==3.60', 'edl') File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3241, in <module> @_call_aside File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3225, in _call_aside f(*args, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pylzma' distribution was not found and is required by edlclient

I tried pip install pylzma but get this:

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621 Requirement already satisfied: pylzma in /usr/local/lib/python3.9/site-packages (0.5.0)

Any ideas how to fix this? I tried reinstalling pylzma, uninstalling it and running a edl command. Same problem...

zenminimalist avatar Mar 04 '22 16:03 zenminimalist

That might happen if your python install is too new (like 3.10). I'm not sure where I use pylzma, I will have a look if it is replaceable.

bkerler avatar Mar 23 '22 11:03 bkerler

delete it in file requirements.txt.

dengshuangjang avatar Aug 12 '22 04:08 dengshuangjang

Same issue but pip install pylzma worked for me.

RayPS avatar Apr 26 '23 09:04 RayPS

Hey brother i am facing same issue can you help me how to solve this

Moon379 avatar Sep 28 '23 15:09 Moon379

Hey brother i am facing same issue can you help me how to solve this

Any news about this?

I'm getting this error even after installing pylzma

chematelegram avatar Nov 24 '23 12:11 chematelegram

Here stiil same issue on debian bookworm. It is nog in de requirments.txt but still the error

kroon040 avatar Jan 01 '24 19:01 kroon040