Anaconda

conda 更换python版本

夙愿已清 提交于 2021-01-24 09:56:14
如将Anaconda 中默认版本Python3.7 版本修改成3.5 执行下列命令即可 conda install python=3.7.4 自动会卸载之前的版本,更新新的版本。 不过换了版本以后,第三方库也都需要重新安装,比如opencv,torch 其中TensorFlow 1.15版本需要单独下载,不支持,python3.8版本 下载网址: https://pypi.org/project/tensorflow/1.15.0/#files 感谢: https://blog.csdn.net/qq_31904559/article/details/84309756 来源: oschina 链接: https://my.oschina.net/u/4391345/blog/4921930

Jupyter notebook does not launch (ImportError: DLL load failed while importing)

本小妞迷上赌 提交于 2021-01-24 08:56:53
问题 Recently my jupyter notebook stopped launching. When I try the command jupyter notebook from anaconda prompt but it gives error Traceback (most recent call last): File "C:\Users\Dell\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in from notebook.notebookapp import main File "C:\Users\Dell\anaconda3\lib\site-packages\notebook\notebookapp.py", line 51, in from zmq.eventloop import ioloop File "C:\Users\Dell\anaconda3\lib\site-packages\zmq_ init _.py", line 50, in from zmq import

Jupyter notebook does not launch (ImportError: DLL load failed while importing)

冷暖自知 提交于 2021-01-24 08:54:52
问题 Recently my jupyter notebook stopped launching. When I try the command jupyter notebook from anaconda prompt but it gives error Traceback (most recent call last): File "C:\Users\Dell\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in from notebook.notebookapp import main File "C:\Users\Dell\anaconda3\lib\site-packages\notebook\notebookapp.py", line 51, in from zmq.eventloop import ioloop File "C:\Users\Dell\anaconda3\lib\site-packages\zmq_ init _.py", line 50, in from zmq import

How to install list of python libraries using yml file without making new environment

被刻印的时光 ゝ 提交于 2021-01-24 07:51:26
问题 I would like to know how to install python libraries using yml file without making a new environment. I already have tensorflow environment in conda. I want to install list of libraries into this tensorflow environment. It is the only way I know manually add each of these libraries but it is very hard to do this list. Please give me solution for that This is yml file: name: virtual_platform channels: - menpo - conda-forge - peterjc123 - defaults dependencies: - ffmpeg=3.2.4=1 - freetype=2.7

How to install list of python libraries using yml file without making new environment

你说的曾经没有我的故事 提交于 2021-01-24 07:51:06
问题 I would like to know how to install python libraries using yml file without making a new environment. I already have tensorflow environment in conda. I want to install list of libraries into this tensorflow environment. It is the only way I know manually add each of these libraries but it is very hard to do this list. Please give me solution for that This is yml file: name: virtual_platform channels: - menpo - conda-forge - peterjc123 - defaults dependencies: - ffmpeg=3.2.4=1 - freetype=2.7

Ubuntu 16.04上源码编译和安装pytorch教程,并编写C++ Demo CMakeLists.txt | tutorial to compile and use pytorch on...

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-24 04:49:06
本文首发于个人博客 https://kezunlin.me/post/54e7a3d8/ ,欢迎阅读最新内容! tutorial to compile and use pytorch on ubuntu 16.04 PyTorch for Python install pytorch from anaconda conda info --envs conda activate py35 # newest version # 1.1.0 pytorch/0.3.0 torchvision conda install pytorch torchvision cudatoolkit=9.0 -c pytorch # old version [NOT] # 0.4.1 pytorch/0.2.1 torchvision conda install pytorch=0.4.1 cuda90 -c pytorch output The following NEW packages will be INSTALLED: pytorch pytorch/linux-64::pytorch-1.1.0-py3.5_cuda9.0.176_cudnn7.5.1_0 torchvision pytorch/linux-64::torchvision-0.3.0-py35_cu9.0.176_1

How to clear cache (or force recompilation) in numba

前提是你 提交于 2021-01-23 05:02:31
问题 I have a fairly large codebase written in numba, and I have noticed that when the cache is enabled for a function calling another numba compiled function in another file, changes in the called function are not picked up when the called function is changed. The situation occurs when I have two files: testfile2: import numba @numba.njit(cache=True) def function1(x): return x * 10 testfile: import numba from tests import file1 @numba.njit(cache=True) def function2(x, y): return y + file1

How to clear cache (or force recompilation) in numba

不羁的心 提交于 2021-01-23 05:02:29
问题 I have a fairly large codebase written in numba, and I have noticed that when the cache is enabled for a function calling another numba compiled function in another file, changes in the called function are not picked up when the called function is changed. The situation occurs when I have two files: testfile2: import numba @numba.njit(cache=True) def function1(x): return x * 10 testfile: import numba from tests import file1 @numba.njit(cache=True) def function2(x, y): return y + file1

How to clear cache (or force recompilation) in numba

老子叫甜甜 提交于 2021-01-23 05:02:20
问题 I have a fairly large codebase written in numba, and I have noticed that when the cache is enabled for a function calling another numba compiled function in another file, changes in the called function are not picked up when the called function is changed. The situation occurs when I have two files: testfile2: import numba @numba.njit(cache=True) def function1(x): return x * 10 testfile: import numba from tests import file1 @numba.njit(cache=True) def function2(x, y): return y + file1

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

倖福魔咒の 提交于 2021-01-22 07:52:43
问题 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