========================================================================
ERROR: UNABLE TO IMPORT SCANCODE PLUGINS.
Check your installation configuration (setup.py) or re-install/re-configure ScanCode.
The following plugin(s) are referenced and cannot be loaded/imported:
cannot import name RPM
========================================================================
Traceback (most recent call last):
File "C:\Users\sebastian\Development\GitHub\nexB\scancode-toolkit\bin\scancode-script.py", line 11, in <module>
load_entry_point('scancode-toolkit', 'console_scripts', 'scancode')()
File "C:\Users\sebastian\Development\GitHub\nexB\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\sebastian\Development\GitHub\nexB\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2852, in load_entry_point
return ep.load()
File "C:\Users\sebastian\Development\GitHub\nexB\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2443, in load
return self.resolve()
File "C:\Users\sebastian\Development\GitHub\nexB\scancode-toolkit\lib\site-packages\pkg_resources\__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "c:\users\sebastian\development\github\nexb\scancode-toolkit\src\scancode\cli.py", line 228, in <module>
raise e
ImportError: cannot import name RPM
I'm building ScanCode from Git sources on Windows. I was on tag v3.0.2 (which works fine on Windows) and then switched to tag v3.1.1:
$ git checkout v3.1.1
$ ./configure --clean
$ ./configure
$ ./scancode --version
Description
Running
scancode --versionfor v3.1.1 on Windows yields:How To Reproduce
I'm building ScanCode from Git sources on Windows. I was on tag
v3.0.2(which works fine on Windows) and then switched to tagv3.1.1:System configuration