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

if we install cupy with pip install cupy, instead of pip install cupy-cudaXXX, the package name is cupy #2611

Merged
merged 1 commit into from
Jul 11, 2021

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Jul 9, 2021

as reporeted jsk-ros-pkg/jsk_visualization#809, Sometimes we need to run pip install cupy and compile cupy with installed cuda version. In this case we need to check project_name is cupy or cupy-cuda.

>>> [p for p in list(itertools.chain(*[pkg_resources.find_distributions(_) for _ in sys.path])) if "cupy" in p.project_name ]
[cupy 6.7.0 (/usr/local/lib/python2.7/dist-packages)]

@k-okada k-okada merged commit 663532b into jsk-ros-pkg:master Jul 11, 2021
@k-okada k-okada deleted the cupy_check branch July 11, 2021 23:26
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

Successfully merging this pull request may close these issues.

2 participants