Closed kcjavier21 closed 1 year ago
I guess the cython was not installed in the same place as your current python?
Can you try which
command for python and cython?
Oh yeah, it's on a different folder. How can I install it on the same folder as python?
I just insert pip install cython
for installing it. Can I just copy cython and paste it on the folder where python is located?
I think you should be able to install pyabpoa after "pip install cython".
I still can't :(
OK, do you have python under your '.local/bin' folder? If so, you should use that python for installation.
Copied python in ./local/bin which is the same as cython. Uninstalled and reinstalled cython. Same result :(
Should I also move pip in /.local/bin?
What's the output of python -c "import Cython"
on your machine?
That's weird. It says no module named 'Cython'
pip
OK, this is the reason.
You need to install cython with this specific python.
Maybe try python -m pip install cython
Okay. But should I uninstall the cython first and then reinstall using that command?
It doesn't matter.
Oh, it worked! But I got new error.
How about python -m pip install .
?
It gives the same error when I run 'pip install pyabpoa'
I guess you downloaded the zipped repo from abPOA github homepage directly. Try using the release link: wget https://github.com/yangao07/abPOA/releases/download/v1.4.1/abPOA-v1.4.1.tar.gz tar -zxvf abPOA-v1.4.1.tar.gz && cd abPOA-v1.4.1
OMG! It worked! Thank you so muuuch!
I'm trying to install the package by using the command
make install_py
But then I'm getting error about cython, which is already installed.
How can I fix this? Thank you!