Closed pfe1223 closed 3 years ago
This could be any number of problems, generally external to pybaseball - can you pip install other packages?
What command are you using to install? It's not shown in your screenshot.
Try running python -c "from Cython.Distutils import build_ext"
. If that throws an error, it means there's something wrong with your cython install, probably just run a pip install --upgrade cython
. If it doesn't throw an error, my guess would be that sudo isn't picking up the right cython, see this stackoverflow answer
I cloned the repo, changed to the appropriate directory, and typed pip3 install -e .
. I installed cython
but got an error about pyarrow
. Somebody on StackOverflow suggested installing cmake
, which I did. I am still getting an error about pyarrow
.
I got it working, though more through stumbling around with pip install
than anything. Thanks for your help.
Was it something system-based? Would be nice to know if there was something off with our requirements (though I thought the ci would have caught that)
Things that I did (not sure which of these solved the issue):
cython
cmake
pip
pyarrow
pip3 install pybaseball
workedCool, thanks. I think this should be fine looking at setup.py
. @schorrm, this can probably be closed.
Trying to install the package, but am getting the error below.