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

Issue Installing #4

Open
kara-liu opened this issue Aug 1, 2023 · 3 comments
Open

Issue Installing #4

kara-liu opened this issue Aug 1, 2023 · 3 comments

Comments

@kara-liu
Copy link

kara-liu commented Aug 1, 2023

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.

@abearab
Copy link

abearab commented Sep 7, 2023

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.

@boaty
Copy link

boaty commented Sep 29, 2024

@l4b4r4b4b4
Copy link

OR a containerised approach using this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants