thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.87k stars 192 forks source link

Unable to install scipy #126

Open TomW28 opened 3 years ago

TomW28 commented 3 years ago

When trying to install scipy using pip, I’m getting the following error:

ModuleNotFoundError: No module named 'setuptools'

Running pip list shows that setuptools is available and installed, any ideas?

It would be great to have scipy support in the app, it’s the only thing about it that doesn’t fit into my workflow (research assistant).

bummoblizard commented 3 years ago

The error message is misleading but this behavior is expected, as scipy contains C components that need to be compiled when installing. I’m working on adding built-in support for it though, like matplotlib and numpy.

TomW28 commented 3 years ago

Thanks for the explanation, that makes sense.

It'd be great if you manage to add some modules that have C dependencies, but other than that I love the app and appreciate your work. Thanks!

luni-moon commented 2 years ago

The error message is misleading but this behavior is expected, as scipy contains C components that need to be compiled when installing. I’m working on adding built-in support for it though, like matplotlib and numpy.

I think it is possible, since I did get gcc compiled through the ish app, using alpine Linux and adding a few packages. You may want to check out how it works, and take some ideas from there/notes from there.