|
|
@ -16,7 +16,11 @@ if(os.path.exists(tmp)):
|
|
|
|
if(name=="jieba.cache"):continue
|
|
|
|
if(name=="jieba.cache"):continue
|
|
|
|
path="%s/%s"%(tmp,name)
|
|
|
|
path="%s/%s"%(tmp,name)
|
|
|
|
delete=os.remove if os.path.isfile(path) else shutil.rmtree
|
|
|
|
delete=os.remove if os.path.isfile(path) else shutil.rmtree
|
|
|
|
|
|
|
|
try:
|
|
|
|
delete(path)
|
|
|
|
delete(path)
|
|
|
|
|
|
|
|
except Exception as e:
|
|
|
|
|
|
|
|
print(str(e))
|
|
|
|
|
|
|
|
pass
|
|
|
|
import site
|
|
|
|
import site
|
|
|
|
site_packages_roots = []
|
|
|
|
site_packages_roots = []
|
|
|
|
for path in site.getsitepackages():
|
|
|
|
for path in site.getsitepackages():
|
|
|
|