how do i import lib like numpy installed on my laptop to thonny and not download it again.

570 views
Skip to first unread message

Dan

unread,
Jul 27, 2017, 1:10:41 AM7/27/17
to thonny
how do i import lib like numpy installed on my laptop to thonny and not download it
again.

i am getting this error

Traceback (most recent call last):
  File "/home/saphire/Python/ml.test.py", line 1, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

but i have installed it on my laptop.
i am using elementary os Loki” and base on Ubuntu 16.04

Aivar Annamaa

unread,
Jul 27, 2017, 1:13:16 AM7/27/17
to thonny
You need to select the existing interpreter as Thonnys backend (Tools => Options => Interpreter)

best regards,
Aivar
Reply all
Reply to author
Forward
0 new messages