Message343246
Hello,
I am trying to open a pickled file and load it in my python file.
This python file will be called from a c++ program. Please find the C++ program attached.
Py_Initialize and Py_Finalize are being done in a separate file called pyhelper.hpp
Python code :
def test():
print("In function test of pyemb.py file \n")
import pickle
with open('filepath', 'rb') as f_in:
C = pickle.load(f_in)
I am getting the following error and cant find any way to fix it:
Exception ignored in: <module 'threading' from 'C:\\Anaconda3\\envs\\Deep_Learning\\lib\\threading.py'>
Traceback (most recent call last):
File "C:\Anaconda3\envs\Deep_Learning\lib\threading.py", line 1289, in _shutdown
assert tlock.locked()
SystemError: <built-in method locked of _thread.lock object at 0x000002328D1EAAA8> returned a result with an error set |
|
Date |
User |
Action |
Args |
2019-05-22 21:45:30 | mohantys | set | recipients:
+ mohantys |
2019-05-22 21:45:30 | mohantys | set | messageid: <1558561530.97.0.560332207187.issue37016@roundup.psfhosted.org> |
2019-05-22 21:45:30 | mohantys | link | issue37016 messages |
2019-05-22 21:45:30 | mohantys | create | |
|