You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: pymode error, code signature in (~/env/startup-env/lib/python2.7/lib-dynload/_struct.so) not valid for use in process: mapped file ha s no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
#1093
Open
billychou opened this issue
May 8, 2019
· 1 comment
Hi guys,
I get some error messages when open python file. how to fix it?
The message is below:
Error detected while processing /Users/qppzsc/.vim/bundle/python-mode/autoload/pymode/virtualenv.vim:
line 3:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/qppzsc/.vim/bundle/python-mode/pymode/virtualenv.py", line 7, in <module>
from .environment import env
File "/Users/qppzsc/.vim/bundle/python-mode/pymode/environment.py", line 5, in <module>
import json
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 108, in <module>
from .decoder import JSONDecoder
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 5, in <module>
import struct
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/struct.py", line 1, in <module>
from _struct import *
ImportError: dlopen(/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_struct.so, 0x0002): code signature in (/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_struct.so) not valid for use in process: mapped file ha
s no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Error detected while processing function pymode#virtualenv#init:
line 5:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'enable_virtualenv' is not defined
Error detected while processing function pymode#breakpoint#init:
line 29:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/Users/qppzsc/.vim/bundle/python-mode/pymode/libs/six.py", line 25, in <module>
import functools
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/functools.py", line 10, in <module>
from _functools import partial, reduce
ImportError: dlopen(/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_functools.so, 0x0002): code signature in (/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_functools.so) not valid for use in process: mapped f
ile has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Error detected while processing /Users/qppzsc/.vim/bundle/python-mode/ftplugin/python/pymode.vim:
line 25:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/qppzsc/.vim/bundle/python-mode/pymode/utils.py", line 4, in <module>
import threading
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 13, in <module>
from collections import deque as _deque
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 20, in <module>
from _collections import deque, defaultdict
ImportError: dlopen(/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_collections.so, 0x0002): code signature in (/Users/qppzsc/Work/env/startup-env/lib/python2.7/lib-dynload/_collections.so) not valid for use in process: mapp
ed file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
Hi guys,
I get some error messages when open python file. how to fix it?
The message is below:
The text was updated successfully, but these errors were encountered: