<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi, in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156752#M1163</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This doesn't work since we don't build CPython with "ensurepip" enabled. I can provide a workaround for you to create a venv with pip in it:&lt;/P&gt;

&lt;P&gt;##assuming that you have internet access&lt;BR /&gt;
	python -m venv foo --without-pip&lt;BR /&gt;
	source foo/bin/activate&lt;BR /&gt;
	curl &lt;A href="https://bootstrap.pypa.io/get-pip.py"&gt;https://bootstrap.pypa.io/get-pip.py&lt;/A&gt; | python&lt;/P&gt;

&lt;P&gt;Your activated env would have pip in it.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Rohit&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 21:27:07 GMT</pubDate>
    <dc:creator>Rohit_J_Intel</dc:creator>
    <dc:date>2018-07-16T21:27:07Z</dc:date>
    <item>
      <title>python -m venv  fails: returned non-zero exit status 1</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156751#M1162</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;using intelpython3-2018.3-039.x86_64 on CentOS-7.5&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	candid01: ~ &amp;gt; python&lt;BR /&gt;
	Python 3.6.3 |Intel Corporation| (default, May&amp;nbsp; 4 2018, 04:22:28)&lt;BR /&gt;
	[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux&lt;BR /&gt;
	Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;
	Intel(R) Distribution for Python is brought to you by Intel Corporation.&lt;BR /&gt;
	Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;&lt;BR /&gt;
	&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;
	candid01: ~ &amp;gt; python -m venv&amp;nbsp; foo # this one fails, no activate generated&lt;BR /&gt;
	Error: Command '['/home/rouberol/foo/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.&lt;BR /&gt;
	candid01: ~ &amp;gt;&lt;/P&gt;

&lt;P&gt;candid01: ~ &amp;gt;&amp;nbsp; python -m venv&amp;nbsp; --without pip&amp;nbsp;&amp;nbsp; foo # this one succeeds&lt;BR /&gt;
	candid01: ~ &amp;gt;&lt;/P&gt;

&lt;P&gt;But I need pip in my foo venv!&lt;/P&gt;

&lt;P&gt;Any bug fix/workaround/idea ?&lt;/P&gt;

&lt;P&gt;Tia&lt;/P&gt;

&lt;P&gt;sr&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 20:40:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156751#M1162</guid>
      <dc:creator>rouberol</dc:creator>
      <dc:date>2018-07-16T20:40:57Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156752#M1163</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This doesn't work since we don't build CPython with "ensurepip" enabled. I can provide a workaround for you to create a venv with pip in it:&lt;/P&gt;

&lt;P&gt;##assuming that you have internet access&lt;BR /&gt;
	python -m venv foo --without-pip&lt;BR /&gt;
	source foo/bin/activate&lt;BR /&gt;
	curl &lt;A href="https://bootstrap.pypa.io/get-pip.py"&gt;https://bootstrap.pypa.io/get-pip.py&lt;/A&gt; | python&lt;/P&gt;

&lt;P&gt;Your activated env would have pip in it.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Rohit&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 21:27:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156752#M1163</guid>
      <dc:creator>Rohit_J_Intel</dc:creator>
      <dc:date>2018-07-16T21:27:07Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156753#M1164</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;thanks for the workaround.&lt;/P&gt;

&lt;P&gt;Out of curiosity, do you intend to fix this problem in next release?&lt;/P&gt;

&lt;P&gt;It may be inconvenient in present state if no internet access.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;sr&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 16:27:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156753#M1164</guid>
      <dc:creator>rouberol</dc:creator>
      <dc:date>2018-07-17T16:27:58Z</dc:date>
    </item>
    <item>
      <title>+1 for request about being</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156754#M1165</link>
      <description>&lt;P&gt;+1 for request about being able to conveniently set up virtual environments using venv.&amp;nbsp; Glad to find this workaround.&amp;nbsp; Thanks @RohitJ&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 21:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/python-m-venv-fails-returned-non-zero-exit-status-1/m-p/1156754#M1165</guid>
      <dc:creator>HimanshuG</dc:creator>
      <dc:date>2019-05-27T21:37:00Z</dc:date>
    </item>
  </channel>
</rss>

