Closed jkteske closed 5 years ago
P.S. Here is the full output from trying to install on my laptop. wobble_error.txt
UPDATE:
The problem was tied to the compiler. The solution was:
- Make a clean environment and install wobble (instructions below)
$ conda create -n wobble matplotlib tensorflow tqdm $ conda activate wobble $ cd wobble $ rm -rf build $ python setup.py develop
Although this never hurts, I don’t think this was the root problem, so probably not needed.
- Check the compiler
This was the real problem. I had to use the MacOS system compiler:
export CC=/usr/bin/gcc or setenv CC /usr/bin/gcc
Ok excellent, I'll close this issue - glad you figured it out!
Installation of wobble proceeded without major errors, although there were some warnings, including this one:
g++ -bundle -undefined dynamic_lookup -L/Users/jteske/anaconda/envs/python3/lib -arch x86_64 -L/Users/jteske/anaconda/envs/python3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/wobble/interp/interp_op.o build/temp.macosx-10.7-x86_64-3.6/wobble/interp/interp_rev_op.o -o build/lib.macosx-10.7-x86_64-3.6/wobble/interp/interp_op.cpython-36m-darwin.so -L/Users/jteske/anaconda/envs/python3/lib/python3.6/site-packages/tensorflow -ltensorflow_framework ld: warning: ld: warning: object file (build/temp.macosx-10.7-x86_64-3.6/wobble/interp/interp_rev_op.o) was built for newer OSX version (10.9) than being linked (10.7)object file (build/temp.macosx-10.7-x86_64-3.6/wobble/interp/interp_op.o) was built for newer OSX version (10.9) than being linked (10.7) copying build/lib.macosx-10.7-x86_64-3.6/wobble/interp/interp_op.cpython-36m-darwin.so -> wobble/interp Creating /Users/jteske/anaconda/envs/python3/lib/python3.6/site-packages/wobble.egg-link (link to .)
I tried
rm -rf build; python setup.py develop
but get the same warning.
Okay, I figured I would see if the demo notebook worked. The following error comes up when importing wobble:
NotFoundError Traceback (most recent call last)