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

How to import lltm_cuda if I don't run python setup.py with install option? #24

Closed
ypxie opened this issue Nov 28, 2018 · 4 comments
Closed

Comments

@ypxie
Copy link

ypxie commented Nov 28, 2018

No description provided.

@goldsborough
Copy link
Contributor

How else do you want to run python setup.py?

@ypxie
Copy link
Author

ypxie commented Nov 28, 2018

@goldsborough thanks for your reply.
For exampple: python setup.py build_ext --inplace
If I run python setup.py install, the package will be installed to the whole python environment, but I want it to be a self contained package that can be import by others.

@goldsborough
Copy link
Contributor

I think this isn't really a question specific to this tutorial or PyTorch, this is a question about how to use setuptools. I just googled setuptools build_ext --inplace and found this Stackoverflow link: https://stackoverflow.com/questions/26574533/python-setup-py-build-ext-inplace. Maybe that helps. Otherwise, please consult the setuptools documentation.

@ypxie
Copy link
Author

ypxie commented Nov 28, 2018

Thanks!

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

2 participants