{"action":"created","issue":{"url":"https://api.github.com/repos/pettarin/penelope/issues/16","repository_url":"https://api.github.com/repos/pettarin/penelope","labels_url":"https://api.github.com/repos/pettarin/penelope/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pettarin/penelope/issues/16/comments","events_url":"https://api.github.com/repos/pettarin/penelope/issues/16/events","html_url":"https://github.com/pettarin/penelope/issues/16","id":135808112,"number":16,"title":"\"Unable to find vcvarsall.bat\" during \"pip install penelope\" under Windows 7","user":{"login":"jg2944","id":7272480,"avatar_url":"https://avatars.githubusercontent.com/u/7272480?v=3","gravatar_id":"","url":"https://api.github.com/users/jg2944","html_url":"https://github.com/jg2944","followers_url":"https://api.github.com/users/jg2944/followers","following_url":"https://api.github.com/users/jg2944/following{/other_user}","gists_url":"https://api.github.com/users/jg2944/gists{/gist_id}","starred_url":"https://api.github.com/users/jg2944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jg2944/subscriptions","organizations_url":"https://api.github.com/users/jg2944/orgs","repos_url":"https://api.github.com/users/jg2944/repos","events_url":"https://api.github.com/users/jg2944/events{/privacy}","received_events_url":"https://api.github.com/users/jg2944/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-23T17:38:48Z","updated_at":"2016-02-23T19:12:56Z","closed_at":null,"body":"Hello,\r\nI got the \"Unable to find vcvarsall.bat\" error mesage during \"pip install penelope\" under Windows 7 ;\r\n\r\nnevertheless, the \"pip list\" command shows penelope (3.1.2.0) in the list ;\r\n\r\nIs it serious, doctor ?  ;-)\r\nor can this error message produced during the Penelope installation be ignored ? \r\n\r\nthanks in advance\r\n\r\nI have done a quick  test to convert an ES-to-EN stardict dictionnary into a Bookeen format and got some errors (see below) : just wanted to know if the previous installation error message could be related to the errors shown below  \r\n\r\nC:\\dictio\\python -m penelope -i stardict-spanish-english-2.4.2.zip -j stardict -f es -t en -p bookeen -o output\r\n \r\n[INFO] Reading input file(s)...\r\n[INFO] Reading input file(s)... done\r\n[INFO] Writing output file(s)...\r\nTraceback (most recent call last):\r\n  File \"C:\\PYTHON27\\lib\\runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"C:\\PYTHON27\\lib\\runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"C:\\PYTHON27\\lib\\site-packages\\penelope\\__main__.py\", line 146, in <module>\r\n    main()\r\n  File \"C:\\PYTHON27\\lib\\site-packages\\penelope\\__main__.py\", line 133, in main\r\n    output_paths = write_dictionary(dictionary, arguments)\r\n  File \"C:\\PYTHON27\\lib\\site-packages\\penelope\\dictionary.py\", line 103, in write_dictionary\r\n    return penelope.format_bookeen.write(dictionary, args, args.output_file)\r\n  File \"C:\\PYTHON27\\lib\\site-packages\\penelope\\format_bookeen.py\", line 227, in write\r\n    sql_cursor.execute(\"insert into T_DictIndex values (?,?,?,?,?)\", sql_tuple)\r\n  File \"C:\\PYTHON27\\lib\\site-packages\\penelope\\collation_default.py\", line 28, in collate_function\r\n    b2 = string2.encode(\"utf-8\").lower()\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)\r\n\r\n\r\nthanks in advance"},"comment":{"url":"https://api.github.com/repos/pettarin/penelope/issues/comments/187846664","html_url":"https://github.com/pettarin/penelope/issues/16#issuecomment-187846664","issue_url":"https://api.github.com/repos/pettarin/penelope/issues/16","id":187846664,"user":{"login":"pettarin","id":4086163,"avatar_url":"https://avatars.githubusercontent.com/u/4086163?v=3","gravatar_id":"","url":"https://api.github.com/users/pettarin","html_url":"https://github.com/pettarin","followers_url":"https://api.github.com/users/pettarin/followers","following_url":"https://api.github.com/users/pettarin/following{/other_user}","gists_url":"https://api.github.com/users/pettarin/gists{/gist_id}","starred_url":"https://api.github.com/users/pettarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pettarin/subscriptions","organizations_url":"https://api.github.com/users/pettarin/orgs","repos_url":"https://api.github.com/users/pettarin/repos","events_url":"https://api.github.com/users/pettarin/events{/privacy}","received_events_url":"https://api.github.com/users/pettarin/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T19:12:56Z","updated_at":"2016-02-23T19:12:56Z","body":"These are two different issues.\r\n\r\n1. \"Unable to find vcvarsall.bat\" means that pip is not able to find the MS C compiler for Python to compile one of the dependencies (lxml or marisa-trie). If you do not plan to I/O in XML or Kobo format, you can ignore the error. Otherwise, you need to download this: https://www.microsoft.com/en-us/download/details.aspx?id=44266 and run pip in the special command provided by it.\r\n\r\n2. It looks like your shell and/or input file is not UTF-8. If the former, you can try giving the following command:\r\n\r\n```\r\n> set PYTHONIOENCODING=UTF-8\r\n> python -m penelope -i stardict-spanish-english-2.4.2.zip -j stardict -f es -t en -p bookeen -o output\r\n```\r\n\r\nbefore executing Penelope. If the latter, you need to provide the encoding of the input file with the  `--input-file-encoding` flag. For example:\r\n\r\n```\r\n> python -m penelope -i stardict-spanish-english-2.4.2.zip -j stardict -f es -t en -p bookeen -o output --input-file-encoding latin1\r\n```\r\n\r\n\r\n\r\n"}}