openfold icon indicating copy to clipboard operation
openfold copied to clipboard

openfold.utils.kernel.csrc' as an importable package[^1], when pip install 'openfold @ git+https://github.com/aqlaboratory/openfold.git@4b41059694619831a7db195b7e0988fc4ff3a307'

Open Alain-chavanieu opened this issue 1 year ago • 2 comments

Hello

I try to install diffdock on a linux station(redhat 7.3) (from https://github.com/gcorso/DiffDock) When i did the last step : pip install 'openfold @ git+https://github.com/aqlaboratory/openfold.git@4b41059694619831a7db195b7e0988fc4ff3a307'

I had a fatal error (1 openfold package missing)

Can you help me ?

Thank you

alain

ps : on another machine in redhat 8.4 all was fine

/mnt/DATA2TO/home/PROG/anaconda3/envs/diffdock/lib/python3.8/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'openfold.utils.kernel.csrc' is absent from the packages configuration. !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'openfold.utils.kernel.csrc' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.
  
          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'openfold.utils.kernel.csrc' is explicitly added
          to the `packages` configuration field.
  
          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

============ On my machine i have as pytorch in this env : pytorch 1.13.1 py3.8_cuda11.7_cudnn8.5.0_0 pytorch pytorch-cluster 1.6.1 py38_torch_1.13.0_cu117 pyg pytorch-cuda 11.7 h778d358_5 pytorch pytorch-lightning 2.0.3 pypi_0 pypi pytorch-mutex 1.0 cuda pytorch pytorch-scatter 2.1.1 py38_torch_1.13.0_cu117 pyg pytorch-sparse 0.6.17 py38_torch_1.13.0_cu117 pyg pytorch-spline-conv 1.2.2 py38_torch_1.13.0_cu117 pyg

Alain-chavanieu avatar Jun 08 '23 15:06 Alain-chavanieu

I have the same issue in this step of running the OpenFold installation for the DiffDock. I ran both installations in new environments in Windows and Ubuntu and both gave the same error. If anyone can help fix this, that would be greatly appreciated. Thank you!

dhanfort avatar Jun 09 '23 14:06 dhanfort

Was this resolved? I am getting the same error. Thanks

evancollins1 avatar Oct 08 '23 02:10 evancollins1