Import Pandas Into Python
<p>I just installed Python 3.5.2. I am working in the shell/IDLE environment and attempting to import Pandas. </p>

<p>However when I write: import pandas </p>

<p>I get the following:</p>

<pre><code>Traceback (most recent call last):
  File "C:/Users/bartogre/Desktop/Program1.py", line 1, in &lt;module&gt;
    import pandas
ImportError: No module named 'pandas'
</code></pre>

<p>How do I add any module to the library Python 3.5.2 is reading? I do not want to work in Anaconda.</p>

<p>I watched this video: <a href="https://www.youtube.com/watch?v=ddpYVA-7wq4" rel="nofollow">https://www.youtube.com/watch?v=ddpYVA-7wq4</a></p>

<p>And below is my output from CMD:</p>

<pre><code>C:\Users\bartogre&gt;
C:\Users\bartogre&gt;cd c:\users\bartogre\desktop\pyodbc-master
c:\Users\bartogre\Desktop\pyodbc-master&gt;python setup.py
c:\Users\bartogre\Desktop\pyodbc-master&gt;python setup.py install

'git' is not recognized as an internal or external command,
operable program or batch file.
WARNING: git describe failed with: 1
WARNING: Unable to determine version.  Using 3.0.0.0
C:\Program Files (x86)\Anaconda3\lib\site-packages\setuptools-27.2.0-py3.5.egg\s
etuptools\dist.py:340: UserWarning: The version specified ('3.0.0-unsupported')
is an invalid version, this may not work as expected with newer versions of setu
ptools, pip, and PyPI. Please see PEP 440 for more details.
running install
running bdist_egg
running egg_info
writing pyodbc.egg-info\PKG-INFO
writing dependency_links to pyodbc.egg-info\dependency_links.txt
writing top-level names to pyodbc.egg-info\top_level.txt
reading manifest file 'pyodbc.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyodbc.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_ext
building 'pyodbc' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++
Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
</code></pre>

<p>A bit of background: a system can have multiple Python installations.  On Windows, each is a directory with python.exe and Lib/site-packages/.  To use a package with a particular python.exe, you must install into the corresponding site-packages.</p>

<p>In your case, 'python' invokes 'C:\Program Files (x86)\Anaconda3\python.exe'.  Do you have another python installation that you want to be working with?  </p>

<p>In any case, the current standard way to install packages on Windows is with pip.  The best way to run it in the console is</p>

<pre><code>some/path&gt; &lt;some python&gt; -m pip install package 
</code></pre>

<p>where <code>&lt;some python&gt;</code> is either <code>python</code> to invoke the default install or something else to get another install.  Pip first goes to pypi.python.org to find the package.  If the package contains C code, it may find an appropriate pre-built binary or try to compile locally, which requires the correct version of Visual C++ compiler.</p>

<p>If pip does not find a pre-built binary for your install, I would do the following.  For about 200 packages, unofficial binaries are available at <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a>.  The site has been up for up, and a livesave for Windows users, for at least a decade and I and many others have used it.  Cristoph  gives instructions on how to download a file and then use pip to install it.</p>

python pandas importerror python-3.5