TxGNN icon indicating copy to clipboard operation
TxGNN copied to clipboard

Issue Installing

Open kara-liu opened this issue 1 year ago • 3 comments

I'm trying to install given the instructions. I make it as far as

conda create --name txgnn_env python=3.8
conda activate txgnn_env
# Install PyTorch via https://pytorch.org/ with your CUDA versions
conda install -c dglteam dgl-cuda{$CUDA_VERSION}==0.5.2 # checkout https://www.dgl.ai/pages/start.html for more info, as long as it is DGL 0.5.2

but pip install TxGNNgives me the pasted error. Screenshot 2023-07-31 at 6 51 17 PM

Help would be greatly appreciated:)

UPDATE: I ended up doing a manual install, but just FYI.

kara-liu avatar Aug 01 '23 01:08 kara-liu

I also have an issue with pip install TxGNN, I installed github version for now as pip install git+https://github.com/mims-harvard/TxGNN (I assume it's not stable at pypi)

Collecting TxGNN
  Downloading TxGNN-0.0.3.tar.gz (39 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/94/b_7221fj6j380ss7gybjl7yr0000gq/T/pip-install-5gftc5my/txgnn_69ad167a3b0b40b28f7718e2d09e1235/setup.py", line 22, in <module>
          with open(path.join(this_directory, 'requirements.txt'),
      FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/94/b_7221fj6j380ss7gybjl7yr0000gq/T/pip-install-5gftc5my/txgnn_69ad167a3b0b40b28f7718e2d09e1235/requirements.txt'
      [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.

abearab avatar Sep 07 '23 21:09 abearab

try this method https://github.com/mims-harvard/TxGNN/issues/1#issuecomment-1510584616 .

boaty avatar Sep 29 '24 03:09 boaty