-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing opencv fails with "ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block" #350
Comments
This sounds like https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1890170 - from the various reports there, it looks like |
Since it works with a previous version and not this one, this may be the same thing as: where the environment variables in the launch appear to be different from one launch to the other due to an upgrade. @emdioh can you run the script below in 1.0.0.b11 and 1.0.0.b12 and check if the environment variables are different from one case to the other?
|
I can't see any diff in the environment variables.
In the mean time, debugpy 1.0.0rc2 is out and the issue went away
…On Fri, Aug 21, 2020 at 8:05 PM Fabio Zadrozny ***@***.***> wrote:
Since it works with a previous version and not this one, this may be the
same thing as:
#356 <#356>
where the environment variables in the launch appear to be different from
one launch to the other due to an upgrade.
@emdioh <https://github.com/emdioh> can you run the script below in
1.0.0.b11 and 1.0.0.b12 and check if the environment variables are
different from one case to the other?
import sys
print(sys.version)
import os
for key, val in sorted(os.environ.items()):
print(key)
for v in val.split(os.pathsep):
print(' %s' % v)
print('\nsys.path:')
for v in sys.path:
print(' %s' % (v,))
print('\n')
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWDZGDJD5W6YSAV4C2VI53SB2ZPXANCNFSM4PLK7D2A>
.
|
Sounds like we accidentally fixed it. |
Environment data
Actual behavior
Debugging scripts that import opencv2 fail to run at "import cv2" statement
Expected behavior
Import succeeds, the script can run under the debugger.
Steps to reproduce:
Notes
Version 1.0.0b11 works.
The text was updated successfully, but these errors were encountered: