{"action":"created","issue":{"url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/6","repository_url":"https://api.github.com/repos/ISA-tools/mzml2isa","labels_url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/6/comments","events_url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/6/events","html_url":"https://github.com/ISA-tools/mzml2isa/issues/6","id":185710209,"node_id":"MDU6SXNzdWUxODU3MTAyMDk=","number":6,"title":"lxml in windows (pip install)","user":{"login":"althonos","id":8660647,"node_id":"MDQ6VXNlcjg2NjA2NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/8660647?v=4","gravatar_id":"","url":"https://api.github.com/users/althonos","html_url":"https://github.com/althonos","followers_url":"https://api.github.com/users/althonos/followers","following_url":"https://api.github.com/users/althonos/following{/other_user}","gists_url":"https://api.github.com/users/althonos/gists{/gist_id}","starred_url":"https://api.github.com/users/althonos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/althonos/subscriptions","organizations_url":"https://api.github.com/users/althonos/orgs","repos_url":"https://api.github.com/users/althonos/repos","events_url":"https://api.github.com/users/althonos/events{/privacy}","received_events_url":"https://api.github.com/users/althonos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-27T15:57:21Z","updated_at":"2018-08-24T14:41:24Z","closed_at":"2016-11-03T13:43:11Z","author_association":"CONTRIBUTOR","body":"Originally opened by @Tomnl on althonos/mzml2isa:\n\n**Tom:**\nWhen installing mzml2isa on windows lxml has to be installed in a bit of strange way so is failing with pip install. The installation works fine if you first install lxml using the following command (takes a while though and requires 'Microsoft Visual C++' ):\n\n`set STATICBUILD=true && pip install lxml`\n\nAlternatively, lxml can be installed from the unofficial binaries , (probably the easiest approach)\n\nMore information:\n    http://stackoverflow.com/questions/20460890/lxml-install-on-windows-7-using-pip-and-python-2-7\n    http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9\n\n```\nC:\\Users\\tnl495>pip install mzml2isa\nCollecting mzml2isa\n  Using cached mzml2isa-0.4.25.tar.gz\nCollecting lxml (from mzml2isa)\n  Using cached lxml-3.6.3.tar.gz\nCollecting pronto (from mzml2isa)\n  Using cached pronto-0.3.3.tar.gz\nCollecting chainmap (from mzml2isa)\n  Downloading chainmap-1.0.2-py2.py3-none-any.whl\nRequirement already satisfied (use --upgrade to upgrade): six in c:\\python27\\lib\n\\site-packages (from pronto->mzml2isa)\nInstalling collected packages: lxml, pronto, chainmap, mzml2isa\n  Running setup.py install for lxml\n    Complete output from command c:\\python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\users\\\\tnl495\\\\appdata\\\\local\\\\temp\\\\pip-build-cukyyy\\\\lxml\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record c:\\users\\tnl495\\appdata\\local\\temp\\pip-q4w9fi-record\\install-record.txt --single-version-externally-managed --compile:\n    Building lxml version 3.6.3.\n    Building without Cython.\n    ERROR: 'xslt-config' is not recognized as an internal or external command, operable program or batch file.\n\n    ** make sure the development packages of libxml2 and libxslt are installed *\n\n    Using build configuration of libxslt\n    running install\n    running build\n    running build_py\n    creating build\n    creating build\\lib.win32-2.7\n    creating build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\builder.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\cssselect.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\doctestcompare.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\ElementInclude.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\pyclasslookup.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\sax.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\usedoctest.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\_elementpath.py -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\__init__.py -> build\\lib.win32-2.7\\lxml\n    creating build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\__init__.py -> build\\lib.win32-2.7\\lxml\\includes\n    creating build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\builder.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\clean.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\defs.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\diff.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\ElementSoup.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\formfill.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\html5parser.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\soupparser.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\usedoctest.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\_diffcommand.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\_html5builder.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\_setmixin.py -> build\\lib.win32-2.7\\lxml\\html\n    copying src\\lxml\\html\\__init__.py -> build\\lib.win32-2.7\\lxml\\html\n    creating build\\lib.win32-2.7\\lxml\\isoschematron\n    copying src\\lxml\\isoschematron\\__init__.py -> build\\lib.win32-2.7\\lxml\\isoschematron\n    copying src\\lxml\\lxml.etree.h -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\lxml.etree_api.h -> build\\lib.win32-2.7\\lxml\n    copying src\\lxml\\includes\\c14n.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\config.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\dtdvalid.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\etreepublic.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\htmlparser.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\relaxng.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\schematron.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\tree.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\uri.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xinclude.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xmlerror.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xmlparser.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xmlschema.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xpath.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\xslt.pxd -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\etree_defs.h -> build\\lib.win32-2.7\\lxml\\includes\n    copying src\\lxml\\includes\\lxml-version.h -> build\\lib.win32-2.7\\lxml\\includes\n    creating build\\lib.win32-2.7\\lxml\\isoschematron\\resources\n    creating build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\rng\n    copying src\\lxml\\isoschematron\\resources\\rng\\iso-schematron.rng -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\rng\n    creating build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\n    copying src\\lxml\\isoschematron\\resources\\xsl\\RNG2Schtrn.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\n    copying src\\lxml\\isoschematron\\resources\\xsl\\XSD2Schtrn.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\n    creating build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\iso_abstract_expand.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\iso_dsdl_include.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\iso_schematron_message.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\iso_schematron_skeleton_for_xslt1.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\iso_svrl_for_xslt1.xsl -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    copying src\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\\readme.txt -> build\\lib.win32-2.7\\lxml\\isoschematron\\resources\\xsl\\iso-schematron-xslt1\n    running build_ext\n    building 'lxml.etree' extension\n    error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).\nGet it from http://aka.ms/vcpython27\n\n    ----------------------------------------\nCommand \"c:\\python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\us\ners\\\\tnl495\\\\appdata\\\\local\\\\temp\\\\pip-build-cukyyy\\\\lxml\\\\setup.py';exec(compil\ne(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file\n__, 'exec'))\" install --record c:\\users\\tnl495\\appdata\\local\\temp\\pip-q4w9fi-rec\nord\\install-record.txt --single-version-externally-managed --compile\" failed wit\nh error code 1 in c:\\users\\tnl495\\appdata\\local\\temp\\pip-build-cukyyy\\lxml\nYou are using pip version 7.1.2, however version 8.1.2 is available.\nYou should consider upgrading via the 'python -m pip install --upgrade pip' comm\nand.\n```\n"},"comment":{"url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/comments/415780162","html_url":"https://github.com/ISA-tools/mzml2isa/issues/6#issuecomment-415780162","issue_url":"https://api.github.com/repos/ISA-tools/mzml2isa/issues/6","id":415780162,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTc4MDE2Mg==","user":{"login":"blaqvirus","id":12168645,"node_id":"MDQ6VXNlcjEyMTY4NjQ1","avatar_url":"https://avatars3.githubusercontent.com/u/12168645?v=4","gravatar_id":"","url":"https://api.github.com/users/blaqvirus","html_url":"https://github.com/blaqvirus","followers_url":"https://api.github.com/users/blaqvirus/followers","following_url":"https://api.github.com/users/blaqvirus/following{/other_user}","gists_url":"https://api.github.com/users/blaqvirus/gists{/gist_id}","starred_url":"https://api.github.com/users/blaqvirus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaqvirus/subscriptions","organizations_url":"https://api.github.com/users/blaqvirus/orgs","repos_url":"https://api.github.com/users/blaqvirus/repos","events_url":"https://api.github.com/users/blaqvirus/events{/privacy}","received_events_url":"https://api.github.com/users/blaqvirus/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T14:41:24Z","updated_at":"2018-08-24T14:41:24Z","author_association":"NONE","body":"Help,  I installed LXML and now im getting the following error:\r\n from .. import etree\r\nImportError: cannot import name etree\r\n\r\nPlease assist "}}
{"actor":{"display_login":"blaqvirus"}}