Menu
  • HOME
  • TAGS

Anaconda activate

linux,anaconda

The easiest fix is to just put /Users/mylaptop/anaconda in your PATH, by adding something like export PATH="/Users/mylaptop/anaconda:$PATH" to your bash profile (~/.profile). You can't put the activate script in a script because it has to be "sourced" to work. source causes the script to be run in your current shell...

Trouble installing pymssql

python,anaconda,pymssql

This means that that channel doesn't have that package built for Python 3 (as you can see at https://binstar.org/prometeia/pymssql/files).

can't import permutations after installing anaconda

python,windows,anaconda

I'm not seeing permutations in the documentation for functools: https://docs.python.org/3/library/functools.html I am, however, seeing it in itertools, perhaps you misspelt? https://docs.python.org/2/library/itertools.html...

How to install Python libraries under specific environments

python,anaconda

You don't need multiple anaconda distributions for different python versions. I would suggest keeping only one. conda basically lets you create environments for your different needs. conda create -n myenv python=3.3 creates a new environment named myenv, which works with a python3.3 interpreter. source activate myenv switches to the newly...

How to install vtk with gl2ps enabled using conda

python,compilation,vtk,anaconda,conda

The recipe used to build vtk is here. You should modify it to include that package and build with with conda build vtk/.

scikit-learn joblib bug: multiprocessing pool self.value out of range for 'i' format code, only with large numpy arrays

python,numpy,multiprocessing,scikit-learn,anaconda

As a workaround you can try to memory map your data explicitly & manually as explained in the joblib documentation. Edit #1: Here is the important part: from sklearn.externals import joblib joblib.dump(X_train, some_filename) X_train = joblib.load(some_filename, mmap_mode='r+') Then pass this memmap'ed data to GridSearchCV under scikit-learn 0.15+. Edit #2: Furthermore:...

Can't find the test module in Anaconda Python

python,python-2.7,anaconda,dpkt

Quick Fix: You can checkout a copy of pystone.py from the cpython github repository and copy it to a test directory that is present in your PYTHONPATH. Or you would copy it to a test directory in your python project's root (ugly way). Perhaps Anaconda Python does not ship with...

Import error while using scikit-neuralnetwork

python,anaconda,theano

This error is often solved by running the following, as mentioned in the documentation. conda install mingw libpython Since you've now installed your own installation of GCC, you may need to play around with environment variables, especially PATH to get things working....

rpy2 installation error on Windows 8 (Anaconda)

python,rpy2,anaconda

Dr. Gohlke's binary is probably the easiest solution. But you need to change the Python installation path in your registry for this method to work. The relevant key is in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath. Change it so that the anaconda Python is the default python installation. You can always change it back if...

Why is my ctypes long size 4 and not size 8 using 64 bit python?

python,ctypes,anaconda

A long is only guaranteed to be at least 32 bits wide, so on some systems, ctypes.c_long is only 32 bits. In particular, I believe on 64-bit Windows, ctypes.c_long is only 32 bits wide. If it must be 64 bits wide, use ctypes.c_int64 instead.

Python code to perform anisotropic diffusion, having trouble running it in Anaconda

python,numpy,python-imaging-library,anaconda

Here's some example usage code. Paste your code above into an iPython cell and press control+Enter. Then paste the below code into a cell below and press control+Enter and you should see two images - the original image and the smoothed result. You can replace the lena thing with from...

Cannot import caffe into python, libjpeg.so.62 not found

python,linux,anaconda,caffe

