无法下载jupyter_contrib_nbextensions

无法下载pip install jupyter_contrib_nbextensions

在各个浏览器搜索了 可能输入过长 一直有找到解决方法

cmd内使用pip install jupyter_contrib_nbextensions

一直失败

ERROR: Could not find a version that satisfies the requirement jupyter_contrib_nbextensions (from versi
ons: none)
ERROR: No matching distribution found for jupyter_contrib_nbextensions

1个回答

检测一下是不是你的Python版本不对

Dai_shocker
Dai_shocker 我试试
11 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Python+OpenCV计算机视觉

Python+OpenCV计算机视觉

jupyter安装jupyter_contrib_nbextensions之后nbextensions标签不显示

按照 https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html#install-the-python-package 提供的安装方法 执行以下命令 pip install jupyter_contrib_nbextensions 无报错并提示 Installing collected packages: jupyter-nbextensions-configurator, jupyter-contrib-nbextensions Successfully installed jupyter-contrib-nbextensions-0.5.0 jupyter-nbextensions-configurator-0.4.0 执行 jupyter contrib nbextension install --user 无报错 ``` Enabling: jupyter_nbextensions_configurator - Writing config: C:\Users\Hatsune Miku\.jupyter - Validating... jupyter_nbextensions_configurator 0.4.0 ok Enabling notebook nbextension nbextensions_configurator/config_menu/main... Enabling tree nbextension nbextensions_configurator/tree_tab/main... [I 14:26:29 InstallContribNbextensionsApp] Enabling notebook extension contrib_nbextensions_help_item/main... [I 14:26:29 InstallContribNbextensionsApp] - Validating: ok [I 14:26:29 InstallContribNbextensionsApp] - Editing config: C:\Users\Hatsune Miku\.jupyter\jupyter_nbconvert_config.json [I 14:26:29 InstallContribNbextensionsApp] -- Configuring nbconvert template path [I 14:26:29 InstallContribNbextensionsApp] -- Configuring nbconvert preprocessors [I 14:26:29 InstallContribNbextensionsApp] - Writing config: C:\Users\Hatsune Miku\.jupyter\jupyter_nbconvert_config.json [I 14:26:29 InstallContribNbextensionsApp] -- Writing updated config file C:\Users\Hatsune Miku\.jupyter\jupyter_nbconvert_config.json ``` 启动jupyter jupyter notebook ``` [W 14:26:48.022 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty') [I 14:26:48.053 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.0 [I 14:26:48.053 NotebookApp] Serving notebooks from local directory: G:\Python\jupyter-workspace [I 14:26:48.053 NotebookApp] The Jupyter Notebook is running at: [I 14:26:48.053 NotebookApp] http://localhost:8888/?token=7ca3b607fd4757bf076262a5ce84ba22f5634803a7f615db [I 14:26:48.053 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 14:26:48.100 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=7ca3b607fd4757bf076262a5ce84ba22f5634803a7f615db [I 14:26:48.537 NotebookApp] Accepting one-time-token-authenticated connection from ::1 ``` ![图片说明](https://img-ask.csdn.net/upload/201809/30/1538289068_732624.png) 没有nbextensions标签 请问要怎么解决这个问题,已经重新安装jupyter_contrib_nbextensions很多次了

[Errno 'jupyter-contrib' not found] 2

想给jupyter notebook安装自动提示功能时遇到 jupyter contrib nbextension install --user Error executing Jupyter command 'contrib': [Errno 'jupyter-contrib' not found] 2 这种问题需要怎么解决呢

cmake编译opencv3.2+opencv_contrib一直报错。。

