python - pip hangs after installing package -


i'm using python 3 on windows i'm trying install package within script.

the purpose don't want explain person i'm sending script how install packages needs, i'm hoping on fly within script.

here's code:

import pip  pip.main(["install", 'pyetrade'])  import pyetrade 

everything installs correctly pip.main, doesn't move on "import pyetrade" or rest of code. hangs there.

any ideas how around this? seems happen when use command propt -- seems hang after installation.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -