conda

conda returns 'Solving environment: failed'

怎甘沉沦 提交于 2019-12-03 06:03:31
I can not use the conda utility anymore. I use it regularly since years but lately, since I installed the python module scp (with the command conda install scp , I don’t know if it matters) without anything visibly unusual, I get the error below whatever the command as soon as I use conda (conda install …, conda update …, conda uninstall …, … , the message is always the same): Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/Users/steph/anaconda/lib/python3.5/site-packages/conda/exceptions.py", line 819, in _

Anaconda3 activate.bat is not recognized as an internal or external command

不问归期 提交于 2019-12-03 05:32:47
I have downloaded Anaconda3 for windows 64-bit operating system. After the download and install completed, I opened the Anaconda prompt but it give me this nice error: 'C:\Anaconda3\Scripts\activate.bat' is not recognized as an internal or external command,operable program or batch file. I just surfed the internet and found a solution to uninstall all previous packages of python but did not work. I have searched for activate.bat file in my system " found it in one folders of anaconda directory " and copy, paste it to the Scripts folder but it gives me errors with conda packages and

How do I use a conda environment with mod_wsgi?

可紊 提交于 2019-12-03 05:20:24
My first post, and I'm new to both Python and Apache, so please go easy on me. I have a Python web application in a conda environment that serves up content just fine using Flask. Now I need to serve everything with Apache instead of Flask. I can get Apache to run Python with mod_wsgi, but only with virtualenv. I tried installing virtualenv with Anaconda, but I received a warning that such a setup is unsupported and not recommended. So my question is this: How do I set up Apache to run my application in a conda environment? Here , there's a section on working with virtual environments, and it

conda: remove all installed packages from base/root environment

跟風遠走 提交于 2019-12-03 05:03:23
TL:DR: How can I remove all installed packages from base ? I installed a bunch of machine learning packages in my base conda environment. I've now created a ml environment for machine learning, and wish to reset my base environment by removing all the packages installed there. I've tried: % activate base % conda uninstall -n base --all CondaEnvironmentError: cannot remove current environment. deactivate and run conda remove again Apparently, I can't remove packages from the current environment(?!), so lets switch to my ml environment first: % source activate ml % conda uninstall -n base --all

Unable to update conda packages behind corporate firewall. Updated .condarc file, proxy settings still it is asking for Proxy user name and password

萝らか妹 提交于 2019-12-03 04:56:24
I am behind a corporate firewall. I am trying to update the conda packages by running : conda update --all This is aking me for proxy user name and password. https proxy username: https proxy username: Password: After reading many articles on this problems i have taken help from my IT people and updated the proxy_server content in ".condarc" file as follows: binstar_upload: true channels: - https://conda.binstar.org/numba - https://pypi.python.org/simple/ - defaults proxy_servers: http: http://poPYtheSailor:spinach\@1234@1.1.1.1:5080 https: https://poPYtheSailor:spinach\@1234@1.1.1.1:5080 ssl

Anaconda环境配置常用命令

自闭症网瘾萝莉.ら 提交于 2019-12-03 04:21:36
1. 新建一个环境: conda create -n ForPytorch python=3.6 该行命令新建了一个叫做ForPytorch环境,该环境使用的python是3.6版本。新建一个环境的时候,系统将自动安装一些必要的包,其中包括pip. 2. 删除一个环境: conda env remove -n ForPytorch 该行命令删除了一个叫做ForPytorch环境。 3. 激活(进入)某个环境: conda activate ForPytorch 该行命令让我们进入到一个叫做ForPytorch环境。 4. 退出某个环境: conda deactivate 5. 如果需要在某个环境中安装一个包,如numpy包: conda install numpy 或者 pip install numpy conda和pip都是包管理器,似乎pip能下载到更多的包。建议在一个环境下只用其中一种包管理器。 6. 安装指定版本的包,以numpy为例: pip install numpy==1.6.0 7. 删除某个包,如删除numpy: pip uninstall numpy 8. 升级某个包,如numpy: pip install --upgrade numpy 9. 查看conda中所有的环境: conda info -e 10. 查看某个环境中安装的所有包,则需先进入该环境

Anaconda 入门

左心房为你撑大大i 提交于 2019-12-03 04:18:24
一. 什么是anaconda 简介   anaconda就是可以便捷获取包且对包能够进行管理,同时对环境可以进行统一管理的发行版本。anaconda包含了ocnda。python在内的超过180个科学包及其依赖项 特点 开源 安装过程简单 高性能使用python和r语言 免费的社区支持 内容 anaconda:是一个包含180+的科学包及其依赖的发行版本,其包含的科学包包括: conda,numpy,scipy,ipython notebook等 conda:conda是包及其依赖项和环境的管理工具 二. Anaconda的安装 macos系统安装Anaconda 图形界面安装 下载                来源: https://www.cnblogs.com/zhangjian0092/p/11776657.html

Python Anaconda: should I use `conda activate` or `source activate` in linux

与世无争的帅哥 提交于 2019-12-03 04:08:37
问题 So I am used to typing source activate <environment> when starting a python Anaconda environment. That works just fine. But when I create new conda environments I am seeing the message on Ubuntu 16.04 to start the environments with conda activate instead. Besides the errors about how to set up my shell to use conda activate instead, I am still not clear on what is the difference between source activate ... and conda activate ... Is there a reason to change? Does anyone know the difference

No module named 'lmdb' 的解决办法

孤者浪人 提交于 2019-12-03 04:05:57
在运行python程序时,执行到这一句报错: 尝试多种安装方式均无法解决,如: pip install lmdb conda install lmdb 直到查阅官方文档,找到如下解决办法,完美解决: https://anaconda.org/conda-forge/python-lmdb 注: 该方法只适合安装了conda的环境。 来源: CSDN 作者: 巧克力患者 链接: https://blog.csdn.net/abcd740181246/article/details/83046915

Ubuntu安装anaconda后conda: command not found

余生长醉 提交于 2019-12-03 04:04:23
【问题】 Ubuntu安装anaconda输入conda后conda: command not found,python也并不是anaconda的版本 【解决】 打开终端,输入如下命令 ibit@ibit:~$ echo 'export PATH="/home/anaconda3/bin:$PATH"' >> ~/.bashrc ibit@ibit:~$ source ~/.bashrc 来源: CSDN 作者: Rani_zZ 链接: https://blog.csdn.net/weixin_42731241/article/details/99675707