一直会提示这个错,有大神知道原因吗,我把一些依赖包下载下来放固定目录里了。还是该提醒还提醒错。我用的是opencv3.2+vs2015。 CMake Error at H:/OpenCV/opencv/sources/cmake/OpenCVUtils.cmake:1005 (file): file MD5 failed to read file "H:/OpenCV/Library/3rdparty/protobuf/": Permission denied Call Stack (most recent call first): H:/OpenCV/opencv_contrib-master/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:32 (ocv_download) H:/OpenCV/opencv_contrib-master/modules/dnn/CMakeLists.txt:5 (include)![图片说明](http://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif)![图片说明](http://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/5.gif)

vs2015 cmake编译opencv3.1+opencv_contrib报错

在OPENCV_EXTRA_MODULES_PATH,添加opencv_contrib目录后报错,求问是什么问题啊? CMake Error at /Users/Documents/opencv/source/opencv-3.2.0/cmake/OpenCVUtils.cmake:1045 (file): file DOWNLOAD cannot open file for write. Call Stack (most recent call first): /Users/Documents/opencv/source/opencv_contrib-master/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:32 (ocv_download) /Users/Documents/opencv/source/opencv_contrib-master/modules/dnn/CMakeLists.txt:5 (include) CMake Error at /Users/Documents/opencv/source/opencv-3.2.0/cmake/OpenCVUtils.cmake:1049 (message): Failed to download . Status= Call Stack (most recent call first): /Users/Documents/opencv/source/opencv_contrib-master/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:32 (ocv_download) /Users/Documents/opencv/source/opencv_contrib-master/modules/dnn/CMakeLists.txt:5 (include)

windows下cmake编译opencv3.1+opencv_contrib一直报错

错误如下,是在配置“OPENCV_EXTRA_MODULES_PATH” 这个时候报错的 CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:857 (file): file MD5 failed to read file "C:/Users/wyq/Downloads/opencv/opencv_contrib-master/3rdparty/tinydnn/": Permission denied Call Stack (most recent call first): C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download) Downloading ... CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:895 (file): file DOWNLOAD cannot open file for write. Call Stack (most recent call first): C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download) CMake Error at C:/Users/wyq/Downloads/opencv/sources/cmake/OpenCVUtils.cmake:899 (message): Failed to download . Status= Call Stack (most recent call first): C:/Users/wyq/Downloads/opencv/opencv_contrib-master/modules/dnn_modern/CMakeLists.txt:18 (ocv_download) Configuring incomplete, errors occurred! See also "C:/Users/wyq/Downloads/opencv/opencv_contrib-master/CMakeFiles/CMakeOutput.log". See also "C:/Users/wyq/Downloads/opencv/opencv_contrib-master/CMakeFiles/CMakeError.log".

添加OpenCV contrib模块时总是出现这个错误!

CMake Error at F:/Download/opencv_contrib-master/modules/dnn/cmake/download_protobuf.cmake:23 (ocv_download): Unknown CMake command "ocv_download". Call Stack (most recent call first): F:/Download/opencv_contrib-master/modules/dnn/cmake/download_protobuf.cmake:51 (ocv_protobuf_download) F:/Download/opencv_contrib-master/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:30 (include) F:/Download/opencv_contrib-master/modules/dnn/CMakeLists.txt:35 (include) 这个错误是什么意思啊,是ovc_download这行代码无法识别吗? 怎么修改才能使编译通过啊?

opencv3.0/opencv3.1+camke+opencv_contrib总在最后失败

用camke将opencv_contrib加到opencv中,第一次编译可以调试通过,但第二次总是不行,总有这样那样的问题,但有个问题就是好不好,求指导

vs2019+opencv3.4.5+opencv_contrib3.4.5,cmake成功但是重新生成时有大量失败的情况

