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

scripts/install bootstraps dependencies, but they can't be found afterwards #10

Open
NiklasRosenstein opened this issue Nov 29, 2017 · 0 comments
Assignees
Labels

Comments

@NiklasRosenstein
Copy link
Contributor

I think this is because it now installs them into the .nodepy/pip directory of the nodepy-pm package inside the lib/nodepy-modules directory, and no longer into the system- or user-wide Python library directory (as with pip install or pip install --user).

This would be no problem if the nodepy-pm self-installation would be triggered when nodepy-pm was already installed into that directory (it would automatically be able to import it's related Python dependencies), but obviously that's not the case at the time.

To fix it, I think we only need to add to sys.path the install directory of the bootstrapped Pip dependencies.

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

No branches or pull requests

1 participant