Anaconda

Unable to install tensorflow using conda with python 3.8

北战南征 提交于 2020-12-06 00:49:32
问题 Recently, I upgraded to Anaconda3 2020.07 which uses python 3.8. In past versions of anaconda, tensorflow was installed successfully. Tensorflow failed to be installed successfully in this version. I ran the command below; conda install tensorflow-gpu The error message that I received is shown below; UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - tensorflow-gpu -> python[version='3.5.*

jupyter notebook shows error message for matplotlib Bad key “text.kerning_factor”

╄→尐↘猪︶ㄣ 提交于 2020-12-05 05:26:40
问题 import pandas as pd import numpy as np import matplotlib.pyplot as plt Bad key "text.kerning_factor" on line 4 in /home/samyak/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test_patch.mplstyle. You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.1.3/matplotlibrc.template or from the matplotlib source distribution 回答1: It seems to be the case that one of style config files is for matplotlib 3.1 despite that 3

如何解决 Pycharm 无法使用 Anaconda 2018.12 创建Conda 环境问题

萝らか妹 提交于 2020-12-04 11:57:18
最新补充说明:https://mirror.tuna.tsinghua.edu.cn/news/close-anaconda-service/ 首先说明导致该问题原因是缺少 openssl 支持,解决方法是添加 openssl 环境变量 或者不使用 HTTPS 。tips: python 大部分安装源已启用https连接方式。 本文 Python 版本为3.6.8。其他使用方法版本类似。 PS C:\Windows\system32> python Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>> exit() PS C:\Windows\system32> Pycharm 社区版 版本为2019.1。 本文使用 Ananonda 版本为2018.12,操作系统为 Windows 10,其他系统类似故障也可以使用类本方法。 首先介绍修改系统变量方法。添加openssl.exe到环境变量。 #添加anaconda 安装目录openssl.exe文件夹 C:\ProgramData

Python从菜鸟到高手(1):初识Python

烂漫一生 提交于 2020-12-04 07:41:11
1 Python简介 1.1 什么是Python   Python是一种面向对象的解释型计算机程序设计语言,由荷兰人吉多·范罗苏姆(Guido van Rossum)于1989年发明,第一个公开发行版发行于1991年。目前Python的最新发行版是Python3.6。   Python是纯粹的自由软件,源代码和解释器都遵循 GPL(GNU General Public License)协议。Python语法简洁清晰,特色之一是强制用空白符(white space)作为语句缩进。   Python具有丰富和强大的库。它常被称为胶水语言,能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地集成在一起。常见的一种应用场景是,使用Python快速生成程序的原型(有时甚至是程序的最终界面),然后对其中有特别要求的部分,用更合适的编程语言改写,比如3D游戏中的图形渲染模块,性能要求特别高,就可以用C/C++重写,然后封装为Python可以调用的扩展类库。需要注意的是在您使用扩展类库时可能需要考虑平台问题,某些库可能不提供跨平台的实现。   尽管Python源代码文件(.py)可以直接使用python命令执行,但实际上Python并不是直接解释Python源代码,而是先将Python源代码编译生成Python Byte Code(Python字节码,字节码文件的扩展名一般是.pyc)

How to install cython an Anaconda 64 bits with Windows 10?

 ̄綄美尐妖づ 提交于 2020-12-03 07:35:48
问题 It's all in the title, does someone have a step by step method to install cython and run it on Anaconda 64 bits on Windows 10? I search for hours and there are a lot of tutorials... For things that I wasn't able to get or do on windows 10. I try to follow all those methods and more but in vain for now: https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_Cython_On_Anaconda_On_Windows?lang=en https://github.com/cython/cython/wiki/CythonExtensionsOnWindows Conda install is

How to install packages in conda that are not available in anaconda? (conda:4.7.5, python:3.7.3)

旧城冷巷雨未停 提交于 2020-12-03 01:55:56
问题 I want to install a package (of python) using conda, but says not available in repo.anaconda.com/......., how could I install it ? The specific package that I tried to install is edx-dl (link of the github repo) using the code conda install edx-dl . This code works fine with pip but not with conda . For example , in pip if I type pip install edx-dl was able to install the package when I was using python base without anaconda. But now with conda it says it is not available in anaconda repo. So

How to install packages in conda that are not available in anaconda? (conda:4.7.5, python:3.7.3)

好久不见. 提交于 2020-12-03 01:49:06
问题 I want to install a package (of python) using conda, but says not available in repo.anaconda.com/......., how could I install it ? The specific package that I tried to install is edx-dl (link of the github repo) using the code conda install edx-dl . This code works fine with pip but not with conda . For example , in pip if I type pip install edx-dl was able to install the package when I was using python base without anaconda. But now with conda it says it is not available in anaconda repo. So

InVEST模型 | 02 InVEST模型安装(Windows10)

巧了我就是萌 提交于 2020-12-01 15:43:15
除了在Python Anaconda环境中进行安装 InVEST模型Python安装 ,平时最常使用的安装方式是通过.exe直接进行安装,本节介绍的就是直接下载安装的步骤: 1. 打开InVEST模型下载页面 链接为:https://naturalcapitalproject.stanford.edu/software/invest ,点击右侧的下载按钮进行下载,首页提供的是3.8.9版本的InVEST,也可以选择下载历史版本 2. 运行安装程序 以管理员权限打开安装程序,可以看到是×86的程序 然后,点击Agree同意相关的协议 接下来可以看到需要安装的程序,包括主程序和示例数据,全部勾选上,选择下一步 接下来,根据自己的需要,选择安装路径 然后程序就开始自动安装了 注意,安装过程中可能会出现这样的问题,这主要是由于无法连接到示例文件资源引起的,可以忽略这些错误,一直点击确认就好 当跳过所有的示例文件下载之后,安装就完成了! 此时,可以看到安装好的各个子模块 最后就是解决各个子模块的示例数据的问题,由于安装过程中没有下载下来,所以如果需要手动去下载,下载地址为: http://releases.naturalcapitalproject.org/?prefix=invest/3.8.9/data/ 如果不需要使用示例数据的话,安装过程中的数据集报错是不影响正常使用的。 参考链接:

How to uninstall Python and all packages

£可爱£侵袭症+ 提交于 2020-12-01 07:38:06
问题 I wish to uninstall Python 2.7 and all packages connected to it. I initially installed Python from the official website and I installed all packages using the pip install command. Would uninstalling Python from the control panel also uninstall all packages automatically? The reason I want to uninstall Python is because I want to use Anaconda in order to be able to manage packages more easily and also be able to install both Python 2 and 3 to switch between them back and forth. 回答1: If you

How to uninstall Python and all packages

こ雲淡風輕ζ 提交于 2020-12-01 07:38:01
问题 I wish to uninstall Python 2.7 and all packages connected to it. I initially installed Python from the official website and I installed all packages using the pip install command. Would uninstalling Python from the control panel also uninstall all packages automatically? The reason I want to uninstall Python is because I want to use Anaconda in order to be able to manage packages more easily and also be able to install both Python 2 and 3 to switch between them back and forth. 回答1: If you