按照教程成功生成opencv.sln,在vs里点重新生成解决方案时候有很多失败,我看了下全是报的无法打开opencvworld345d.lib ![图片说明](https://img-ask.csdn.net/upload/201906/28/1561687517_322868.png) 我发现那个路径下确实没有opencvworld345d.lib。是我cmake的时候不完全吗?

pip安装lxml库和Jupyter库失败怎么办

我用pip安装lxml库和Jupyter库,然后报错,如图 ![图片说明](https://img-ask.csdn.net/upload/201910/27/1572160741_604464.png) Jupyter库安装时的错太多了,放不出来 其中pip还尝试过用wheel安装,也不行 ![图片说明](https://img-ask.csdn.net/upload/201910/27/1572160865_989563.png)

关于opencv_contrib的一个问题

事情是这样的: 我按照CSDN上大佬们的帖子配置好了opencv-contrib。但是当时有个细节没有注意到, 就是库目录里面添加\opencv\new_build\install\x64\vc14\staticlib _这就直接导致了我这两天在学习tracker函数的时候一直报错。然后我想回去把staticlib加到库目录里面的时候发现我根本就没有这个东西?又重新装了一遍还是不行![图片说明](https://img-ask.csdn.net/upload/202004/01/1585749054_640554.png)。但是我当时确实是按教程全部生成成功了的。所以现在怎么办请大佬教我一下,球球了。救救孩子吧。谢谢![图片说明](https://img-ask.csdn.net/upload/202004/01/1585749226_307397.png)![图片说明](https://img-ask.csdn.net/upload/202004/01/1585749236_305598.png)![图片说明](https://img-ask.csdn.net/upload/202004/01/1585749246_933780.png) 这是我成功配置的证据。

关于opencv-contrib-master里面的modules包里的程序怎么运行

我用cmake编译了opencv,在vs里面生成了工程,运行不 了 opencv_contrib-master (1)\opencv_contrib-master\modules\structured_light\samples 运行不了里面的例子a啊

vs2019配置opencv3.4.5和opencv_contrib-3.4.5编译成功后生成install报错

按照网上的教程cmake成功了,重新生成解决方案也成功了,现在点仅生成install报错,很多回答都是管理员权限,我试了没有用,到底是什么问题啊?卡在这里很长时间了

opencv-contrib3.2编译成功但是不完整

用cmake编译contrib,好不容易成功了,到vs生成项目时结果有几个生成失败,提示无法打开opencv_xxxxx320d.lib,我到lib文件夹里确实没找到这几个lib文件,对应的dll也没有,这是什么原因??

WIN10 OPENCV_contrib3.4.4 调用SURF 算子无法创建问题

我用的是官方例程里的SURF算法例程,其中在创建一步即: ``` Ptr<SURF> detector = SURF::create(minHessian); ``` 出现以下问题。 0x00007FFC6B65A388 处(位于 Project1.exe 中)有未经处理的异常: Microsoft C++ 异常: cv::Exception,位于内存位置 0x0000009986FEF1A8 处。 我用的是VS2017+opencv3.4.4+opencv_contrib3.4.4 ,求教各位大佬! ![图片说明](https://img-ask.csdn.net/upload/201812/28/1545988192_679950.png)

QT5.9+OpenCV3.10_contrib,GitHub上人脸识别找不到face相关类和hpp

调配了很多天的环境,网上说OpenCV3以后face.hpp在contrib扩展包里面,我都配置好之后还是有如下毛病:(之前用的OpenCV2.410也是如下毛病) #如果在头文件加上 ``` #include<opencv2/contrib/contrib.hpp> #include<opencv2/face.hpp> ``` 就会报错 ``` error: opencv2/face.hpp: No such file or directory ``` ## 如果把这个注释掉(依然保留#include<opencv2/contrib/contrib.hpp>) 就会报错 ![图片说明](https://img-ask.csdn.net/upload/201709/13/1505307425_541519.png) 即 face名词空间还是没找到,和face有关的类还是没找到 百度了很深的程度也没有解决,希望有前辈指点一下,很想完成一个人脸识别的功能 下面把代码都贴出来(UI就不放了) 1、pro文件: ``` #------------------------------------------------- # # Project created by QtCreator 2015-11-11T08:11:51 # #------------------------------------------------- QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = face_recognition TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui INCLUDEPATH+=C:\OpenCV_contrib\include\opencv\ C:\OpenCV_contrib\include\opencv2\ C:\OpenCV_contrib\include LIBS += -LC:/OpenCV_contrib/lib -lopencv_core2410.dll \ -lopencv_highgui2410.dll -lopencv_imgproc2410.dll -lopencv_features2d2410.dll \ -lopencv_calib3d2410.dll \ -lopencv_objdetect2410.dll \ -lopencv_contrib2410.dll ``` MainWindow.h : ``` #ifndef MAINWINDOW_H #define MAINWINDOW_H #include<QMainWindow> #include<QCloseEvent> #include<opencv2/highgui/highgui.hpp> #include<opencv2/imgproc/imgproc.hpp> #include<opencv2/core/core.hpp> #include<opencv2/objdetect/objdetect.hpp> #include<opencv2/contrib/contrib.hpp> //#include<opencv2/face.hpp> #include<iostream> using namespace std; using namespace cv; using namespace face; namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private slots: void on_loadButton_clicked(); void on_testButton_clicked(); void on_regButton_clicked(); void closeEvent(QCloseEvent *e); private: Ui::MainWindow *ui; Ptr<LBPHFaceRecognizer> model; QString fileName,saveXml,saveName,name[10]; }; #endif // MAINWINDOW_H ``` cpp文件: ``` #include "mainwindow.h" #include "ui_mainwindow.h" #include<QDebug> #include<QFileDialog> #include<QPixmap> #include<QFile> #include<QTextStream> //正面,上,下,左,右5张.阉值85.00 MainWindow::MainWindow(QWidget *parent): QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); saveName = "Names.txt"; saveXml = "att_model.xml"; model = createLBPHFaceRecognizer(); if(QFile::exists(saveXml)&&QFile::exists(saveName)) { model->load(saveXml.toStdString()); QFile file(saveName); if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return; QTextStream in(&file); QString lineText; while(!in.atEnd()) { lineText = in.readLine(); QString i = lineText.split(":").first(); name[i.toInt()] = lineText.split(":").last(); } } // for(int i=1;i<11;i++) // for(int j=1;j<10;j++) // { // QString file = "att_faces/s%1/%2.pgm"; // images.push_back(imread(file.arg(i).arg(j).toStdString(), CV_LOAD_IMAGE_GRAYSCALE)); // labels.push_back(i); // } // model = createLBPHFaceRecognizer(); // //model->train(images, labels); // //model->save("att_model.xml"); // model->load("att_model.xml"); } MainWindow::~MainWindow() { delete ui; } void MainWindow::closeEvent(QCloseEvent *e) { model->save(saveXml.toStdString()); QFile file(saveName); if(!file.open(QIODevice::WriteOnly|QIODevice::Text)) return; QTextStream out(&file); for(int i=0;i<10;i++) { if(name[i].isEmpty()) continue; out<<i<<":"<<name[i]<<"\n"; } e->accept(); } void MainWindow::on_loadButton_clicked() { fileName = QFileDialog::getOpenFileName(this,tr("选择图片"),tr(".")); if(fileName.isEmpty()) return; ui->showLabel->setPixmap(QPixmap(fileName)); ui->textBrowser->append(tr("打开图片%1").arg(fileName.split("/").last())); } void MainWindow::on_testButton_clicked() { if(fileName.isEmpty()||ui->nameEdit->text().isEmpty()) return; vector<Mat> images; vector<int> labels; images.push_back(imread(fileName.toStdString(),CV_LOAD_IMAGE_GRAYSCALE)); labels.push_back(ui->labelBox->value()); name[ui->labelBox->value()] = ui->nameEdit->text(); ui->textBrowser->append(tr("准备训练: 姓名:%1 标签:%2 ...").arg(ui->nameEdit->text()).arg(ui->labelBox->value())); model->update(images,labels); ui->textBrowser->append(tr("训练完成")); } void MainWindow::on_regButton_clicked() { ui->nameLabel->clear(); if(fileName.isEmpty()) return; Mat image = imread(fileName.toStdString(), CV_LOAD_IMAGE_GRAYSCALE); model->setThreshold(ui->doubleSpinBox->value()); ui->textBrowser->append(tr("准备识别Threshold:%1 ...").arg(ui->doubleSpinBox->value())); int result = model->predict(image); ui->textBrowser->append(tr("识别完成")); if(result < 0) ui->nameLabel->setText(tr("无法识别此人")); else ui->nameLabel->setText(tr("%1").arg(name[result])); } ``` main.cpp: #include "mainwindow.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }

编译opencv+contribute出现错误

CMake Error at E:/AutonomousNavigationRobot/Opencv3.0/opencv_contrib-master/opencv_contrib-master/modules/dnn/cmake/download_protobuf.cmake:23 (ocv_download): Unknown CMake command "ocv_download". Call Stack (most recent call first): E:/AutonomousNavigationRobot/Opencv3.0/opencv_contrib-master/opencv_contrib-master/modules/dnn/cmake/download_protobuf.cmake:51 (ocv_protobuf_download) E:/AutonomousNavigationRobot/Opencv3.0/opencv_contrib-master/opencv_contrib-master/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:30 (include) E:/AutonomousNavigationRobot/Opencv3.0/opencv_contrib-master/opencv_contrib-master/modules/dnn/CMakeLists.txt:38 (include)

编译opencv contrib(opencv扩展库)库失败

环境:vs2015 community with update 3, Opencv3.2.0vc14, opencv_contrib 3.2.0 目标:自己编译opencv+opencv_contrib库。 编译出错提示(部分): 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C2610 “std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple(const std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth> &)”: 不是可默认为的特殊成员函数 opencv_perf_core D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 607 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C2610 “std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple(std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth> &&)”: 不是可默认为的特殊成员函数 opencv_perf_core D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\tuple 608 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C2382 “std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::operator =”: 重定义;不同的异常规范 opencv_perf_core D:\opencv\sources\modules\ts\include\opencv2\ts\ts_perf.hpp 385 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C2264 “std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple”: 函数定义或声明中有错误;未调用函数 opencv_perf_core D:\opencv\sources\modules\core\perf\opencl\perf_channels.cpp 165 严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C2264 “std::tuple<cv::Size,perf::`anonymous-namespace'::MatDepth>::tuple”: 函数定义或声明中有错误;未调用函数 opencv_perf_core D:\opencv\sources\modules\core\perf\opencl\perf_channels.cpp 187

OpenCV 3.20 + contrib

有一个很有意思的现象,出现在勾选contrib,利用CMAKE生成 OpenCV 3.20的过程中。 1.是这样的,每一次All build之后,VS2015都会提示有若干个库生成失败。 2.当install完成之后,会生成的lib的文件夹。因为上一步all build错误,我install过好多次,我发现在lib 文件夹下,这些lib文件有时候多一个,有时候少一个。比如第一次install完成后就有photo320d.lib 而第二次就没有该lib文件。好奇怪呀! 是只有我出现这种现象吗?请各位提出一些思路,先谢谢啦!

2019 Python开发者日-培训

2019 Python开发者日-培训

150讲轻松搞定Python网络爬虫

150讲轻松搞定Python网络爬虫

设计模式(JAVA语言实现)--20种设计模式附带源码

设计模式(JAVA语言实现)--20种设计模式附带源码

YOLOv3目标检测实战:训练自己的数据集

YOLOv3目标检测实战:训练自己的数据集

java后台+微信小程序 实现完整的点餐系统

java后台+微信小程序 实现完整的点餐系统

三个项目玩转深度学习(附1G源码)

三个项目玩转深度学习(附1G源码)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

2019 AI开发者大会

2019 AI开发者大会

玩转Linux:常用命令实例指南

玩转Linux:常用命令实例指南

一学即懂的计算机视觉(第一季)

一学即懂的计算机视觉(第一季)

4小时玩转微信小程序——基础入门与微信支付实战

4小时玩转微信小程序——基础入门与微信支付实战

Git 实用技巧

Git 实用技巧

Python数据清洗实战入门

Python数据清洗实战入门

使用TensorFlow+keras快速构建图像分类模型

使用TensorFlow+keras快速构建图像分类模型

实用主义学Python(小白也容易上手的Python实用案例)

实用主义学Python(小白也容易上手的Python实用案例)

程序员的算法通关课:知己知彼(第一季)

程序员的算法通关课:知己知彼(第一季)

MySQL数据库从入门到实战应用

MySQL数据库从入门到实战应用

机器学习初学者必会的案例精讲

机器学习初学者必会的案例精讲

手把手实现Java图书管理系统(附源码)

手把手实现Java图书管理系统(附源码)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

.net core快速开发框架

.net core快速开发框架

玩转Python-Python3基础入门

玩转Python-Python3基础入门

Python数据挖掘简易入门

Python数据挖掘简易入门

微信公众平台开发入门

微信公众平台开发入门

程序员的兼职技能课

程序员的兼职技能课

Windows版YOLOv4目标检测实战:训练自己的数据集

Windows版YOLOv4目标检测实战:训练自己的数据集

HoloLens2开发入门教程

HoloLens2开发入门教程

微信小程序开发实战

微信小程序开发实战

Java8零基础入门视频教程

Java8零基础入门视频教程

Python可以这样学(第一季:Python内功修炼)

Python可以这样学(第一季:Python内功修炼)

相关热词 c# 解析cad c#数字格式化万 c#int转byte c#格式化日期 c# wpf 表格 c# 实现ad域验证登录 c#心跳包机制 c#使用fmod.dll c#dll vb 调用 c# outlook
立即提问
相关内容推荐