Anaconda

Adding python libraries to google datalab environment

喜你入骨 提交于 2019-12-30 09:45:35
问题 I'm using google datalab on google cloud platform. Worked great on the first try and I love how easy it is to now run a jupyter notebook server in the cloud (faster than starting up a localhost server). It's fantastic. But now I want to install python libraries not included in the basic datalab environment (specifically I need the Bokeh plotting library). So I opened a google cloud shell from the google cloud console where I manage this jupyter notebook instance, installed miniconda and then

Unable to set up Anaconda on Windows : Path problems

三世轮回 提交于 2019-12-30 07:27:09
问题 I've been trying to setup Anaconda 1.8 on Windows 8.1 but cant get Windows to detect it for the life of me. I've tried adding it in the system path by editing the environment variables and adding C:\Anaconda . I've tried the Cygwin route and tried to edit .bashrc and .profile , but the path doesn't seem to reflect the presence of Anaconda. Powershell output PS C:\WINDOWS\system32> python Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright

Cannot Install Python Modules after Installing Anaconda

青春壹個敷衍的年華 提交于 2019-12-30 07:12:10
问题 [New Note: I cannot install through binstar or anaconda. Why can't I install in python, outside of anaconda? Is there a way to get my computer to stop using the anaconda install of python when I don't luanch it specifically through the continuum launcher?] I have an install of Python 2.7 on a windows machine. I just recently installed Anaconda, in addition. I just tried to install a new module for my Python install. I opened a command prompt in an unzipped folder for a python module and ran:

Anaconda: Unable to import pylab

送分小仙女□ 提交于 2019-12-30 06:19:07
问题 I am unable to import pylab using the latest version of Anaconda (Linux 64 bit). Other packages seem to work fine. (Note: I don't have sudo access) In [1]: import pylab as pl --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-6-2cf12a0af6ff> in <module>() ----> 1 import pylab as pl /home/josh/installs/conda/1.7.0/lib/python2.7/site-packages/pylab.py in <module>() ----> 1 from matplotlib.pylab import * 2

Anaconda: Unable to import pylab

Deadly 提交于 2019-12-30 06:19:03
问题 I am unable to import pylab using the latest version of Anaconda (Linux 64 bit). Other packages seem to work fine. (Note: I don't have sudo access) In [1]: import pylab as pl --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-6-2cf12a0af6ff> in <module>() ----> 1 import pylab as pl /home/josh/installs/conda/1.7.0/lib/python2.7/site-packages/pylab.py in <module>() ----> 1 from matplotlib.pylab import * 2

Python - How can I completely uninstall Anaconda on Windows 10?

a 夏天 提交于 2019-12-30 04:57:08
问题 My installation of Anaconda has gone sideways for some reason. I noticed it when I tried to open Jupyter. The start menu shortcut was broken. When I clicked on it, I got the infamous opening and closing of a command line window. I can start it by clicking on the executable but this winds up with the notebook opening in a weird location that I can't move out of. When I try to uninstall and reinstall, I get the same behavior as before. I did some googling and found some Stackoverflow questions

Building minimal cython file with python 3.3 (Anaconda) under windows 7

≯℡__Kan透↙ 提交于 2019-12-30 04:37:05
问题 When I try to build a minimal Cython file test.pyx with Python 3.3 (Anaconda 3) under windows 7, I obtain a strange error: C:\Users\myname\Test_cython>python setup.py build running build running build_ext error: [WinError 2] The system cannot find the file specified Of course test.pyx is in the working directory. It works fine under windows with Python 2.7 (Anaconda) and under Linux with Python 2 and 3. What could be the problem here with Python 3.3 (Anaconda 3)? Thanks The file setup.py:

TK Framework double implementation issue

痴心易碎 提交于 2019-12-30 03:07:08
问题 I am testing out creating a GUI using the Tkinter module. I was trying to add an image to the GUI using PIL. My code looks like this: import Tkinter as tk from PIL import Image, ImageTk root = tk.Tk() root.title('background image') imfile = "foo.png" im = Image.open(imfile) im1 = ImageTk.PhotoImage(im) When I run this code, I come up with some errors that lead to a segfault. objc[5431]: Class TKApplication is implemented in both/Users/sykeoh/anaconda/lib/libtk8.5.dylib and /System/Library

simply use python anaconda without internet connection

倾然丶 夕夏残阳落幕 提交于 2019-12-29 22:11:23
问题 I would like to deploy a python environment on production servers that have no access to the internet. I discovered Python Anaconda distribution and installed it to give it a try. The installation directory is 1.6GB, and I can see in pkgs directory that a lot of libraries are there. However, when I try to install an environment, conda does not lookup in the local directories... conda create --offline --use-local --dry-run --name pandas_etl python Using Anaconda Cloud api site https://api

simply use python anaconda without internet connection

只谈情不闲聊 提交于 2019-12-29 22:08:33
问题 I would like to deploy a python environment on production servers that have no access to the internet. I discovered Python Anaconda distribution and installed it to give it a try. The installation directory is 1.6GB, and I can see in pkgs directory that a lot of libraries are there. However, when I try to install an environment, conda does not lookup in the local directories... conda create --offline --use-local --dry-run --name pandas_etl python Using Anaconda Cloud api site https://api