conda

Apparently conda cannot find some very common packages: what am I doing wrong?

北战南征 提交于 2019-12-06 04:57:57
Environment: I'm using conda 4.6.7 on a Mac with High Sierra. I got some legacy Python code, and first of all I'd like to run it. Of course, since this is research code, I didn't expect to find "fancy stuff (!!)" such as a test suite, but I was hoping that at least a requirements.txt file would be provided. Pipe dream. After GREPping the list of import s across the various files composing the project, I came up with the following list of packages to be installed: conda install os sys math time scipy numpy zipfile urllib.request shutil PIL skimage config itertools logging json re random

jupyter ModuleNotFoundError: No module named matplotlib

喜夏-厌秋 提交于 2019-12-06 04:23:25
问题 I am currently trying to work basic python - jupyter projects. I am stuck on following error during matplotlib: screenshot on jupyter-error ModuleNotFoundError: No module named ' matplotlib ' I tried to update, reinstall matplotlib aswell in conda and in pip but it still not working. happy over every constructive feedback 回答1: open terminal and change the directory to Scripts folder where python installed. Then type the following command and hit enter pip install matplotlib Hope this will

How to uninstall r-essentials using conda?

本小妞迷上赌 提交于 2019-12-06 04:10:22
问题 Recently, I installed r-essentials using conda command: conda install -c r r-essentials as it is described in this url: https://anaconda.org/r/r-essentials. However, when I try to run a new R Kernel, ii fails according to this error: ...Anaconda3\R/bin/x64/Rterm.exe' is not recognized as an internal or external command, operable program or batch file. I want to remove R folder that was created after installation But I cannot find a way to remove that folder. I tried: conda uninstall r

Anaconda查找源及配置清华镜像

前提是你 提交于 2019-12-06 03:53:42
Anaconda配置清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes 查找软件 anaconda search -t conda tensorflow 选择想要的包 anaconda show ashahba/tensorflow 执行打印命令 来源: https://www.cnblogs.com/littlepage/p/11961208.html

Installing PyTorch

喜你入骨 提交于 2019-12-06 03:17:11
问题 I'd like to use PyTorch in a Python program. The instructions for installing it require conda. After installing Conda I ran >conda install -c pytorch pytorch (as instructed on the PyTorch [page][1]) It looked promising -- until the end. Solving environment: done ## Package Plan ## environment location: C:\ProgramData\Miniconda3 added / updated specs: - pytorch The following packages will be downloaded: package | build ---------------------------|----------------- icc_rt-2017.0.4 | h97af966_0

Equivalent of apt-get install python3.6-dev for conda

独自空忆成欢 提交于 2019-12-06 01:44:32
问题 How can I create a conda environment with the development version of python? Or does it already include all the necessary extension when I create one. conda create -n py36 python=3.6 回答1: conda search python has a maximum version of 3.6.5, so I think only stable releases are available through conda. edit: some dev versions are available on conda-forge: conda search python --channel conda-forge to see them conda create --name dev python=[version here] --channel conda-forge to install 来源: https

linux服务器上配置进行kaggle比赛的深度学习tensorflow keras环境详细教程

时光怂恿深爱的人放手 提交于 2019-12-06 01:42:27
本文首发于个人博客 https://kezunlin.me/post/6b505d27/ ,欢迎阅读最新内容! full guide tutorial to install and configure deep learning environments on linux server <!--more--> Quick Guide prepare tools MobaXterm (for windows) ssh + vscode for windows: drop files to MobaXterm to upload to server use zip format commands view disk du -d 1 -h df -h gpu and cpu usage watch -n 1 nvidia-smi top view files and count wc -l data.csv # count how many folders ls -lR | grep '^d' | wc -l 17 # count how many jpg files ls -lR | grep '.jpg' | wc -l 1360 # view 10 images ls train | head ls test | head link datasets # link ln -s

Windows 10 conda is not recognized as an internal or external command

送分小仙女□ 提交于 2019-12-06 00:21:52
问题 Tried to conda install -c conda-forge requests-futures=0.9.7 but failed with conda is not recognized as an internal or external command , C:\Users\user_name\Anaconda3\Scripts has been set for Path in environment variables under both user and System variables . I installed Python 3.5 as well and it is on Path , I am using Win10 X64 . How to fix the issue? 回答1: There is a similar question asked here before, check this may be it will help you. To make sure that conda package is installed

小目标二,环境的准备-Pycharm+Miniconda

风流意气都作罢 提交于 2019-12-05 23:07:44
工欲善其事,必先利其器! 1.PyCharm安装 地址: https://www.jetbrains.com/pycharm/ 下载安装就好了,网上或者淘宝买一个注册码 2. miniconda下载安装 (没有单独再安装python了,miniconda里面有) 地址:https://conda.io/miniconda.html 关于 anaconda,conda,miniconda,pip,virtualenv的区别与联系,大家自己百度吧。 3. 给miniconda设置国内镜像 参考: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 命令执行完后,会生成~/.condarc(Linux/Mac)或C:\Users\USER_NAME.condarc文件。你也可以直接修改该文件。 4. pycharm设置文件编码为utf-8 然后创建的文件都添加编码信息为 # -*- coding:utf-8 -*- 这样能避免掉一些莫名的坑 5. Hello World一下 ok,环境是可以的。 6. 一般项目文件结构 参考:https://blog.csdn.net/loveliuzz/article/details/78093392 bin: 可执行文件脚本 docs:文档目录 stockx:项目源码目录

Docker build-容器构建加速攻略

…衆ロ難τιáo~ 提交于 2019-12-05 23:05:53
容器构建时需要下载多种软件,往往这是非常耗时间的。hub.docker.com本来就慢,尤其是遇到存放在gcr.io/aws等上面的模块就挂了,pip安装python模块是也较慢,conda的下载更是如蜗牛。 加快容器构建时的下载速度,有多种方法: 1、放在“外面的服务器”构建,然后传送到aliyun等镜像,下载速度就会快很多很多。 步骤可以参考: 在阿里云创建Kubernetetes-1.11.0镜像服务(高速) 系统盘不够的话,参考: 如何给容器服务的Docker增加数据盘 2、添加proxy和pip、conda的镜像。如下是给jupyterhub环境下使用构建的一个singleuser镜像。 # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. FROM jupyter/all-spark-notebook:5811dcb711ba LABEL maintainer="Databook Project,https://github.com/databooks<openthings@163.com>" USER root # ======================================================