Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'ojph_compress' #1

Description

@rounakskm

The package is not built properly. Running encode from the notebook offered results in the following error.
I cloned the repo and installed it using the instructions provided

Traceback (most recent call last):
File "/home/ec2-user/dcm_to_htj2k.py", line 33, in
ojph.encode(
File "/home/ec2-user/openjphpy/src/openjphpy/core.py", line 68, in encode
encode_time = ojph_compress(temp.name, filename, **kwargs)
File "/home/ec2-user/openjphpy/src/openjphpy/backend.py", line 144, in ojph_compress
output = subprocess.run(
File "/usr/lib64/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ojph_compress'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions