Giter VIP home page Giter VIP logo

Comments (13)

faizan1234567 avatar faizan1234567 commented on June 7, 2024

its from HetGNN_sampler.py

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

Please help me

from openhgnn.

Theheavens avatar Theheavens commented on June 7, 2024

There is the same error in #64.
It is a version problem. DGL has a new API in the new version.
We will fix it later. If you are urgent, install the 0.7.0 version DGL. https://data.dgl.ai/wheels/repo.html

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

Thank you so much for the reply. let me check it.

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

!pip install dgl-cu113 dglgo -f https://data.dgl.ai/wheels/dgl-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
i did this, the issue still persists

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

I am using google colab

from openhgnn.

Theheavens avatar Theheavens commented on June 7, 2024

Before installing the dgl-0.7.0, make sure that the old version has been uninstalled.
I have tried to run it in V0.8 and got the same error.
In v0.7.0, I have tried to run it and there is no error.

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

I Uninstalled v0.8, when I try to install version 0.7 with this pip command, it gives me an error. I don't why?
I am using this pip command
!pip install dgl-cu113-f https://data.dgl.ai/wheels/dgl-0.7.0-cp37-cp37m-manylinux1_x86_64.whl

and It gives me the following error.
Looking in links: https://data.dgl.ai/wheels/dgl-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Skipping page https://data.dgl.ai/wheels/dgl-0.7.0-cp37-cp37m-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream.The only supported Content-Type is text/html
ERROR: Could not find a version that satisfies the requirement dgl-cpu (from versions: none)
ERROR: No matching distribution found for dgl-cpu

do you have a pip command to install v0.7.0 and uninstall v0.8?

from openhgnn.

Theheavens avatar Theheavens commented on June 7, 2024

It seems that you want to install dgl-cu113, but your URL is the CPU version.
I think it should be
pip install dgl-cu113-f https://data.dgl.ai/wheels/dgl_cu113-0.7.1-cp37-cp37m-manylinux1_x86_64.whl
I just install the CPU version, so my command line is
pip install dgl -f https://data.dgl.ai/wheels/dgl-0.7.1-cp37-cp37m-manylinux1_x86_64.whl.
Besides, he 0.7.0 or 0.7.1 is both OK. But it seems that dgl-cu113 only has 0.7.1 version.

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

!pip install dgl-cu113 -f https://data.dgl.ai/wheels/dgl_cu113-0.7.1-cp37-cp37m-manylinux1_x86_64.whl

it results in the following error. I am running it on colab

Looking in links: https://data.dgl.ai/wheels/dgl_cu113-0.7.1-cp37-cp37m-manylinux1_x86_64.whl
WARNING: Skipping page https://data.dgl.ai/wheels/dgl_cu113-0.7.1-cp37-cp37m-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream.The only supported Content-Type is text/html
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 199, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py", line 319, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 128, in resolve
requirements, max_rounds=try_to_avoid_resolution_too_deep
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _merge_into_criterion
if not criterion.candidates:
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/resolvelib/structs.py", line 139, in bool
return bool(self._sequence)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in bool
return any(self)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 129, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 30, in _iter_built
for version, func in infos:
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 272, in iter_index_candidate_infos
hashes=hashes,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/index/package_finder.py", line 879, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/index/package_finder.py", line 838, in find_all_candidates
paths = [url_to_path(c.link.url) for c in file_candidates]
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/index/package_finder.py", line 838, in
paths = [url_to_path(c.link.url) for c in file_candidates]
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/urls.py", line 33, in url_to_path
), f"You can only turn file: urls into filenames (not {url!r})"
AssertionError: You can only turn file: urls into filenames (not 'https://data.dgl.ai/wheels/dgl_cu113-0.7.1-cp37-cp37m-manylinux1_x86_64.whl')

from openhgnn.

BarclayII avatar BarclayII commented on June 7, 2024

It should be

pip install dgl-cu113 -f https://data.dgl.ai/wheels/repo.html

If you want to install specific version, you'll need to remove the -f flag.

from openhgnn.

Theheavens avatar Theheavens commented on June 7, 2024

OpenHGNN also fix the bug in 97eae6e.
It has been tested in DGLv0.8.1

from openhgnn.

faizan1234567 avatar faizan1234567 commented on June 7, 2024

Thank you, now it works.

from openhgnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.