[Qgis-user] Vanishing Python files

Tyler Veinot tylerkveinot at gmail.com
Fri May 11 06:35:29 PDT 2018


Hi;
I am having an issue in Python 27 in the OSGEO4W64 folder where module
thread is now _thread so I keep getting the error no module named thread.
Using some google info I created a python script for in the Lib folder to
add an alias to _thread as thread.

from _thread import *
__all__ = ("error", "LockType", "start_new_thread", "interrupt_main",
"exit", "allocate_lock", "get_ident", "stack_size", "acquire", "release",
"locked")

But OSGeo doesn't seem to like this and keeps deleting it.
Anyway around this?
Thanks;
Tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180511/59995c22/attachment.html>


More information about the Qgis-user mailing list