Python API with Windows 10 Import Issue

I am installing the python API for windows to use it with visual studio. I installed metaweatr as directed in section 2.3 of your PyWindows page:
https://mbientlab.com/tutorials/PyWindows.html

I have skipped section 2.3.3 for now. When I run the import script:
from mbientlab.metawear import MetaWear, libmetawear

I am getting the following error:

Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.

from mbientlab.metawear import MetaWear, libmetawear

Traceback (most recent call last):
File "<pyshell#0>", line 1, in
from mbientlab.metawear import MetaWear, libmetawear
File "C:\Python36\lib\site-packages\mbientlab\metawear__init__.py", line 14, in
libmetawear= CDLL(_so_path)
File "C:\Python36\lib\ctypes__init__.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

>

Any help you can give me is greatly appreciated.
A

Comments

  • You need to install more stuff. Follow the ENTIRE tutorial.

  • Sorry I should have been more explicit. Its my second time trying it. I had previously attempted it and downloaded everything including the API Repository and it was the same the first time.

  • Your error says you didn't install everything.

Sign In or Register to comment.