{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/8437","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/8437/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/8437/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/8437/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/8437","id":294468706,"number":8437,"title":"dnf fails with `No module named '_sysconfigdata_x86_64_conda_cos6_linux_gnu'` after gcc_linux-64 is installed","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars0.githubusercontent.com/u/1418419?v=4","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-05T17:03:44Z","updated_at":"2018-02-11T00:25:42Z","closed_at":null,"author_association":"MEMBER","body":"_From @rainwoodman on February 4, 2018 4:27_\n\nAfter gcc_linux-64 is installed, the variable `_PYTHON_SYSCONFIGDATA_NAME` is set to override the sysconfig. \r\n\r\ndnf from Fedora uses the system python 3.6 installation, which fails if `_PYTHON_SYSCONFIG_DATA_NAME` is set, because the file is not in its python home.\r\n\r\nSequence to reproduce:\r\n```\r\nconda activate base\r\nconda install gcc_linux-64\r\ndnf\r\n```\r\n\r\nThe workaround is to deactivate the conda environment before calling dnf.\r\n\r\nThe alternative would be asserting that the cross compilation no longer rely on environment variables to override the current Python's compiler setting -- which means switching to shipping a completely different python binary -- a lot of work with marginal gain. \r\n\n\n_Copied from original issue: conda/conda#6836_"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/364707878","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/8437#issuecomment-364707878","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/8437","id":364707878,"user":{"login":"rainwoodman","id":138060,"avatar_url":"https://avatars0.githubusercontent.com/u/138060?v=4","gravatar_id":"","url":"https://api.github.com/users/rainwoodman","html_url":"https://github.com/rainwoodman","followers_url":"https://api.github.com/users/rainwoodman/followers","following_url":"https://api.github.com/users/rainwoodman/following{/other_user}","gists_url":"https://api.github.com/users/rainwoodman/gists{/gist_id}","starred_url":"https://api.github.com/users/rainwoodman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainwoodman/subscriptions","organizations_url":"https://api.github.com/users/rainwoodman/orgs","repos_url":"https://api.github.com/users/rainwoodman/repos","events_url":"https://api.github.com/users/rainwoodman/events{/privacy}","received_events_url":"https://api.github.com/users/rainwoodman/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T00:25:42Z","updated_at":"2018-02-11T00:25:42Z","author_association":"NONE","body":"Thanks. Indeed resetting the env should work.\r\n\r\nI also noticed gdb fails for a similar reason. gdb is used far more frequently than dnf I would say."}}
{"actor":{"display_login":"rainwoodman"}}