我剛剛安裝了Python 3.5.2。我正在shell/IDLE環境中工作,並嘗試導入Pandas。將熊貓導入Python
然而,當我寫:進口大熊貓
我得到如下:
Traceback (most recent call last):
File "C:/Users/bartogre/Desktop/Program1.py", line 1, in <module>
import pandas
ImportError: No module named 'pandas'
如何任何模塊添加到庫中的Python 3.5.2是閱讀?我不想在Anaconda工作。
我看了這個視頻:https://www.youtube.com/watch?v=ddpYVA-7wq4
及以下的CMD我的輸出:
C:\Users\bartogre>
C:\Users\bartogre>cd c:\users\bartogre\desktop\pyodbc-master
c:\Users\bartogre\Desktop\pyodbc-master>python setup.py
c:\Users\bartogre\Desktop\pyodbc-master>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
http://pandas.pydata.org/pandas-docs/version/0.18.1/install.html – Goyo
很難給你一個像樣的答案不知道是什麼你已經嘗試過的安裝方法。 –
嘿 - 更新了這個問題。我猜我需要安裝http://landinghub.visualstudio.com/visual-cpp-build-tools? – polonius11