Anaconda

Anaconda Python installation error

依然范特西╮ 提交于 2021-02-05 18:51:32
问题 I get the following error during Python 2.7 64-bit windows installation. I previously installed python 3.5 64-bit and it worked fine. But during python 2.7 installation i get this error: Traceback (most recent call last): File "C:\Anaconda2\Lib\_nsis.py", line 164, in <module> main() File "C:\Anaconda2\Lib\_nsis.py", line 150, in main mk_menus(remove=False) File "C:\Anaconda2\Lib\_nsis.py", line 94, in mk_menus err("Traceback:\n%s\n" % traceback.format_exc(20)) IOError: [Errno 9] Bad file

KVM常见问题问题汇总

空扰寡人 提交于 2021-02-05 11:28:49
1、KVM中宿主机通过console无法连接虚拟机 1)为KVM客户机添加virsh console支持 http://www.linuxidc.com/Linux/2013-02/79556.htm 2)利用vnc或宿主机的桌面进入客户机vm01中添加参数 #添加ttyS0的安全许可,允许root登录: echo "ttyS0" >> /etc/securetty #在/etc/grub.conf文件中为内核添加参数: console=ttyS0 这步要注意: console=ttyS0一定要放在kernel这行中(大约在第16行),不能单独一行,即console=ttyS0是kernel的一个参数,不是单独的,如下(往右拉进度条,在最后): vim /boot/grub2/grub.cfg #grub.conf generated by anaconda #...... kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv

Python and pip versions are different and potentially causing problem

≯℡__Kan透↙ 提交于 2021-02-05 09:28:56
问题 I have both 3.6 and 3.8 python versions installed in my drive and I am using Anaconda for virtual environment with Python 3.6. When I say in cmd prompt: >python -V Python 3.6.10 :: Anaconda, Inc. However when I look for pip versions it shows >pip3 -V pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8) I'm thinking this the cause of the problem when I use pip install -e . while my virtual environment is active: ERROR: Could not find a version that satisfies the requirement torch==1

R, TensorFlow, Anaconda Install on Windows

ぐ巨炮叔叔 提交于 2021-02-05 09:01:38
问题 I'm tryiing to install tensorflow for R. For this purpose I installed the latest version of Anaconda (4.3.1) to my OS and installed everything as described in: https://rstudio.github.io/tensorflow/installation.html To get started, install the tensorflow R package from GitHub as follows: devtools::install_github("rstudio/tensorflow") Then, use the install_tensorflow() function to install TensorFlow: library(tensorflow) install_tensorflow() The result of this process is a folder ~\AppData\Local

Python, not able to graph trees using graphviz with the anytree package

╄→尐↘猪︶ㄣ 提交于 2021-02-05 08:11:19
问题 So I have installed the anytree package (after great effort; I had to add some environment variables on my system). Having done this I can use almost all functionalities of the anytree package - just not the one I want. I wish to use graphviz in conjunction with the anytree package in order to graph trees using the 'DotExporter' command. I have installed graphviz; its path is C:\Users\joel\Anaconda3_2\Lib\site-packages\graphviz, and I have also added the line of code 'from anytree.exporter

cmd warning: python interpreter is in a conda environment, but the environment has not been activated

ぐ巨炮叔叔 提交于 2021-02-05 08:01:30
问题 I installed Anaconda (added to path) but when I try to run Python from the cmd, I get the following message: Warning: This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation I followed the link and tried to activate the environment, but my cmd then changes to (base) mode, which I am unfamiliar with. 回答1: Follow below steps 1)open cmd and type "conda activate

cmd warning: python interpreter is in a conda environment, but the environment has not been activated

北城以北 提交于 2021-02-05 08:01:26
问题 I installed Anaconda (added to path) but when I try to run Python from the cmd, I get the following message: Warning: This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation I followed the link and tried to activate the environment, but my cmd then changes to (base) mode, which I am unfamiliar with. 回答1: Follow below steps 1)open cmd and type "conda activate

ubuntukylin-16.04安装

我的未来我决定 提交于 2021-02-05 02:46:55
[TOC] Ubuntu Kylin(中文又被称为优麒麟)是基于Ubuntu的一款官方衍生版。它是一款专门为中国市场打造的免费操作系统。它包括Ubuntu用户期待的各种功能,并配有必备的中文软件及程序。 下载镜像 安装 虚拟机安装 1.打开虚拟机, 这里是VMware12,新建虚拟机,我是选择典型安装,下一步。 2.安装来源:选择稍后安装操作系统,如果这个时候选择了镜像,VMware 将会帮你简易安装,为了更详细配置,这里选择稍后,然后点击下一步; 3.客户机操作系统:当然是选择linux,版本是Ubantu64位,点击下一步 4.虚拟机名称:默认,也可以自己顺便写。位置:推荐存储在非系统盘 C 盘,虚拟机需要占大量的空间,所以存在非系统盘,防止日后系统盘空间不足; 5.设定磁盘大小,这里看个人需求吧,我这里给比较多,下一步 6.点击自定义硬件去设置 设置好内存,设置为 4G ,然后设置 2核处理器 ;网络适配器选择 桥接 选择使用ISO映像文件,选择你下载的镜像文件,其他选项就默认吧,点击关闭 ###系统安装 7.开启虚拟机准备安装,选择中文简体,安装Ubuntu 8.然后我选择了安装第三方软件,也可以不选 你喜欢,点击继续 9.因为我这虚拟机没安装其他系统,所以选第一项安装了 10.其他默认继续; 12.这个就是Ubuntu的主界。 结束!!!!!!!!!!! vmware

Is it safe to manually delete all files in pkgs folder in anaconda python?

别说谁变了你拦得住时间么 提交于 2021-02-04 17:07:36
问题 I ran this command to release disk space on anaconda $ conda clean -all However, there are still some big files that remain in pkgs folder in anaconda python. Is it safe to manually delete all the files in pkgs folder? Any risk of corrupting my anaconda environment? What are some side effects, if any? I am using anaconda 2018 on windows 10. 回答1: Actually, under certain conditions it is an option to have the pkgs subdirs removed. As stated here by Anaconda Community Support "the pkgs directory

修改anaconda3 jupyter notebook 默认路径

纵然是瞬间 提交于 2021-02-04 16:14:59
本文参考了: https://blog.csdn.net/u014552678/article/details/62046638 https://blog.csdn.net/qigenhuochai/article/details/77891003 方法一(推荐):   此法权限更高 找到:程序->Anaconda3->Jupyter Notebook 快捷方式[右键] -> Shortcut -> Target 把最后面的%USERPROFILE%,修改为D:\my\notebook_dir,OK保存 通过 快捷方式重启Jupyter Notebook,可以看到目录已改 方法二: 打开Anaconda3->Anaconda Prompt 在打开的命令行运行:(输入y,然后Enter确认) jupyter notebook --generate-config 根据第2步提示的目录,修改文件 XXX\.jupyter\jupyter_notebook_config.py。将其中 # # The directory to use for notebooks and kernels. # c.NotebookApp.notebook_dir = u'' 改为: # # The directory to use for notebooks and kernels. c