krishnanlab / PecanPy

A fast, parallelized, memory efficient, and cache-optimized Python implementation of node2vec
BSD 3-Clause "New" or "Revised" License
155 stars 22 forks source link

pip install not working #79

Closed wcollins-ebsco closed 2 years ago

wcollins-ebsco commented 2 years ago

pip install pecanpy ERROR: Could not find a version that satisfies the requirement pecanpy (from versions: none) ERROR: No matching distribution found for pecanpy

I've attempted installing on Linux and Windows.

RemyLau commented 2 years ago

Thanks for reporting the issue @wcollins-ebsco! This might be due to conflicted dependencies with other libraries you have installed. If you don't mind, could you try to install PecanPy in a clean environment? You could create virtual environments using, for example, conda or Virtualenv.

RemyLau commented 2 years ago

Hi @wcollins-ebsco, just checking to see if you have figured out a solution for this? I know dealing with dependencies from different libraries could be very frustrating. I'm very happy to help you sort this out by setting up the environment if you are still encountering the issue with dependency versions, as you posted above.

riyaj8888 commented 2 years ago

i tried in clean environment but unable to import

ImportError: cannot import name 'node2vec' from 'pecanpy'

RemyLau commented 2 years ago

Hi @riyaj8888, thanks for the comment. As of v2.0.2, node2vec is renamed to pecanpy. Try to do import pecanpy from pecanpy instead and let me know if this resolves the issue.

RemyLau commented 2 years ago

I will close this issue for now as there are not many updates. Feel free to reopen if you are still encountering this problem with more details, and I will try my best to help you troubleshoot.