Anaconda

How do i install dlib on fedora 30?

拈花ヽ惹草 提交于 2020-04-30 12:19:50
问题 I'm using the face_recognition module for a hobby project. And i download the source code from GitHub and put it in my project folder. It works fine. How do i properly install dlib on fedora 30? I tried installing dlib through pip and anaconda, neither worked. 回答1: Quick Install It's on Conda Forge, so you can use conda install -c conda-forge dlib Recommended Practice Even better, use a YAML and create a new env for your project. For example, if you want a minimal env just to run face

How do i install dlib on fedora 30?

与世无争的帅哥 提交于 2020-04-30 12:18:09
问题 I'm using the face_recognition module for a hobby project. And i download the source code from GitHub and put it in my project folder. It works fine. How do i properly install dlib on fedora 30? I tried installing dlib through pip and anaconda, neither worked. 回答1: Quick Install It's on Conda Forge, so you can use conda install -c conda-forge dlib Recommended Practice Even better, use a YAML and create a new env for your project. For example, if you want a minimal env just to run face

How do i install dlib on fedora 30?

空扰寡人 提交于 2020-04-30 12:18:06
问题 I'm using the face_recognition module for a hobby project. And i download the source code from GitHub and put it in my project folder. It works fine. How do i properly install dlib on fedora 30? I tried installing dlib through pip and anaconda, neither worked. 回答1: Quick Install It's on Conda Forge, so you can use conda install -c conda-forge dlib Recommended Practice Even better, use a YAML and create a new env for your project. For example, if you want a minimal env just to run face

windows10下Anaconda的安装与tensorflow、opencv的安装与环境配置

风流意气都作罢 提交于 2020-04-30 00:37:09
刚开始学习tensorflow和opencv这一块的知识,所以用博客这个平台来把自己这段学习的经历与感想写下来。 tensorflow和opencv则用Anaconda来下载和配置环境。 下载Anaconda,官网下载又慢又容易断,推荐一个网站:清华镜像,你可以自己去摸索。附上下载地址https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.1.0-Windows-x86_64.exe (64位的) 然后是Anaconda的安装过程, 第一个安装界面的两个选项都要选上 ,然后一路点是就行,安装路径自己选则也可。 安装好后打开Anaconda,点击左上角的第二个选项Environments,如图所示 接下来安装配置tensorflow。点击下方的Create,出现如图所示对话框,输入tensorflow,点击create按钮 接下来选中tensorflow,在右上方做如下选择 选中相应模块后点击下方的Apply进行安装 安装过程极其慢,所以安装之前,先在命令行工具里输入如下命令 conda config --add channels https: //mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config -- set show_channel

python连接mysql问题(包含警告1366, "Incorrect string value:问题)

泄露秘密 提交于 2020-04-29 19:41:24
####问题#### 关于mysql不多讲,我是用的是mysql5.7版本,使用数据库管理工具navicat for mysql,python使用python3.7版本,在使用python连接mysql时出现警告Warning: (1366, "Incorrect string value: '\xD6\xD0\如图: 我的连接代码是 engine = create_engine("mysql+pymysql://root:password@127.0.0.1:3306/mydata?charset=utf8")#操作数据库 ####以下是解决方法:#### 在使用python连接mysql时需要先安装mysql-python模块,然后安装mysql-connector-python驱动(在anaconda中的安装命令是conda install mysql-connector-python),也可以在pycharm中引用import mysql选择mysql-connector-python自动安装(若安装不成功还是使用命令安装),之后修改连接代码为: engine= create_engine('mysql+mysqlconnector://root:password@127.0.0.1:3306/mydata?charset=utf8') 就不会出现警告了,下面贴上测试代码:

windows 10安装 superset 集成kylin2.5.0

谁说我不能喝 提交于 2020-04-29 14:03:57
Superset 是一个数据探索和可视化平台,设计用来提供直观的,可视化的,交互式的分析体验,专注于数据可视化展现。 Superset 提供了两种分析数据源的方式: 1. 用户可以以单表形式直接查询多种数据源,包括 Presto、Hive、Impala、SparkSQL、MySQL、Postgres、Oracle、Redshift、SQL Server、Druid 、kylin等数据源。 2. 一个 SQL 的 IDE 供高级分析师使用 SQL 查询定义所需要分析的数据集,这种方法使用户在一个查询中实现用 Superset 查询数据源的多表,并立即对查询进行可视化分析。 安装python3.6 此过程简单,下载对应OS版本安装即可。 安装virtualenv Superset需要安装的组件较多,最好是使用virtualenv独立一套python环境 D:\python\Anaconda3>pip install virtualenv Collecting virtualenv Downloading https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any

How to install pytorch in windows?

拥有回忆 提交于 2020-04-29 07:43:11
问题 I am trying to install pytorch on windows and there is one which is available for it but shows an error. conda install -c peterjc123 pytorch=0.1.12 回答1: Warning: Unless you have a very specific reason not to, just follow the official installation instructions from https://pytorch.org. They are far more likely to be accurate and up-to-date. Here is how to install the PyTorch package from the official channel, on Windows using Anaconda, as of the time of writing this comment (31/03/2020):

Jupyter Notebook not saving: '_xsrf' argument missing from post

坚强是说给别人听的谎言 提交于 2020-04-29 05:46:17
问题 I've been running a script on jupyter notebooks for about 26 hour; I haven't really been using my computer for anything else, but it needs to run this program that will take ~30 hours to complete. At about 21 hours in, it stopped saving and my terminal had this: 403 PUT /api/contents/[file.ipynb] (::1): '_xsrf' argument missing from POST where [file.ipynb] is the location of my jupyter notebook. It also says: '_xsrf' argument missing from post in the top right part of the notebook again. The

Jupyter Notebook not saving: '_xsrf' argument missing from post

烂漫一生 提交于 2020-04-29 05:43:03
问题 I've been running a script on jupyter notebooks for about 26 hour; I haven't really been using my computer for anything else, but it needs to run this program that will take ~30 hours to complete. At about 21 hours in, it stopped saving and my terminal had this: 403 PUT /api/contents/[file.ipynb] (::1): '_xsrf' argument missing from POST where [file.ipynb] is the location of my jupyter notebook. It also says: '_xsrf' argument missing from post in the top right part of the notebook again. The

PyQt5 & Qt Designer使用小结

◇◆丶佛笑我妖孽 提交于 2020-04-29 03:15:18
开始在知乎写文章的原因,主要还是想整理平时的经验,方便自己以后查看,有机会的话大家也可以交流吧。 11月中旬由于项目需要,和另一名实习生负责使用Python开发一个数据分析的小软件。 虽然才开始接触Qt,属于菜鸟,但是由于第一步就需要用到它,所以第一篇文章就讲讲它吧。查了一些资料后,我们决定使用Qt Designer进行设计,然后转换为py文件,再使用PyQt5完成信号槽等操作,将我们基于sklearn加工而成的类和函数connect给信号槽。 1. PyQt5和Qt Designer的安装 pip install pyqt5 pip install pyqt5 - tools 安装完成后,Python安装目录下的Lib\site-packages\pyqt5-tools\designer\designer.exe即是Qt Designer软件。我用的是anaconda,所以Qt Designer软件在:C:\ProgramData\Anaconda3\Lib\site-packages\pyqt5_tools\designer.exe 安装中遇到的两个问题以及解决思路: (1)安装不了或者安装速度太慢。 可以尝试到官网或 Python Extension Packages for Windows 下载到本地,然后再用pip install安装。 (2)安装失败:***.whl