Closed martinlundin closed 4 years ago
Hello,
I am having trouble getting started with the package.
On my raspberry pi I run: sudo apt-get install unzip patch xsltproc gcc libreadline-dev python-dev python-setuptools
sudo apt-get install unzip patch xsltproc gcc libreadline-dev python-dev python-setuptools
after all is installed I install python-mercuryapi with pip install python-mercuryapi
pip install python-mercuryapi
When I try it out I get an error immediately:
>>> import mercury Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/local/lib/python2.7/dist-packages/mercury.so: undefined symbol: PyUnicode_AsUTF8
Any ideas of what the problems is?
Fixed this by switching python version! Running fine on 3.7.3
Hello,
I am having trouble getting started with the package.
On my raspberry pi I run:
sudo apt-get install unzip patch xsltproc gcc libreadline-dev python-dev python-setuptools
after all is installed I install python-mercuryapi with
pip install python-mercuryapi
When I try it out I get an error immediately:
>>> import mercury Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/local/lib/python2.7/dist-packages/mercury.so: undefined symbol: PyUnicode_AsUTF8
Any ideas of what the problems is?