[英]How to install cufflinks in Python3?
I am using Python 3 on macOS.我在 macOS 上使用 Python 3。 I have cufflinks installed but IDLE shows
我安装了袖扣,但 IDLE 显示
ModuleNotFoundError: No module named 'cufflinks'
I have used multiple commands in the terminal such as:我在终端中使用了多个命令,例如:
pip install cufflinks
conda install cufflinks
conda install -c bioconda cufflinks
pip3 install cufflinks
conda-forge install cufflinks
I have even tried to uninstall and reinstall cufflinks multiple times but IDLE still does not work properly.我什至多次尝试卸载并重新安装袖扣,但 IDLE 仍然无法正常工作。
遇到了类似的问题,但这在 Ubuntu 和 Jupyter 笔记本上对我有用
conda install -c conda-forge cufflinks-py
(make sure you have opened your cmd as an administrator or in Linux use sudo) (确保您已以管理员身份打开 cmd 或在 Linux 中使用 sudo)
first of all update your pip首先更新你的点子
python -m pip install --upgrade pip
then install plotly然后安装
pip install plotly
then install cufflinks然后安装袖扣
pip install cufflinks
I am installing in my env under Ubuntu and Jupyter Notebook with this:我在 Ubuntu 和 Jupyter Notebook 下的环境中安装:
import sys
!conda install --yes --prefix {sys.prefix} cufflinks
Or:或者:
!{sys.executable} -m pip install cufflinks
conda install -c conda-forge/label/cf202003 cufflinks-py
这对我有用。
Install the module:安装模块:
pip install cufflinks
First import sys module:首先导入 sys 模块:
import sys
and then import cufflinks:然后导入袖扣:
import cufflinks
I hope it works for you too..我希望它也适用于你..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.