yazdanimehdi / DeepDrugDomain

DeepDrugDomain: A versatile Python toolkit for streamlined preprocessing and accurate prediction of drug-target interactions and binding affinities, leveraging deep learning for advancing computational drug discovery.
MIT License
20 stars 5 forks source link

install erro #1

Closed kdpan closed 9 months ago

kdpan commented 10 months ago

When I install,it seems like version.py is missing

Resolved https://gitee.com/kdpan/DeepDrugDomain.git to commit c47bedf717af5032a6d85d26bc891535a16f5f88 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-req-build-issj9v35/setup.py", line 17, in with open(os.path.join(package_dir[''], 'version.py'), 'r', encoding='utf-8') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 906, in open FileNotFoundError: [Errno 2] No such file or directory: 'deepdrugdomain/version.py' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

yazdanimehdi commented 10 months ago

Hello, I have fixed the issue. It was file naming issue. please update your fork and try again.

yazdanimehdi commented 9 months ago

I'm closing this issue. Please feel free to open it if there is any more problems with installing the package.