Ask Your Question

Revision history [back]

"Type Error" when trying to install a package

I'm trying to install the macaulay2 package and I'm getting an error which i can't seem to figure out. Please excuse my newbitude.


sage: install_package(macaulay2)

TypeError Traceback (most recent call last)

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/data/extcode/macaulay2/user/<ipython console=""> in <module>()

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/lib/python2.6/site-packages/sage/misc/package.pyc in install_package(package, force) 129 S,O,E = [], [], [] 130 S.extend([P for P in standard_packages()[1] if P.startswith(package)]) --> 131 O.extend([P for P in optional_packages()[1] if P.startswith(package)]) 132 E.extend([P for P in experimental_packages()[1] if P.startswith(package)]) 133 L = S+O+E

TypeError: expected a character buffer object


What does this mean? What do I need to do to fix it?

click to hide/show revision 2
retagged

"Type Error" when trying to install a package

I'm trying to install the macaulay2 package and I'm getting an error which i can't seem to figure out. Please excuse my newbitude.


sage: install_package(macaulay2)

TypeError Traceback (most recent call last)

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/data/extcode/macaulay2/user/<ipython console=""> in <module>()

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/lib/python2.6/site-packages/sage/misc/package.pyc in install_package(package, force) 129 S,O,E = [], [], [] 130 S.extend([P for P in standard_packages()[1] if P.startswith(package)]) --> 131 O.extend([P for P in optional_packages()[1] if P.startswith(package)]) 132 E.extend([P for P in experimental_packages()[1] if P.startswith(package)]) 133 L = S+O+E

TypeError: expected a character buffer object


What does this mean? What do I need to do to fix it?

click to hide/show revision 3
retagged

"Type Error" when trying to install a package

I'm trying to install the macaulay2 package and I'm getting an error which i can't seem to figure out. Please excuse my newbitude.


sage: install_package(macaulay2)

TypeError Traceback (most recent call last)

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/data/extcode/macaulay2/user/<ipython console=""> in <module>()

/opt/sage-4.6.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/local/lib/python2.6/site-packages/sage/misc/package.pyc in install_package(package, force) 129 S,O,E = [], [], [] 130 S.extend([P for P in standard_packages()[1] if P.startswith(package)]) --> 131 O.extend([P for P in optional_packages()[1] if P.startswith(package)]) 132 E.extend([P for P in experimental_packages()[1] if P.startswith(package)]) 133 L = S+O+E

TypeError: expected a character buffer object


What does this mean? What do I need to do to fix it?