Closed lackdaz closed 1 year ago
Alright I made it work.
I'm going to say two things. First make sure that you reinstall Xcode if you are getting any linker errors - the move to Xcode 12 messed up some of my C headers and you do not want to wade into that mess. Reinstalling via appstore is just faster.
Next, when runningsubmitA1.py
make sure to run it in the same directory as A1 - as in not A1/A1 as MacOSX tends to unzip files into nested folders. utilFunctions
did not work while nested despite being in a venv - which is strange considering it is a module. I'll look at it later but I definitely want to get some fourier coding done over python packaging issues
OS: MacoSX 12.5.1
I ran
python compileModule.py build_ext --inplace
in the directory stated in the instructions and just gotI installed the dependencies in a
venv
and have clang installed. I'm pretty inexperienced in c extensions.What should I be looking out for? I've tried importing utilFunctions but it doesn't exist.
I've previously ran the installation on ubuntu and it ran fine. Anyone using MacOSX and managed to get the c extensions installed in a venv?
I'll grok
distuitls
in the meantime to see whatcompileModule.py
does and try to use the modern equivalent