hqtrivia-automation
hqtrivia-automation copied to clipboard
ImportError: No module named vocabulary.vocabulary
Not experienced with programming. Cannot fix this problem no matter what, installed all modules from requirements.txt and all show as being installed using the commands you provided the other guy with this problem. I have also tried installing Vocabulary manually to no avail.
Traceback (most recent call last):
File "hqtrivia-automation.py", line 9, in
'pip3 list' results:
beautifulsoup4 (4.6.0) cachetools (2.0.1) certifi (2018.1.18) chardet (3.0.4) google-api-core (0.1.4) google-auth (1.3.0) google-cloud-vision (0.29.0) googleapis-common-protos (1.5.3) grpcio (1.8.4) idna (2.6) lxml (4.1.1) mock (2.0.0) nltk (3.2.5) nose (1.3.7) numpy (1.14.0) opencv-contrib-python (3.4.0.12) pbr (3.1.1) Pillow (5.0.0) pip (9.0.1) protobuf (3.5.1) pyasn1 (0.4.2) pyasn1-modules (0.2.1) pyobjc (4.1) pyobjc-core (4.1) pyobjc-framework-Accounts (4.1) pyobjc-framework-AddressBook (4.1) pyobjc-framework-AppleScriptKit (4.1) pyobjc-framework-AppleScriptObjC (4.1) pyobjc-framework-ApplicationServices (4.1) pyobjc-framework-Automator (4.1) pyobjc-framework-AVFoundation (4.1) pyobjc-framework-AVKit (4.1) pyobjc-framework-CalendarStore (4.1) pyobjc-framework-CFNetwork (4.1) pyobjc-framework-CloudKit (4.1) pyobjc-framework-Cocoa (4.1) pyobjc-framework-Collaboration (4.1) pyobjc-framework-Contacts (4.1) pyobjc-framework-ContactsUI (4.1) pyobjc-framework-CoreBluetooth (4.1) pyobjc-framework-CoreData (4.1) pyobjc-framework-CoreLocation (4.1) pyobjc-framework-CoreServices (4.1) pyobjc-framework-CoreText (4.1) pyobjc-framework-CoreWLAN (4.1) pyobjc-framework-CryptoTokenKit (4.1) pyobjc-framework-DictionaryServices (4.1) pyobjc-framework-DiskArbitration (4.1) pyobjc-framework-EventKit (4.1) pyobjc-framework-ExceptionHandling (4.1) pyobjc-framework-FinderSync (4.1) pyobjc-framework-FSEvents (4.1) pyobjc-framework-GameCenter (4.1) pyobjc-framework-GameController (4.1) pyobjc-framework-GameKit (4.1) pyobjc-framework-GameplayKit (4.1) pyobjc-framework-ImageCaptureCore (4.1) pyobjc-framework-IMServicePlugIn (4.1) pyobjc-framework-InputMethodKit (4.1) pyobjc-framework-InstallerPlugins (4.1) pyobjc-framework-InstantMessage (4.1) pyobjc-framework-Intents (4.1) pyobjc-framework-IOSurface (4.1) pyobjc-framework-iTunesLibrary (4.1) pyobjc-framework-LatentSemanticMapping (4.1) pyobjc-framework-LaunchServices (4.1) pyobjc-framework-libdispatch (4.1) pyobjc-framework-LocalAuthentication (4.1) pyobjc-framework-MapKit (4.1) pyobjc-framework-MediaAccessibility (4.1) pyobjc-framework-MediaLibrary (4.1) pyobjc-framework-MediaPlayer (4.1) pyobjc-framework-ModelIO (4.1) pyobjc-framework-MultipeerConnectivity (4.1) pyobjc-framework-NetFS (4.1) pyobjc-framework-NetworkExtension (4.1) pyobjc-framework-NotificationCenter (4.1) pyobjc-framework-OpenDirectory (4.1) pyobjc-framework-Photos (4.1) pyobjc-framework-PhotosUI (4.1) pyobjc-framework-PreferencePanes (4.1) pyobjc-framework-PubSub (4.1) pyobjc-framework-QTKit (4.1) pyobjc-framework-Quartz (4.1) pyobjc-framework-SafariServices (4.1) pyobjc-framework-SceneKit (4.1) pyobjc-framework-ScreenSaver (4.1) pyobjc-framework-ScriptingBridge (4.1) pyobjc-framework-SearchKit (4.1) pyobjc-framework-Security (4.1) pyobjc-framework-SecurityFoundation (4.1) pyobjc-framework-SecurityInterface (4.1) pyobjc-framework-ServiceManagement (4.1) pyobjc-framework-Social (4.1) pyobjc-framework-SpriteKit (4.1) pyobjc-framework-StoreKit (4.1) pyobjc-framework-SyncServices (4.1) pyobjc-framework-SystemConfiguration (4.1) pyobjc-framework-WebKit (4.1) pytesseract (0.1.7) pytz (2017.3) requests (2.13.0) rsa (3.4.2) setuptools (38.4.0) six (1.11.0) urllib3 (1.22) Vocabulary (1.0.4) Wikipedia-API (0.3.4)
Check if you have a file eng.traineddata
under /opt/local/share/tessdata
Execute with python3 hqtrivia.py , otherwise the preinstalled 2.x will be used