Hi, when I run my .py scripts and import the module numpy, it appears an error: no module named numpy.
I have been looking for a solution, and i read that numpy is not in the standard library of pythonista.
I work on ios, and i look for a quickly solution for this problem, I have an exam this friday, if you could help out importing numpy, I will be grateful, thank you.
Are you sure that you are on a current iOS and a current version of Pythonista?
What do you get when you do:
import platform print(platform.platform()) import numpy
This post is deleted!last edited by
@ccc I executed your script but it dont works to me, still ImportError:No module named numpy.
i work in the version of pythonista tha is based on the 2.7.5 python version, and i dont know what do you mean with current ios, i dont know how to see my version of ios.
if you could help me again, i would be grateful again, thank you.
You can see your iOS version with
. All versions of pythonista are based on 2.7.5.
Your pythonista version can be found by visiting
Settings>General>Usage>Pythonistaon iOS 8 and earlier, or by
Settings>General>Storage and iCloud Usage> Manage Storage>Pythonistaon iOS 9. You should see something that looks like this:
I've circled where the version is indicated.
Please post your iOS version and Pythonista version.
Try commenting out the last line with a #
import platform print(platform.platform()) # import numpy
@Webmaster4o My iOS version is 6.0.1, and my pythonista version is 1.3, how do i actualize to the 1.6 version of pythonista? thank you.
Pythonista 1.6 is only supported on iOS 8 or later. Numpy was added with pythonista 1.5. Pythonista 1.5 is only available to devices running iOS 7 or later. If your device only supports iOS 6, you're out of luck. Check Settings>General>Software Update to see if your device can run iOS 7 or later.