This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pc_ble_driver_py cannot import name config

Hi,

We are trying to learn how to use the python bindings with the nrf51 dongle on an application for a windows PC. We got as far as installing the pc_ble_driver_py, but when we try to run the example serial_port_enum.py, python cannot import config. Any idea? Many thanks,

Fred

image description

Import pc_ble_driver_py in python appears to be fine, but cannot import name config. image description

Parents
  • Ok not sure what happened in the previous install but simply uninstalling and installing via pip a couple of times fixed it!

    pip uninstall pc_ble_driver_py

    pip install pc_ble_driver_py

    I then got an error message saying "failed to locate the pc_ble_driver shared library..." so I repeated the uninstall/install process and then it worked!

    image description

Reply
  • Ok not sure what happened in the previous install but simply uninstalling and installing via pip a couple of times fixed it!

    pip uninstall pc_ble_driver_py

    pip install pc_ble_driver_py

    I then got an error message saying "failed to locate the pc_ble_driver shared library..." so I repeated the uninstall/install process and then it worked!

    image description

Children