Posts Tagged ‘anaconda’

Anaconda3, Windows, command-line arguments

April 16, 2017 Leave a comment

I installed Anaconda3 on Windows 7, but when I wanted to pass a command-line argument to a script, the script didn’t receive the parameter(s). The command-line arguments were simply ignored.

I found the solution here. This is a blog post from 2010. This issue is still unresolved…

In short: open the registry editor (regedit), find the key HKEY_CLASSES_ROOT\py_auto_file\shell\open\command , and append the string “%*” (without quotes) to the end of the entry. It should look similar to this:

"C:\Anaconda3\python.exe" "%1" %*
Categories: python, windows Tags: , ,

Anaconda: problem with the readline module under Manjaro

October 5, 2015 Leave a comment

I tried the Anaconda Python distribution under Manjaro, but there was a problem with the “readline” module:

>>> import readline
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot open shared object file: No such file or directory

As root:

# cd /usr/lib
# ln -s

It may be an ugly hack, but it solved the issue for me.

Categories: python Tags: , ,

Anaconda Python distribution

September 15, 2013 Leave a comment


Completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing.

It has the advantage that it installs everything in a specified directory. Say you need to use a machine where you don’t have root permission and/or this machine has an old Python version. Just install Anaconda and use the latest Python version it is shipped with.

Update (20160208)
I had Anaconda 2.3 and 2.5 came out a few days ago. How to upgrade to the new distribution?

$ conda update --all
$ conda install anaconda=2.5
$ conda update --all
Categories: python Tags: