Traceback (most recent call last):


 "D:/PycharmProjects/python27/coreml/test3.py", line 29, in <module>

coreml_model = coremltools.converters.sklearn.convert(my_classifier, iris.feature_names)


 "D:\PycharmProjects\python27\coreml\venv\lib\site-packages\coremltools\converters\sklearn\_converter.py", line 146, in convert

sk_obj, input_features, output_feature_names, class_labels = None)


 "D:\PycharmProjects\python27\coreml\venv\lib\site-packages\coremltools\converters\sklearn\_converter_internal.py", line 214, in _convert_sklearn_model

features = _fm.process_or_validate_features(input_features, num_dimensions)


 "D:\PycharmProjects\python27\coreml\venv\lib\site-packages\coremltools\models\_feature_management.py", line 187, in process_or_validate_features

% str(type(num_dimensions)))
TypeError: num_dimensions must be None or an integer, not '<type 'long'>'

Traceback (most recent call last):


 "c:\user\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "c:\user\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)


 "C:\user\AppData\Local\Programs\Python\Python38\Scripts\opendrop.exe\__main__.py", line 4, in <module>


 "c:\user\appdata\local\programs\python\python38\lib\site-packages\opendrop\cli.py", line 28, in <module>

from .client import AirDropBrowser, AirDropClient


 "c:\user\appdata\local\programs\python\python38\lib\site-packages\opendrop\client.py", line 30, in <module>

import libarchive


 "c:\user\appdata\local\programs\python\python38\lib\site-packages\libarchive\__init__.py", line 1, in <module>

from .entry import ArchiveEntry


 "c:\user\appdata\local\programs\python\python38\lib\site-packages\libarchive\entry.py", line 6, in <module>

from . import ffi


 "c:\user\appdata\local\programs\python\python38\lib\site-packages\libarchive\ffi.py", line 27, in <module>

libarchive = ctypes.cdll.LoadLibrary(libarchive_path)


 "c:\user\appdata\local\programs\python\python38\lib\ctypes\__init__.py", line 451, in LoadLibrary

return self._dlltype(name)


 "c:\user\appdata\local\programs\python\python38\lib\ctypes\__init__.py", line 363, in __init__

if '/' in name or '\\' in name:
TypeError: argument of type 'NoneType' is not iterable