Ok I finally found the solution: I had to sudo apt-get install libjpeg62 After that a new error occurred while trying to import caffe, namely ImportError: /home/myName/libs/anaconda/bin/../lib/libm.so.6: version `GLIBC_2.15' not found (required by /usr/lib/x86_64-linux-gnu/libx264.so.142) That could be solved by removing some buggy anaconda libraries thus resorting to the system libraries,quote...

where to put freeze_support() in a Python script?

python,runtime-error,multiprocessing,scikit-learn,anaconda

On Windows all of your multiprocessing-using code must be guarded by if __name__ == "__main__": So to be safe, I would put all of your the code currently at the top-level of your script in a main() function, and then just do this at the top-level: if __name__ == "__main__":...

Conda virtual envinment not changing under Windows

python,windows,anaconda,conda

If you are using Powershell, activate currently does not support it. You will need to modify your PATH manually, or else use the cmd shell.

Using MacPorts to install modules via a certain path

python,path,installation,macports,anaconda

While you could adjust your PYTHONPATH environment variable or modify the path using sys.path.insert, you should not try to mix a Python module built for MacPorts' Python with Anaconda. This may work just fine if the module is python-only, but as soon as the module contains compiled code it is...

ImportError: No module named mpmath. But mpmath has been installed. What's wrong?

python,anaconda,power-law,mpmath

You should use conda to install Python packages into anaconda, or pip if they are not available via conda. conda install mpmath should fix your issue.

installing Anaconda on windows

python,python-2.7,pycharm,anaconda

Anaconda installs a completely separate Python, so there is no need to do anything with the old one. The Anaconda installer sets the PATH variable automatically. As to the packages, your best bet if there is a package you need that doesn't come with Anaconda is to install it with...

how to specify external software requirements with conda/meta.yaml in Python?

python,travis-ci,anaconda,conda

The requirements in the meta.yaml can be any conda package (which doesn't have to just be Python packages). If you have a conda package for your dependency, you can specify it.

How to change Python version to 2.7.8 on Anaconda distribution?

python,python-2.7,anaconda

You have to install the Python version you want to use: conda install python=2.7.8 ...

python function with numpy

python-2.7,numpy,anaconda

What you need to do is this assuming your weight is a numpy array: import numpy as np def calculate_variance(weight,sigma): return np.transpose(weight) * sigma * weight Also, notice how I took out the space between calculate and variance within your function definition and added an underscore. ...

Why has Anaconda added my default Python paths to the specific environment's path?

python,python-2.7,anaconda

Check to see if you have the environment variables PYTHONPATH or PYTHONHOME set. conda info -a will also show you all the relevant environment variables that might cause this sort of thing to happen.

Plotly killed my python install

python,pip,anaconda,plotly

This is an interaction between Anaconda's version of pip and the latest version of simplejson (which was installed when you installed Plotly). As a workaround, del C:\Anaconda3\lib\site-packages\simplejson This will allow pip and Plotly to work again. Unfortunately if you ever upgrade Plotly this problem will happen again, so we will...

Setup Spyder to work with Anaconda python on Ubuntu 14.04

python,python-2.7,anaconda,spyder

The easiest solution here is to use the Spyder that comes with Anaconda.

rpy2 installation error in Ubuntu

r,ubuntu,anaconda,rpy2

I've been building out conda packages for R and related packages (include rpy2). Eventually they will be in the default conda repos, but until then, you can get it with conda install -c asmeurer rpy2 (this will also install and use my build of R itself).

Getting started with Python OCR on windows?

python,python-imaging-library,anaconda,python-tesseract,pytesser

The document you point to says to use from PIL import Image except you use import Image and so the interpreter properly says: ImportError: No module named Image It looks as if you reordered the lines from PIL import Image from pytesser import * and that pytesser has a improperly...

DBF - encoding cp1250

python,database,encoding,anaconda,dbf

Try using my dbf library: import dbf with dbf.Table('test.dbf') as table: dbf.export(table, 'junk.csv') ...

how to install packages from pypi to anaconda?

python,installation,packages,anaconda,pypi

1) Find the installation directory and look in the packages directory 2) From the Anaconda command line, conda install <pkg name> or if its in a tarball conda install <tar-file-name>.tar Anaconda FAQ...

What are the differences between Conda and Anaconda

python,anaconda,conda

conda is the package manager. Anaconda is a set of about a hundred packages including conda, numpy, scipy, ipython notebook, and so on. You installed Miniconda, which is a smaller alternative to Anaconda that is just conda and its dependencies (as opposed to Anaconda, which is conda and a bunch...

Vim crashes when used with Conda Python3 on Windows 7

python,windows,vim,anaconda,conda

I was able to solve this based on asmeurer's suggestion and added the following code to my .vimrc file: if has("gui_running") if has("gui_win32") :command! Python3 !activate py3k % :command! Py3 !activate py3k % endif endif where py3k is Python3 virtual environment, i.e.: conda create -n py3k python=3 UPDATE (03/02/2015) Didn't...

Zip error message in Python Pandas - Anaconda

python,pandas,zip,python-3.4,anaconda

What you are seeing is not an error, the behaviour of zip changed in python 3 so you need to pass the result of zip to list: In [2]: names = ['Bob','Jessica','Mary','John','Mel'] births = [968, 155, 77, 578, 973] BabyDataSet = list(zip(names,births)) BabyDataSet Out[2]: [('Bob', 968), ('Jessica', 155), ('Mary', 77),...

How do I set up a virtual environment with Flask using conda?

python,flask,virtualization,anaconda,conda

Your mileage may vary, but the docs tends to be where the answers are. conda create -n my_flask_env source activate my_flask_env conda install condastuff pip install otherstuff ...

How to change default Anaconda python environment

python,python-2.7,python-3.x,environment,anaconda

You can: Add source activate py34 to your .bashrc, as a commented noted. Change the line in your .bashrc that was added by the Anaconda installer to add ~/anaconda/envs/py34/bin to the PATH rather than ~/anaconda/bin. You can reinstall Anaconda3. If you never installed any other conda or pip packages, you...

R not producing a figure in jupyter (IPython notebook)

r,windows-8,ipython-notebook,anaconda,jupyter

I found a solution from the post on this group. Solution I did: I had the most release of R (R 3.2.0) and following the discussion in the above link, I installed R 3.1.3 and copied winCairo.dll from C:\Program Files\R\R-3.1.3\library\grDevices\libs\x64 to C:\Anaconda\R\library\grDevices\libs\x64. Copying winCairo.dll from R 3.2.0 does not work...

Ubuntu, Anaconda: Cannot import python shapely package

python,ubuntu,importerror,anaconda,shapely

That happens because apt-get installs packages to the system default python, under /usr/python2.7/lib/site-packages. Anaconda has its own package manager, conda, which you might want to use in your case. conda install shapely should do the trick.

Running conda with proxy

python-2.7,proxy,anaconda

You can configure a proxy with conda by adding it to the .condarc, like proxy_servers: http: http://user:[email protected]:8080 https: https://user:[email protected]:8080 or set the HTTP_PROXY and HTTPS_PROXY environment variables. Note that in your case you need to add the scheme to the proxy url, like https://proxy-us.bla.com:123. See http://conda.pydata.org/docs/install/config.html#configure-conda-for-use-behind-a-proxy-server. ...

Error in creating LMDB database file in Python for Caffe

python,numpy,anaconda,caffe,lmdb

Well, the sudo apt-get install liblmdv-dev might work with bash (in the terminal) but apparently it doesn't work with Anaconda Python. I figured Anaconda Python might require it's own module for lmdb and I followed this link. The Python installation for lmdb module can be performed by running the command...

Integrating exisiting Python Library to Anaconda

python,anaconda

There is no need to remove your system Python. Anaconda sits alongside it. When it installs, it adds a line to your .bashrc that adds the Anaconda directory first in your PATH. This means that whenever you type python or ipython in the terminal, it will use the Anaconda Python...

Anaconda site-packages

python,python-2.7,pip,anaconda

You can import the module and check the module.__file__ string. It contains the path to the associated source file.

Problems while plotting on Matplotlib

python,numpy,matplotlib,plot,anaconda

You can make one call to plt.plot generate two disconnected curves (thus handling asymptotes) by assigning nan to extreme values. Mathematica handles this for you automatically; matplotlib requires you to do a little work: import numpy as np import matplotlib.pyplot as plt x = np.linspace(-20, 20, 1000) y = ((3*x**2)...

Why I can't use matplotlib.pyplot in Spyder?

python,pandas,anaconda

Quick answer: You can fix the problem by updating pandas to the latest version: conda install pandas The kind='hist' option was added to Series.plot() in version 0.15.0. Your code example should work with latest version 0.15.2 For more information, see the enhancement section of the release notes of 0.15.0 and...

'ls' is not recognized in Anaconda Python 2.7 Spyder

python-2.7,anaconda,spyder

ls is a *nix command, and is not installed under Windows by default. Use dir and its appropriate options instead.

Conda example does not work, it shows newer not older numpy?

python,anaconda,conda

OK, it was user error. My top level python, non-Anaconda, had a numpy and it was being picked up in the path first! To determine the conflict and fix it, I did the following. # Start from Non-Anaconda or Root Python environment $ source deactivate $ conda info -e #...

Will installing Anaconda3 change Mac OS X default Python version to 3.4?

python,python-2.7,python-3.x,anaconda

Apple has a built-in system for managing multiple versions of software, and switching between them. But you don't even need to worry about that, because Anaconda installations are self-contained: Everything lives under the top Anaconda installation directory (probably /Applications/anaconda). The only effect outside this directory is that during installation, Anaconda...

Is it possible to use an Anaconda Python 3 environment together with Pycharm?

python-3.x,scipy,pycharm,anaconda

Explanations how to configure PyCharm with Anaconda can be found in the documentation. In PyCharm preferences you can just select the correct python interpreter under, Project Interpreter > Python Interpreters As pointed out by @Cecilia, in the case when a virtual environment (e.g. named py3k) is used with Anaconda, the...

Bad Interpreter Error Trying to Install Packages in Anaconda

python,linux,path,packages,anaconda

/transform/anaconda/bin/conda expects the Python executable to be in /usr/local/anaconda/bin/python since that is what is in its shebang line, but you've installed it elsewhere, specifically /transform/anaconda/bin/python. You will need to modify the shebang line to point to the correct location.

wxPython on Python 3 Miniconda environment

python,python-3.x,wxpython,anaconda,miniconda

A better fix is to use pythonw (install the python.app conda package) instead of python.

python import shares common values?

python,python-3.x,anaconda,spyder

Yes, as said in the comments. You just have to take care of constructs like from TypeDef import myvariable - in that case, myvariable is a new name pointing to the value of the variable at import time, and won't be "seeing" updates to new values for TypeDef.myvariable. Once you...

Install cx_freeze on anaconda?

python,cx-freeze,anaconda

In case conda install cannot install a package because there is a conflict with the version of Python you use: make sure pip is installed in your current (virtual) Python environment: conda install pip (or conda list to see whether pip is in the list of installed packages) install your...

Deleted miniconda folder, python won't run

python-2.7,anaconda,miniconda

You have at least two choices: Reinstall miniconda, into the same location as before. Clear the executable cache with hash -r to eliminate the stale entry, which ties the python command to non-existent /home/arturo/Documents/project1/pwd/bin/python cf. What is the purpose of the hash command? ...

Creating a virtualenv with Anaconda's Python version

python,linux,virtualenv,anaconda,graphlab

If you are using Anaconda, you can use conda to create environments rather than virtualenv, using the conda create command.

Anaconda python not available from sudo

python,linux,sudo,anaconda

You almost got everything right. The only error is sudo echo $PATH, where $PATH is substitued BEFORE being sent to sudo, so it's your user PATH not your "sudoed" PATH that's displayed. Note that your sudo implementation and configuration may change the PATH variable, as I can read in a...

Failed to run Python script with Conda

python,anaconda,conda,menpo

It seems that visualize_images is meant to be used from ipython-notebook. Calling it in a regular python script does not seem to be intended by the authors. See also the example in the Visualizing Objects section of the docs: %matplotlib inline import menpo.io as mio from menpo.visualize import visualize_images #...

Twitter API 401 error calling trend data by WOE ID in IP[y] Notebook

python,twitter,oauth,ipython-notebook,anaconda

User error. Typical. Instead of actually following the instructions in the book, I went off the rails a bit installing IPython Notebook manually and trying to run things on my own. If you are reading through this book, make sure you follow these (and all) steps very carefully: Install VirtualBox...

can not start ipython notebook from anaconda

python,ipython,ipython-notebook,anaconda

Could be a couple of things: conda installs ipython into the active conda environment. If bash had seen a previous invocation of ipython it might have that location hashed. Run hash -r to clear the shell hashed lookups after installing anything that places a new executable in your path. Things...

Python Anaconda: ImportError undefined symbol: ATL_cpttrsm

python,numpy,scipy,importerror,anaconda

You should unset PYTHONPATH. It is causing your Anaconda Python to pick up packages installed in /usr/local instead of just the Anaconda packages (which should work correctly).

freeze_support bug in using scikit-learn in the Anaconda python distro?

python,windows,multiprocessing,scikit-learn,anaconda

This probably means that you are on Windows and you have forgotten to use the proper idiom in the main module: if __name__ == '__main__': freeze_support() ...

Pandas Time Index pick largest number/last number on given day

python-3.x,pandas,time-series,dataframes,anaconda

you can use group by with agg. Agg takes a dictionary of functions. As in each group the highest observation is the last one you can use the last function: df.groupby('Date').agg({'Actual':'last','Predicted':'last','Error':'last'}) This returns: Actual Predicted Error Date 2014-09-15 358.03 127.738344 230.291656 2014-09-16 373.04 326.672566 46.367434 2014-09-17 427.99 340.367941 87.622059 2014-09-18...

When I try and run pyspark.cmd I get the error message “find: 'version': No such file or directory”

python,apache,apache-spark,anaconda

I had the same problem in spark 1.2.0 but not in spark 1.0.2. The reason was in my case that I had cygwin in the DOS classpath. Spark uses the find command in the file 'spark-class2.cmd', which used then the cygwin find command instead of the DOS find command, which...

How do I use a conda environment with mod_wsgi?

python,apache,mod-wsgi,anaconda,conda

Your mod_wsgi would need to be compiled against Anaconda Python to start with and not your system Python. In other words you cannot use the system supplied mod_wsgi packages but would need to compile it yourself. Then follow what it says in: http://blog.dscpl.com.au/2014/09/using-python-virtual-environments-with.html That is, use daemon mode and use...

What happens to my scipy.sparse.linalg.eigs?

python,scipy,sparse-matrix,anaconda

Does this work for you? from scipy import sparse import scipy.sparse.linalg as sp_linalg B = np.random.rand(10,10) A_dense = np.dot(B.T, B) A_sparse = sparse.lil_matrix(A_dense) sp_linalg.eigs(A_sparse, 3) It seems that you have to explicitly import the submodules. scipy does not load those per default....

how could we install opencv on anaconda?

python,pip,anaconda

Run the following command: conda install -c https://conda.binstar.org/menpo opencv...

iPython notebook error when trying to load matplotlib

python,pandas,ipython,anaconda

You can read about a similar issue here and here. The main problem is with importing scimath: "ImportError: cannot import name scimath" You can try to import scimath. A better solution would be to set your PYTHONPATH var, which provides the python interpreter with additional directories look in for python...

Installing packages with pip with multiple python installs

python,windows,pip,anaconda

Just change your PATH environment variable to put C:\PythonXX\Scripts (where XX is the version of Python, usually 27 or 34) at the beginning. Click on My Computer -> Properties -> System Properties -> Advanced -> Environment Variables, then select Path in either the System Variables section (if you have Administrator...

Anaconda conda install error when installing tradingwithpython package

python,pip,anaconda,conda

ImportError: No module named scipy It could be that your Anaconda install is not complete. Scipy is a standard module and should be importable after Anaconda install. Your problem seems to be a rare one, I've not heard of issues instaling twp under Win 7 and Anaconda. I suggest that...

install issue with python - spacy package in anaconda environment

python-3.x,install,nlp,anaconda,spacy

You have hit this bug which should be already fixed in the last version. Apparently spacy can't download the data because the destination already exists (may be from a previous interrupted download). A workaround would be to delete the /temp/data folder and retry the download.

Pymacs Cannot Find Packages on Anaconda

python,anaconda,pymacs

After some troubleshooting realized, through ps -eaf | grep python user 5316 5180 47 14:45 pts/3 00:00:04 /usr/bin/python -c import sys; from Pymacs import main; main(*sys.argv[1:]) -f Therein lies the problem, Anaconda sort of takes over as the default interpreter on your computer, but Pymacs is still trying to use...

Scipy: Trying to write wav file, AttributeError: 'list' object has no attribute 'dtype'

python,arrays,audio,scipy,anaconda

You are passing write an ordinary python list, which does not have an attribute called dtype (you can get that info by studying the error message). The documentation of scipy.io.wavfile clearly states you should pass it a numpy array: Definition: wavfile.write(filename, rate, data) Docstring: Write a numpy array as a...

Pyscopg2 binary install into windows anaconda environment

python,psycopg2,anaconda

I struggled with it once (with different package, though). The best solution I found was to make symbolic link from my root site-packages to those of virtualenv: mklink /D <path-to-virtualenv>/site-packages/psycopg2 <path-to-root-python-distribution>/site-packages/psycopg2 ...

how to create a .condarc file for Anaconda?

python-2.7,proxy,anaconda,conda

It is a text (YAML) file that goes in the home directory, or optionally, the root of the anaconda installation. The contents should look like # Proxy settings: http://[username]:[password]@[server]:[port] proxy_servers: http: http://user:[email protected]:8080 https: https://user:[email protected]:8080 See http://conda.pydata.org/docs/config.html for more information. ...

jupyter kernels in OSX: No module named IPython

python,osx,ipython,anaconda,jupyter

Updating to IPython 3.2.0 will fix this issue. For details see pull request PR-8527.

Can't get knn.py to work in Python installation (Anaconda)

python-2.7,anaconda

You need to specify the correct path within the PCV package. Try: from PCV.classifiers import knn ...

Resolve Anaconda/iPython Notebooks/Spyder IDE launch failure on zmq lib import?

python,ide,ipython-notebook,anaconda,spyder

You are picking up an install of Python in C:\Python27 somehow. Do you have the PYTHONPATH environment variable set? If so, unset it. The easiest solution is to just delete or set aside C:\Python27....

symbol lookup error after updating conda 'undefined symbol: cairo_ft_font_options_substitute'

matplotlib,anaconda,conda

I'm not sure what's the difference between "conda update conda" and "conda update cairo", I tried the second but didn't fix it in my fedora 20 i686, even though some packages were updated. [1] So, I kept looking and I found [2], just the tittle made me think in "conda...

error: command 'gcc' failed with exit status 1 installing Fatiando (Python Package)

python,gcc,anaconda

This is a very common problem with the Fatiando install, specially on Windows and Mac. OpenMP was introduced in PR 106 for the fatiando.gravmag forward modeling modules. It was easy to implement (just replace a range(ndata) with a prange(ndata)) and was resulting in 1.5-2x speedup over sequential execution. Also, the...

Virtualenv and Anaconda issues

python,virtualenv,anaconda

Found a solution to my problem. I installed an older version of anaconda, and that made it possible to install and create virtualenv. Not a very good solution, but I feel like I've tried most solutions I could think of...

Will this bash loop apt-get install all my anaconda packages?

bash,anaconda

Add a safety check for each package, to see if it can be located. dlpackages=$(ls -l anaconda3/bin | awk '{print $9}') for package in $dlpackages; do [[ $(apt-cache search $package) ]] && sudo apt-get install $package done Now for every string, the install will only be executed if the package...

cannot import scipy.signal.convolve2d

python,scipy,anaconda

try instead: from scipy.signal import convolve2d ...

Installing github version of package with Anaconda

python,git,sympy,anaconda

my previous answer was based on long time ago experiance this is the correct proccess (that worked for me based on the latest anaconda on a windows machine) I have updated the meta.yaml only with the following changes: changing to get the source from git including mpmath in build run...

plt.show() hangs on OSX with Anaconda Python

python,matplotlib,anaconda

Try starting Python using pythonw instead of python.

How to install Anaconda python for all users?

python,anaconda

The installer lets you install anywhere. You can install it to a global location, like /opt/anaconda.

Changing the default port for iPython notebook server / Jupyter

port,ipython,ipython-notebook,anaconda,jupyter

Something is already listening on 80, you cannot bind 2 servers to the same port. Use a proxy that listen to 80, and redirect to your other servers and IPython base on URL, or address. Also don't use 80, use 443, if you are running a public server it should...

Install python-igraph with the anaconda distribution (windows)

python,igraph,anaconda

Check the documentation on their site: http://igraph.org/python/ It says that you need to download the .msi installer, pip does not work under windows. That is probably because you need a C compiler and windows does not supply one by default.

Need help to resolve issue with Anaconda Python 2.7 x32

python,python-2.7,anaconda,pythoncom

I found solution at this site - http://sourceforge.net/p/pywin32/bugs/685/

output_notebook() is not defined - why?

python,ipython,anaconda,bokeh

It looks as if you forgot to import output_notebook. The scatterplot tutorial notebook has following imports: from collections import OrderedDict from bokeh.charts import Scatter from bokeh.sampledata.iris import flowers from bokeh.plotting import * output_notebook() The line from bokeh.plotting import * implicitly pulls the output_notebook function into the namespace....

Are environments in conda a wrapper for pyenv?

python,anaconda,conda

From the conda blog post: Under the hood, we have created a concept of environments which are conceptually similar to virtualenvs, but which use filesystem-level hard links to create entirely self-contained Python runtime layouts. By using the ‘conda’ command line tool, users can easily switch between environments, create environments, and...

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

python-3.x,windows-7,cython,anaconda

The line 404 of the file cygwinccompiler.py of the package disutils out_string = check_output(['gcc', '-dumpmachine']) has to be changed as out_string = check_output(['gcc', '-dumpmachine'], shell=True) Then, it compiles normally....

How to install dill in IPython?

serialization,parallel-processing,ipython,anaconda,dill

I read the quick start guide for Anaconda (link) which describes how to install packages not available in the Continuum Analytics Repository. Accordingly I went to binstar.org and searched for dill. The following versions were available for Windows, of which I downloaded the file win-32\dill-0.2b1-py27_0.tar.bz2. https://binstar.org/dhirschfeld/dill/0.2b1/files Then I went to...

Anaconda: Attribute error while running pylab with anaconda distribution on Windows

python,matplotlib,anaconda

You called your script pylab.py, rename it to something else. E:\mitedx1\mitedx2\week1\pylab.py # <- you are importing from this not the pylab module Make sure to delete the E:\mitedx1\mitedx2\week1\pylab.pyc file also....

Strange bug when typing import copy in iPython-QtConsole (Anaconda)

python,ipython,anaconda

This problem got solved with the recent iPython-qtconsole update to 2.4.1 version, automatically done by Anaconda.

very basic things about spyder and anaconda for python

python,anaconda,spyder

That has been solved I just changed Preference settings Follow this url : http://docs.continuum.io/anaconda/ide_integration.html...

from python 32 bits to python 64 bits

python,64bit,32-bit,anaconda,pythonxy

You'll need to reinstall everything for the 64-bit Python, but note that Anaconda and conda may already come with everything that you need.

Can I use Anaconda on TextMate

osx,python-3.x,textmate,anaconda

I use Anaconda Python 2, and found a couple ways to do this. First note that the tilde shortcut ( ~ ) doesn't work everywhere, and as you found not in text mate variables. Usually you have to use the full path e.g. /Users/youruserid/Anaconda/bin/ Add the path above to your...

How to start new web app in Spyder IDE using Django REST framework

python,django,rest,anaconda,spyder

Django Rest Framework is, in a way, a wrapper over Django that makes building REST services in Django easy. Regardless of your IDE, it seems like you haven't got a hang of Django per se. To start an app quickstart, Install Python and pip Install Django using pip: pip install...