Anaconda

In pycharm ImportError: DLL load failed: The specified module could not be found. while importing facerecognition

こ雲淡風輕ζ 提交于 2021-01-22 07:50:26
问题 I am getting this error while importing "face_recognition" in Pycharm but it runs perfectly fine from "anaconda command prompt" . I don't understand why i am getting error in Pycharm but not in Anaconda cmd. I can successfully import cv2 in Pycharm . Can someone tell me how can i run it in pycharm? Below is complete error :- Traceback (most recent call last): File "C:/Users/r/PycharmProjects/Practise AI/check.py", line 1, in <module> import face_recognition File "C:\ProgramData\Anaconda3\lib

windows7 安装pytorch

你。 提交于 2021-01-22 04:48:34
这几天为了运行python的图像转换的项目,不得不安装pytorch,安装了两天,最后把经验记录一下。 如果版本不匹配会抛出很多错误,而网上的各种解决方式有大部分也解决不了问题。 在安装pytorch之前,首先是你的PC安装的是NVIDIA显卡,然后打开NVIDIA控制面板,查看CUDA的版本,老的显卡建议就到8.0,因为9.0的cuda要求显卡的计算能力在3.5以上 我的显卡计算能力只有3.0。如果显卡的版本较低需要进行cuda版本升级。 运算能力参照:https://blog.csdn.net/real_myth/article/details/44308169 NVIDIA版本下载:https://developer.nvidia.com/cuda-toolkit-archive 显卡版本安装之后,需要安装Anaconda3,参照网上的例子如果这时候进行pytorch安装,会默认安装cuda9.1,即使你指定cuda80也不好用,所以只能下载离线版本的 cuda为80版本的pytorch。 https://pan.baidu.com/s/1dF6ayLr?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0&traceid=#list/path=%2Fpytorch 下载到本地之后,在Anaconda

PyTorch 于 JupyterLab 的环境准备

偶尔善良 提交于 2021-01-21 21:05:11
PyTorch 是目前主流的深度学习框架之一,而 JupyterLab 是基于 Web 的交互式笔记本环境。于 JupyterLab 我们可以边记笔记的同时、边执行 PyTorch 代码,便于自己学习、调试或以后回顾。 本文将介绍这样的环境如何进行准备。了解更多: PyTorch 官方文档 JupyterLab 交互式笔记本 安装 Anaconda Anaconda: https://www.anaconda.com/products/individual#Downloads 北外镜像源: https://mirrors.bfsu.edu.cn/help/anaconda/ # 激活 base 环境 conda activate base 安装 JupyterLab JupyterLab: https://jupyterlab.readthedocs.io/ 应该已随 Anaconda 安装,如下查看版本: jupyter --version 不然,如下进行安装: conda install -c conda-forge jupyterlab 执行 jupyter lab 启动,浏览器会打开 http://localhost:8888/ : 版本 < 3.0 建议安装 TOC 扩展 : jupyter labextension install @jupyterlab/toc TOC

Error while import pygame

三世轮回 提交于 2021-01-21 07:30:15
问题 I've installed pygame with Anaconda using the following command: conda install --channel https://conda.anaconda.org/kne pygame Then I tried to import pygame and I got the following error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/ejalaa/anaconda/lib/python2.7/site-packages/pygame/__init__.py", line 133, in <module> from pygame.base import * ImportError: dlopen(/Users/ejalaa/anaconda/lib/python2.7/site-packages/pygame/base.so, 2): Library not loaded:

VSCode conda activate base giving CommandNotFoundError

帅比萌擦擦* 提交于 2021-01-21 04:38:45
问题 I have Anaconda and Visual Studio Code installed on my computer. My default terminal for VS Code is Git Bash. When I open a new terminal in VSCode, it immediately runs the following commands: C:/Users/ethan/AppData/Local/Continuum/anaconda3/Scripts/activate conda activate base The second of these commands gives the following error: CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If using 'conda activate' from a batch script, change your invocation to

Error importing tensorflow in anaconda on Mac OSX

风格不统一 提交于 2021-01-20 20:24:11
问题 I am trying to import tensorflow using python and anaconda on Mac OSX 10.11.6 (El Capitan). I have followed the instructions on tensorflow.org relating to installation with anaconda as follows: conda create -n tensorflow pip python=3.6 source activate tensorflow sudo -H pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.0-py3-none-any.whl And then starting python, and typing import tensorflow, produces an error: ImportError: dlopen(

How to uninstall package in Anaconda installed with pip

孤街醉人 提交于 2021-01-20 16:30:24
问题 The problem: I have installed Anaconda: conda -V conda 4.4.7 Also I installed a lot of packages for it using python3 setup.py install . I used it for some packages created from setup.py files. Now I want to uninstall one package. What I tried: pip uninstall packageName pip3 uninstall packageName conda uninstall packageName It works for python: check pip list and pip3 list and there isn't such package. Error: But for conda I got this: conda uninstall packageName Solving environment: failed

How to uninstall package in Anaconda installed with pip

若如初见. 提交于 2021-01-20 16:30:23
问题 The problem: I have installed Anaconda: conda -V conda 4.4.7 Also I installed a lot of packages for it using python3 setup.py install . I used it for some packages created from setup.py files. Now I want to uninstall one package. What I tried: pip uninstall packageName pip3 uninstall packageName conda uninstall packageName It works for python: check pip list and pip3 list and there isn't such package. Error: But for conda I got this: conda uninstall packageName Solving environment: failed

Make HTML not working for Sphinx documentation in windows 10

别说谁变了你拦得住时间么 提交于 2021-01-20 12:53:42
问题 I'm trying to follow the tutorial about how to set sphinx and Readthedocs together for project. I used Sphinx back in the day while in a internship, with ubuntu and the setup was quite seamless. I've just launched the sphinx-quickstart on my anaconda power shell. When I try to run make html the following error appears: (base) PS D:\code\RaspberryServer\docs> make html make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the

Make HTML not working for Sphinx documentation in windows 10

这一生的挚爱 提交于 2021-01-20 12:51:26
问题 I'm trying to follow the tutorial about how to set sphinx and Readthedocs together for project. I used Sphinx back in the day while in a internship, with ubuntu and the setup was quite seamless. I've just launched the sphinx-quickstart on my anaconda power shell. When I try to run make html the following error appears: (base) PS D:\code\RaspberryServer\docs> make html make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the