Closed ii64 closed 2 years ago
So I need downgrade my Apache thrift from 10.0 to 9.x ?
pip uninstall thrift pip install thrift==0.9.3
downgrade thrift from 10 to 9.3 Thanks
how to install thrift 0.9.3 in raspberry pi??
I just copying all lib on python that already had thrift.
Downgrading from Thrift 10.0 to 9.3 does not resolve this issue for me. I have verified that 9.3 is running with thrift -version
.
@brendhadhea You can use wget http://archive.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
to download the archived version and then follow the general instructions found here and here. I have used this installation method in Raspbian Jessie. Just a heads up, this takes quite a bit of time to build because of the RPi's limited hardware.
I got it sorted. Pip was installing Thrift 0.10.0 behind the scenes!
# following the normal install procedure...
git clone https://github.com/carpedm20/LINE.git
cd LINE
python config.py
python setup.py install
pip uninstall thrift # version 0.10.0 (or higher) will have been forcefully installed by the last command and will be the default
pip install thrift==0.9.3
Alternatively, you can use easy_install
instead of pip
.
i did "pip uninstall thrift" but while uninstalling i got stuck in the console so i closed mingw32 and opened it then did "pip install thrift==0.9.3" that installed it but now I get this error
user4@WIN-RA9GLN48TOF ~
$ python test.py
Traceback (most recent call last):
File "test.py", line 2, in
i think thrift didnt unistall and I did put the correct id and password. can someone help me? every time i do "pip uninstall thrift" it looks like its uninstalling but i just get stuck in the console after like it didnt finish uninstalling.
You should try running this in Vagrant or another virtual machine so you can install the dependencies on a clean system and bit have to worry about conflicts with anything on your system.
@anythingg delete manually ??!?
ok. i just created a new vm and started over. the newest version of thrift (0.10.0) was not installed this time so i installed 0.9.3 successfully. the error i was getting meant that i was putting in the wrong email or password. i thought it meant i had to enter my id and password. i entered my email and password into python console (c:\python27\python.exe) and it appears to be working. thanks.
who have solution ?
@anoaghost You have an error in your Python just as it says. Please read the error message and check the indentation in your code.
@anythingg Glad to see you got it working!
help
Patch the api.py :D @RichoDS
Or use a newer fork.
It was fun guys, Thanks. Issue fixed.
It works propertly until api.py want to connect to the server
Anyone had solution?