Image-Py / imagepy

Image process framework based on plugin like imagej, it is esay to glue with scipy.ndimage, scikit-image, opencv, simpleitk, mayavi...and any libraries based on numpy
http://imagepy.org
BSD 4-Clause "Original" or "Old" License
1.3k stars 333 forks source link

you shouldn't use subprocess in order to install plugins #34

Open KOLANICH opened 5 years ago

KOLANICH commented 5 years ago

use pip as a package instead

yxdragon commented 5 years ago

@KOLANICH what is the right way to install packages and plugins?

yxdragon commented 5 years ago

@KOLANICH that is because, pip can only run in main thread, which cause a ui dead.

yxdragon commented 5 years ago

"Plugin > Update Software" need a better solution too. do you have some advice?

KOLANICH commented 5 years ago

os.fork may help. You may want to separate the main process, the process you have plugins manager GUI in and the process you use pip from. Plese note that on Windows os.fork assummes certain structure of the module the call is situated in.

KOLANICH commented 5 years ago

Any progress?