Open hayk-skydio opened 2 years ago
Yeah related comments on the wheels PR here, this is due to pip install -e .
using a different python environment but not cleaning the symenginepy build
For those that stumble on this issue and want to work around it: Deleting the build
directory resolved this issue for me.
You should also be able to just delete the directory build/temp.linux-x86_64-cpython-38/symenginepy-prefix/src/symenginepy-build/build/lib.linux-x86_64-cpython-38
within the build directory (replacing linux, x86_64, and/or 38 as necessary) to do less of a rebuild
Describe the bug On a fresh Python environment I'm able to build SymForce with
pip install -e .
, but calling it again fails.I did naively try
pip install Cython
which installedCython-0.29.30
, but didn't fix the issue.To Reproduce Steps to reproduce the behavior, e.g.:
conda create --name symforce-test "python>=3.8"
conda activate symforce-test
pip install -e .
pip install -e .
againEnvironment (please complete the following information):
main