Anaconda

iPython Notebook in Windows - Error on Startup

我的梦境 提交于 2020-01-06 20:35:21
问题 I am trying desperately to get ipython notebook to work in a windows environment. I installed Continuum IO's Anaconda, a scientific distribution of python. I want to use ipython notebook, but get the following error. ipython in the terminal works fine. Any thoughts? UPDATE: As asked for below, here is the output from sys.path on my system. ['', 'C:\\Anaconda\\scripts', 'C:\\Anaconda\\lib\\site-packages\\distribute-0.6.45-py2.7.egg', 'C:\\Anaconda', 'C:\\Users\\btibert\\ C:\\Anaconda\\Scripts'

iPython Notebook in Windows - Error on Startup

孤者浪人 提交于 2020-01-06 20:35:03
问题 I am trying desperately to get ipython notebook to work in a windows environment. I installed Continuum IO's Anaconda, a scientific distribution of python. I want to use ipython notebook, but get the following error. ipython in the terminal works fine. Any thoughts? UPDATE: As asked for below, here is the output from sys.path on my system. ['', 'C:\\Anaconda\\scripts', 'C:\\Anaconda\\lib\\site-packages\\distribute-0.6.45-py2.7.egg', 'C:\\Anaconda', 'C:\\Users\\btibert\\ C:\\Anaconda\\Scripts'

VScode 配置python+bash环境,在windows下运行Faster RCNN代码

天涯浪子 提交于 2020-01-06 19:27:13
VScode 配置python+bash环境,在windows下运行Faster RCNN代码 VScode+anaconda+git bash配置 下载安装vscode+anaconda+git bash 设置vscode的python环境 设置vscode的git bash环境 设置windows的环境变量,使vscode的bash 查找到anaconda的python环境 VScode+anaconda+git bash配置 Github上面的很多模型都是兼容linux ubuntu,例如搭建一个基础的 Faster RCNN+RCNN 模型。现在我想在windows下面使用该模型,该怎么做呢? 使用工具:编辑代码使用腾讯优图流行的Vscode,但VScode上面使用windows自带的cmd终端运行代码指令非常不方便,因此这里需要借助Git bash工具,本博客主要是介绍联合配置Vscode+ananconda(tf-CPU)+git bash来实现环境搭建,最终将一个OCR模型(目标检测使用Faster RCNN, 字符识别使用CRNN)运行起来。 下载安装vscode+anaconda+git bash 从链接下载 anaconda 和 vscode ,及如何使用vscode强大的编辑器请参考 链接 。安装步骤请独立完成。搜索git bash的windows版本

conda update --all = “ImportError: DLL load failed: %1 is not a valid Win32 application.” when trying to import matplotlib.pyplot

百般思念 提交于 2020-01-06 14:48:08
问题 I use the Python distribution. Python 2.7 x64 with Windows 7 SP1 x64 Ultimate. After a conda update --all , whenever I try to import matplotlib.pyplot I get ImportError: DLL load failed: %1 is not a valid Win32 application. . Why? Full error stack: Traceback (most recent call last): File "C:\svn\hw4\code\test_con.py", line 1, in <module> import matplotlib.pyplot as plt File "C:\Anaconda\lib\site-packages\matplotlib\pyplot.py", line 109, in <module> _backend_mod, new_figure_manager, draw_if

mysql.connector.errors.InterfaceError: 2026 (HY000)

不羁的心 提交于 2020-01-06 07:12:10
问题 After switching from homebrew python to anaconda python, code that worked previously, now gets the following error: mysql.connector.errors.InterfaceError: 2026 (HY000): SSL connection error: SSL_CTX_set_tmp_dh failed Here is my code: import mysql.connector mydb = mysql.connector.connect( host = "localhost", user = "root", passwd = "123456root", database = "tourists" ) mycursor = mydb.cursor() #mycursor.execute("CREATE DATABASE tourists") #mycursor.execute("CREATE TABLE clients(id INT NOT NULL

Jupyter lab installing/importing packages

风格不统一 提交于 2020-01-06 05:34:11
问题 I am trying to install plotnine for a notebook I am using. I have done the following: Created a conda environment using python 3.6, and adding plotnine Launching jupyter lab with the above environment activated In the notebook, I added the following line: !conda install -c conda-forge --yes plotnine However, my output makes no sense. First it says that all requested packages have been installed, and then it says it cannot find the module !conda install -c conda-forge --yes plotnine from

How to install specific awscli version in conda env (running 3.6) when not found in current channels

和自甴很熟 提交于 2020-01-06 05:30:18
问题 I am trying to install a specific version of awscli within my conda environment (running python 3.6). I have tried adding conda-forge to my current channels, as suggested in another post. When I run the command conda install -p /Users/myname/anaconda3/envs/py36 awscli==1.11.156 -y It errors with this message: Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - awscli==1.11.156 Current channels: - https://repo.continuum.io/pkgs

Cannot create a new environment or install libraries in Ananconda

好久不见. 提交于 2020-01-06 04:30:38
问题 I am trying to create a new environment from Anaconda navigator and from conda prompt. I cannot install python libraries as well. I get below error: CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2 Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. If your current network has https://www.anaconda.com blocked, please file a support

Anaconda cannot import ssl but Python can

不想你离开。 提交于 2020-01-06 03:24:07
问题 Anaconda 3 Jupyter notebook cannot import ssl but using Atom terminal to import ssl has no problem. I am trying to import ssl in Jupyter notebook but is given the following error: C:\ProgramData\Anaconda3\lib\ssl.py in <module> 96 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag 97 ---> 98 import _ssl # if we can't import it, let the error propagate 99 100 from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION ImportError: DLL load failed: The

Anaconda 安装scrapy

梦想的初衷 提交于 2020-01-05 21:20:08
版权声明:本文为博主原创文章,未经博主允许不得转载。 1.下载Anaconda,用的清华的镜像 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 安装一路next即可 第一个勾:是否把Anaconda加入环境变量 第二个勾:是否设置Anaconda所带的Python 3.6为系统默认的Python版本 2.Anaconda安装成功之后,我们需要修改其包管理镜像为国内源。 在cmd总执行下面两行代码即可。 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes 3.安装Scrapy 本来直接用命令安装conda install scrapy 可是如下错误 C:\Windows\System32>conda install scrapy Fetching package metadata ..... CondaHTTPError: HTTP None None for url <https://repo.continuum.io/pkgs/free/win- 64/repodata.json.bz2> Elapsed: None An