{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/6353","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/6353/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/6353/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/6353/events","html_url":"https://github.com/scipy/scipy/issues/6353","id":164057747,"number":6353,"title":"Incorrectly escaped PATH in scipy.filter","user":{"login":"nippoo","id":1363114,"avatar_url":"https://avatars.githubusercontent.com/u/1363114?v=3","gravatar_id":"","url":"https://api.github.com/users/nippoo","html_url":"https://github.com/nippoo","followers_url":"https://api.github.com/users/nippoo/followers","following_url":"https://api.github.com/users/nippoo/following{/other_user}","gists_url":"https://api.github.com/users/nippoo/gists{/gist_id}","starred_url":"https://api.github.com/users/nippoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nippoo/subscriptions","organizations_url":"https://api.github.com/users/nippoo/orgs","repos_url":"https://api.github.com/users/nippoo/repos","events_url":"https://api.github.com/users/nippoo/events{/privacy}","received_events_url":"https://api.github.com/users/nippoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/3rd%20party%20binaries","name":"3rd party binaries","color":"207de5"},{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-06T11:47:11Z","updated_at":"2016-07-07T20:06:33Z","closed_at":null,"body":"```\r\nfrom scipy import signal\r\n\r\n  File \"c:\\users\\peter\\miniconda3\\envs\\phy\\lib\\site-packages\\scipy\\__init__.py\", line 98, in <module>\r\n    from scipy.__config__ import show as show_config\r\n  File \"c:\\users\\peter\\miniconda3\\envs\\phy\\lib\\site-packages\\scipy\\__config__.py\", line 5\r\n    lapack_opt_info={'library_dirs': ['C:\\Users\\Peter\\Miniconda3\\envs\\phy\\\\Library\\\\lib'], 'define_macros': [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)], 'include_dirs': ['C:\\Users\\Peter\\Miniconda3\\envs\\phy\\\\Library', 'C:\\Users\\Peter\\Miniconda3\\envs\\phy\\\\Library\\\\include', 'C:\\Users\\Peter\\Miniconda3\\envs\\phy\\\\Library\\\\lib'], 'libraries': ['mkl_lapack95_lp64', 'mkl_core_dll', 'mkl_intel_lp64_dll', 'mkl_intel_thread_dll']}\r\n                                     ^\r\nSyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \\UXXXXXXXX escape\r\n```\r\n\r\nThe package works perfectly when installed in `C:\\Miniconda\\envs\\` but as soon as it's in `C:\\Users\\foobar\\` then it detects `\\U` as the Unicode escape sequence and doesn't work.\r\n\r\nThis might be an issue with the conda packaging, so let me know if I should report it there..."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/231191668","html_url":"https://github.com/scipy/scipy/issues/6353#issuecomment-231191668","issue_url":"https://api.github.com/repos/scipy/scipy/issues/6353","id":231191668,"user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T20:06:33Z","updated_at":"2016-07-07T20:06:33Z","body":"Can you show the whole contents of your ``numpy/__config__.py`` file? If only your MKL paths are a mix between ``\\`` and ``\\\\``, then it may be this bit in ``mkl_info``: https://github.com/numpy/numpy/blob/master/numpy/distutils/system_info.py#L993. Uses ``os.sep.join`` instead of ``os.path.join``, and I suspect that that gives ``\\`` separators on Windows (can't check)."}}
{"actor":{"display_login":"rgommers"}}