Anaconda

Conda install R 3.4.0

我的未来我决定 提交于 2020-01-01 09:46:09
问题 I am trying to install R 3.4.0 through conda but seems like is currently missing in the channel. ((Renv)) $ conda install -c r r=3.4.0 gives Fetching package metadata ........... Solving package specifications: . Error: Package missing in current linux-64 channels: - r 3.4.0* Is there any way I can install 3.4.0 through in a conda environment? 回答1: The latest version of r available through the r channel is 3.3.2. You can install that like this: conda install -c r r=3.3.2 You can always look

Update all pip packages that don't come from conda

不羁的心 提交于 2020-01-01 09:44:28
问题 On my windows 7 system I try to install as many packages using conda. These are easy to update with conda update all Unfortunately some packages don't appear in conda but are available through pip and so for those I install them using pip. Updating all pip packages on windows seems more difficult but for /F "delims===" %i in ('pip freeze -l') do pip install -U %i is one way I found. However, this attempts to update all packages, even those installed by conda I believe. Is there some way to

install tensorflow with specific version on Anaconda

微笑、不失礼 提交于 2020-01-01 09:35:12
问题 Tensorflow has multiple versions, if I want to install a specific version in Anaconda, which command should I use. 回答1: This is probably the simplest way to do it: pip install --ignore-installed --upgrade tensorflow==1.4 If you want to see all available versions, you can check out https://pypi.python.org/pypi/tensorflow/json I would highly recommend you use virtualenv or conda to isolate your tensorflow installation, especially if you want to play-test different versions and the CPU/GPU

python pandas dataframe head() displays nothing

对着背影说爱祢 提交于 2020-01-01 09:31:47
问题 I am new to using pandas and I just don't know what to do with this : I am using python. I have (properly) installed anaconda. In my file I simply create a DataFrame (first by importing it from read_csv, then recreating it by hand to make sure that was not the problem). When I do print (dataframe) it prints: km | price 0 | 240000 | 3650 [...] 23 | 61789 | 8290 When I do dataframe.info() I get this : class 'pandas.core.frame.DataFrame' Int64Index: 24 entries, 0 to 23 Data columns (total 2

using Tensorflow with Anaconda and PyCharm on Windows

假如想象 提交于 2020-01-01 08:23:04
问题 I am using Anaconda 4.3.1 64 Bit on Windows 10 64 Bit. I have successfully installed Tensorflow (CPU) according to this. The test program runs in the command line, but not in PyCharm . The problem is that it works only with activate tensorflow . I followed the steps from Pycharm anaconda import tensor flow library issue ("You need to do these following steps:"). It seems now that tensorflow is loaded, but I get a new error: ImportError: Importing the multiarray numpy extension module failed.

How to update Spyder?

♀尐吖头ヾ 提交于 2020-01-01 07:05:31
问题 Everytime I start Spyder (with Anaconda) I get a massage saying that my version is outdated and I should update it, so I followed the instructions Spyder's own website gave me, which is running the following commands: conda update qt pyqt conda update spyder But Spyder tells me that syntax is invalid. What should I do? 回答1: ( Spyder maintainer here ) Those commands are not meant to be run inside Spyder consoles, but in a system terminal ( cmd.exe on Windows, xterm on Linux or Terminal.app on

在anaconda安装后设置环境变量

时间秒杀一切 提交于 2020-01-01 02:48:17
在anaconda安装后设置环境变量 在anaconda安装之后再设置环境变量时可能出错 在anaconda安装之后再设置环境变量时可能出错 有时候在安装anaconda之后在设置环境变量,即使设置完conda也可能无法使用,那需要检查一下anaconda安装的文件夹名称是不是anaconda3,只有是anaconda3才能正确配置环境变量并直接只用conda命令 来源: CSDN 作者: qq_33932294 链接: https://blog.csdn.net/qq_33932294/article/details/103773890

There is an instance of anaconda navigator already running error

纵然是瞬间 提交于 2020-01-01 02:37:05
问题 Previously my anaconda navigator was not responding so I have rebooted my computer and now when I am trying to open anaconda navigator it pop-ups an error with "there is an instance of anaconda navigator already running". OS: Windows 10 回答1: I met the same problem a few days ago. I found the anaconda navigator will start a process called pythonw . So the following is my solution: open a cmd window; use command tasklist | findstr "pythonw" to find the pid of pythonw, like 37200; use command

Using Jupyter behind a proxy

谁说胖子不能爱 提交于 2019-12-31 09:21:48
问题 Is there a similar config to that of .condarc (anaconda 4.0.0) that allows Jupyter to be configured to work behind a corporate proxy on a local machine? Error received: HTTPError: HTTP Error 407: Proxy Authentication Required 回答1: Way easier: Just add the following to your notebook: In [1]: import os os.environ['http_proxy'] = "http://user:passwd@host:port" os.environ['https_proxy'] = "https://user:passwd@host:port" after that, requests will work OK=200, e.g. In [2]: import requests requests

Using Jupyter behind a proxy

落花浮王杯 提交于 2019-12-31 09:21:11
问题 Is there a similar config to that of .condarc (anaconda 4.0.0) that allows Jupyter to be configured to work behind a corporate proxy on a local machine? Error received: HTTPError: HTTP Error 407: Proxy Authentication Required 回答1: Way easier: Just add the following to your notebook: In [1]: import os os.environ['http_proxy'] = "http://user:passwd@host:port" os.environ['https_proxy'] = "https://user:passwd@host:port" after that, requests will work OK=200, e.g. In [2]: import requests requests