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
Traceback (most recent call last):
File "atul_api.py", line 14, in
database='rashmi') as conn:
File "/usr/lib64/python2.6/site-packages/pyhs2/init.py", line 6, in connect
from .connections import Connection
File "/usr/lib64/python2.6/site-packages/pyhs2/connections.py", line 6, in
import sasl
File "/usr/lib64/python2.6/site-packages/sasl/init.py", line 1, in
from sasl.saslwrapper import *
File "/usr/lib64/python2.6/site-packages/sasl/saslwrapper.py", line 6, in
import _saslwrapper
ImportError: No module named _saslwrapper
The text was updated successfully, but these errors were encountered:
The SASL wrapper for Python needs to be installed. On CentOS/RHEL, you can do the following:
sudo yum install gcc-c++ python-devel.x86_64 cyrus-sasl-devel.x86_64
Additionally, you can also do it from source:
curl -O -L ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz
tar xzf cyrus-sasl-2.1.2.26.tar.gz
cd cyrus-sasl-2.1.26.tar.gz
./configure && make install
atrombley@RPTTEST102 ~/Desktop/rfc (master)
$ tar xzf C:\Users\atrombley\Desktop\rfc\cyrus-sasl-2.1.2.26.tar.gz
tar (child): Cannot execute remote shell: No such file or directory
tar (child): C:UsersatrombleyDesktoprfccyrus-sasl-2.1.2.26.tar.gz: Cannot open:
I/O error
tar (child): Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
Traceback (most recent call last):
File "atul_api.py", line 14, in
database='rashmi') as conn:
File "/usr/lib64/python2.6/site-packages/pyhs2/init.py", line 6, in connect
from .connections import Connection
File "/usr/lib64/python2.6/site-packages/pyhs2/connections.py", line 6, in
import sasl
File "/usr/lib64/python2.6/site-packages/sasl/init.py", line 1, in
from sasl.saslwrapper import *
File "/usr/lib64/python2.6/site-packages/sasl/saslwrapper.py", line 6, in
import _saslwrapper
ImportError: No module named _saslwrapper
The text was updated successfully, but these errors were encountered: