Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rounakskm opened this issue Oct 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rounakskm
Copy link

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'

@itspranavk itspranavk self-assigned this Nov 29, 2023
@itspranavk itspranavk added the bug Something isn't working label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants