我已经安装了Anaconda,但在python上运行代码时仍然无法使用诸如熊猫和请求等软件包。安装Anaconda后无法找到模块
当终端I输入蟒蛇,它表明:
Python 3.6.1 |Anaconda 4.4.0 (x86_64)| (default, May 11 2017, 13:04:09)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
而且我还创建了一个虚拟环境,并在打开的Python壳前启动:
conda create -n my-env python=3.6 anaconda
然而,重新打开时和运行代码在Python中,它一直在说“没有名为'pandas'的模块或者'没有模块名为'请求'”有人知道这个代码有什么问题吗?另外,我不是说Python的版本与这个错误有什么关系?是因为我使用3.6.2 Python而不是3.6.1?
你居然_using_环境,以'源激活我的-env'或者你有什么? – miradulo
是的。我之后输入了“source activate my-env” – judy524