1

I have installed Xbee python module in Ubunto16.04, But I need to edit and add some code in one of its basic modules. it was suggested to download the source, edit desired files, and install it from source. so I uninstalled last installed Xbee package, then I downloaded the source from https://pypi.python.org/pypi/XBee#downloads and after extracting and editing desired files. used this command:

python setup.py install

but when I came back to run my code I got the message:

importError:No module named 'xbee'

how should I fix this?

Parham Alvani
  • 2,305
  • 2
  • 14
  • 25

1 Answers1

1

You need to use xbee library as project module instead of install, you need to download XBee-2.3.1.tar.gz and extract it. Directory contains module xbee, copy it to your root project and you can update code in it.

Dharmesh Fumakiya
  • 2,276
  • 2
  • 11
  • 17