<?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 Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests' in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431566#M6322</link>
    <description>&lt;P&gt;thank you. When I run source .venv/Scripts/activate it says source can't be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; python -m venv .venv&lt;BR /&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; source .venv/Scripts/activate
source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, 
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ source .venv/Scripts/activate
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (source:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException&lt;/PRE&gt;&lt;P&gt;I don't get the prompt like the instructions say.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 13:32:21 GMT</pubDate>
    <dc:creator>tammi.anthony</dc:creator>
    <dc:date>2021-07-12T13:32:21Z</dc:date>
    <item>
      <title>DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4430733#M6307</link>
      <description>&lt;P&gt;&lt;A href="https://developer.cisco.com/learning/lab/collab-webex-chatops-bot-itp/step/3" target="_blank" rel="noopener"&gt;https://developer.cisco.com/learning/lab/collab-webex-chatops-bot-itp/step/3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed all of these instructions and can't seem to work. Even though requests is installed I keep getting error. I don't know what else to try. I deleted and tried all the instructions multiple times to be sure I didn't miss a step. Are these out of date or am I just not doing something right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was going to attach the file but I didn't make any changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am on step 2 where it says right click and Run Python File in terminal and get this error below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;File "c:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\chatops.py", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;import requests&lt;BR /&gt;ModuleNotFoundError: No module named 'requests'&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 18:51:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4430733#M6307</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-09T18:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4430930#M6312</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1221910"&gt;@tammi.anthony&lt;/a&gt;&amp;nbsp;sure - at the top of the Learning Lab you will see some text which says "&lt;I class="help circle icon"&gt;&lt;/I&gt;How To Setup Your Own Computer" if you click this it will open a new box. In there you will find the fix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Install the Python3 'requests' Library

To install Requests for Python3 , use this command line:
pip3 install requests
                
For Windows you may need to use:
pip install requests
                &lt;/PRE&gt;
&lt;P&gt;The error you see is due to you not having the Python request library installed and when the code tries to run your code cannot find the requirement provided by this libary.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 09:49:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4430930#M6312</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2021-07-10T09:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431501#M6318</link>
      <description>&lt;P&gt;I did that but it will not run in VS Code. Even though I see requests is installed. I'm wondering if it's a VS Code issue. It doesn't seem to see my latest versions of any installs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:12:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431501#M6318</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431551#M6319</link>
      <description>&lt;P&gt;I accidently marked this as solved. oops&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I get when I run pip3 install requests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ pip3 install requests
Requirement already satisfied: requests in c:\projects2020\devnet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\env\lib\site-packages (2.23.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,&amp;lt;1.26,&amp;gt;=1.21.1 in c:\projects2020\devnet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\env\lib\site-packages (from requests) (1.25.9)
Requirement already satisfied: certifi&amp;gt;=2017.4.17 in c:\projects2020\devnet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\env\lib\site-packages (from requests) (2020.4.5.2)
Requirement already satisfied: chardet&amp;lt;4,&amp;gt;=3.0.2 in c:\projects2020\devnet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\env\lib\site-packages (from requests) (3.0.4)
Requirement already satisfied: idna&amp;lt;3,&amp;gt;=2.5 in c:\projects2020\devnet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\env\lib\site-packages (from requests) (2.9)&lt;/PRE&gt;&lt;P&gt;It's stating it's already installed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:13:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431551#M6319</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431552#M6320</link>
      <description>&lt;P&gt;When I right click and Run Python File per the instructions I get this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; &amp;amp; C:/Python39/python.exe c:/Projects2020/DevNet/devnet-express-cloud-collab-code-samples/itp/collab-spark-chatops-bot-itp/chatops.py
Traceback (most recent call last):
  File "c:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\chatops.py", line 1, in &amp;lt;module&amp;gt;
    import requests
ModuleNotFoundError: No module named 'requests'
PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; &lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:15:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431552#M6320</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431558#M6321</link>
      <description>&lt;P&gt;This is often because the Python interpreter that VS Code uses for inspecting your project (to provide auto-complete) and the interpreter used for running your code in Terminal is different (hence, in different environment and having their own list of installed packages).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://code.visualstudio.com/docs/python/environments" target="_blank"&gt;https://code.visualstudio.com/docs/python/environments&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:23:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431558#M6321</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2021-07-12T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431566#M6322</link>
      <description>&lt;P&gt;thank you. When I run source .venv/Scripts/activate it says source can't be found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; python -m venv .venv&lt;BR /&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; source .venv/Scripts/activate
source : The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, 
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ source .venv/Scripts/activate
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (source:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException&lt;/PRE&gt;&lt;P&gt;I don't get the prompt like the instructions say.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:32:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431566#M6322</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T13:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431576#M6323</link>
      <description>&lt;P&gt;I got past that error. I guess in VS you don't say source. I was never prompted to use the environment like the instructions say, but I am using the environment and still get that error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; .venv/scripts/activate
(.venv) PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; &amp;amp; C:/Python39/python.exe c:/Projects2020/DevNet/devnet-express-cloud-collab-code-samples/itp/collab-spark-chatops-bot-itp/chatops.py
Traceback (most recent call last):
  File "c:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp\chatops.py", line 1, in &amp;lt;module&amp;gt;
    import requests
ModuleNotFoundError: No module named 'requests'
(.venv) PS C:\Projects2020\DevNet\devnet-express-cloud-collab-code-samples\itp\collab-spark-chatops-bot-itp&amp;gt; &lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:50:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431576#M6323</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T13:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431642#M6324</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1221910"&gt;@tammi.anthony&lt;/a&gt;&amp;nbsp;once you have entered your virtual env - can you issue a `pip freeze' or 'pip list'?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:03:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431642#M6324</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2021-07-12T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431662#M6325</link>
      <description>&lt;P&gt;I was able to get it to work. I tried 'pip freeze' but still was getting error. I had to copy the Lib\site-packages to my Python39 Lib\site-packages folder and then it worked. This seems like more work than it should be needed. All this is new to me because I am a C# developer, but it seems there should be some way to force VS Code to use your env lib folder and not the python lib folder, or maybe change python to look in the env folder. I don't know but I did get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:22:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431662#M6325</guid>
      <dc:creator>tammi.anthony</dc:creator>
      <dc:date>2021-07-12T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: DevNet collab-webex-chatops-bot-itp -- No module named 'requests'</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431730#M6326</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1221910"&gt;@tammi.anthony&lt;/a&gt;&amp;nbsp;awesome congrats - if you get stuck on issues such as these you can also talk live to our team in the Webex room here for support --&amp;gt;&amp;nbsp;&lt;A href="https://developer.cisco.com/site/devnet-chat/" target="_blank"&gt;https://developer.cisco.com/site/devnet-chat/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 16:34:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/devnet-collab-webex-chatops-bot-itp-no-module-named-requests/m-p/4431730#M6326</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2021-07-12T16:34:50Z</dc:date>
    </item>
  </channel>
</rss>

