Cant install python modules.
Hi, i have just started using berkeley db xml, and i'd like to use the python bindings ('im more cumfortable with python rather than java or c++).
But, when i follow the procedure (as in README in dbxml-2.5.13/dbxml/src/python/bsddb3-4.8.0/README)
i get the error:
python setup.dbxml.py build
running build
running build_py
running build_ext
building 'bsddb3._pybsddb' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DPYBSDDB_STANDALONE=1 -I../../../../install/include -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c Modules/_bsddb.c -o build/temp.macosx-10.3-fat-2.6/Modules/_bsddb.o
In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
from Modules/_bsddb.c:92:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
from Modules/_bsddb.c:92:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/ny/nydPeoc+Ghy00a8WqC3IU++++TI/-Tmp-//ccJWWHQZ.out
error: command 'gcc' failed with exit status 1
thanks.
I see you are on a mac - building these packages with the default install can be a major PIA. I recommend starting with a fresh python install instead of the system one just to make sure std packages don't get messed up. Also, make sure you have mac dev tools/env installed so you get the right gcc version.
hth,
eleddy
Similar Messages
-
Help! installing python module - Snack Sound Toolkit
Hi all,
I cannot get this sound module for python installed. It's the Snack Sound toolkit ( http://www.speech.kth.se/snack/ )and it's supposed to make musical note making with python easy.
I tried their linux binary from the download page ( http://www.speech.kth.se/snack/download.html ) but have no idea where to put it.
I also tried to build from source but the build process ended halfway through with no error.
The main problem is I have no idea to add modules to python. When I added the snack dir to /usr/lib/python2.5 nothing happened, or when I added it to /lib64 or /lib.
I thought I might need the tcl development libraries but can't find those via pacman?
Anybody have an idea? Or another python-based musical note-making module that is easier to install!?
cheers,
kilolimathey go in `/usr/lib/python2.5/site-packages/' or you use $PYTHONPATH
-
Problems installing python-chess
I need to install python-chess package:
https://pypi.python.org/pypi/python-chess
The author states the following is needed for installation:
Building
libboost-regex-dev and libboost-python-dev are required.
I assume that he's talking about ubuntu based systems. I have boost installed, but am not sure do I need something else:
pacman -Ss boost
extra/boost 1.54.0-4 [installed]
Free peer-reviewed portable C++ source libraries - Development
extra/boost-libs 1.54.0-4 [installed]
Free peer-reviewed portable C++ source libraries - Runtime
community/boost-build 2.0_m12-5 [installed]
Boost build system
During installation, using easy_install I get the following warning, but it seems to install ok:
easy_install --user python-chess
Searching for python-chess
Reading https://pypi.python.org/simple/python-chess/
Best match: python-chess 0.0.5
Downloading https://pypi.python.org/packages/source/p/python-chess/python-chess-0.0.5.tar.gz#md5=456efb47a1431c16472b27063269e85b
Processing python-chess-0.0.5.tar.gz
Writing /tmp/easy_install-skh87f/python-chess-0.0.5/setup.cfg
Running python-chess-0.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-skh87f/python-chess-0.0.5/egg-dist-tmp-xfxhpk
Not SVN Repository
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
zip_safe flag not set; analyzing archive contents...
__pycache__.libchess.cpython-33: module references __file__
Adding python-chess 0.0.5 to easy-install.pth file
Installing ecotool.py script to /home/ed/.local/bin
Installed /home/ed/.local/lib/python3.3/site-packages/python_chess-0.0.5-py3.3-linux-x86_64.egg
Processing dependencies for python-chess
Finished processing dependencies for python-chess
Finally, it seems that installation is finished but I get an error:
import chess
import chess
ImportError Traceback (most recent call last)
<ipython-input-1-31dd7659fda0> in <module>()
----> 1 import chess
/home/ed/.local/lib/python3.3/site-packages/python_chess-0.0.5-py3.3-linux-x86_64.egg/chess/__init__.py in <module>()
28
29 # Import from libchess.
---> 30 from libchess import START_FEN
31 from libchess import opposite_color
32 from libchess import Square
ImportError: /usr/lib/libboost_python.so.1.54.0: undefined symbol: PyClass_Type
Btw, the library works fine with python 2.7.
Last edited by enedene (2013-11-28 14:10:33)Python is not an app, it's an operating programme, like Flash or Java, you won't get an icon. By the way, why do you want Python ? I have it and it makes a novelty Beer programme fill screen then empty when tilted ! Only bothered with it because I have a mate who thought his fruit based product was the best thing since sliced bread, worry about Python if you find something you really want that requires it to work !
Good Luck
If I have helped at all, a click on the White Star is always appreciated :
you can also help others by marking 'accept as solution' -
[Resolved] Distributing a Python module that uses C shared libs?
I did some research on distutils, and I managed to find fairly detailed instructions for how one could distribute a Python module with C extensions. However, I have a Python module which uses ctypes to run code from C shared libraries (more specifically: SDL, and related libraries).
Basically, this is what I have:
pslab.py # requires ctypes wrapper modules below
sdl.py # ctypes wrapper modules require respective shared libs below
sdlmixer.py
sdlimage.py
sdlttf.py
# This is for Linux -- .dll for Windows, .dylib for OSX.
libSDL.so
libSDL_mixer.so
libSDL_image.so
libSDL_ttf.so
Is there a "standard" way to distribute modules of this type (maybe some undocumented distutils method, or something I failed to find)?
The Python files are not the problem (distutils can handle them), but I need a way to install the appropriate shared libs for the platform in question (if necessary), so that ctypes wrapper modules can find and load them.
Last edited by Goran (2012-08-14 08:51:19)You could distribute those files ... but I wouldn't recommend it.
I believe the closest thing to a "standard" is simply to list sdl as a dependency. A package distributor should not try to manage dependencies for users (only inform them of the dependencies). That is either up to the user, or (more often) the distro's package management system.
If I download a program that uses gtk, I don't expect it to include all of the gtk too. Rather, the documentation would simply specify that gtk is a dependency. Are you going to also distribute copies of the python interpreter? Perhaps I'm missing something, but why would sdl be any different than python itself? It's assumed (or speficied) that the user needs to have these installed for your package to work.
Last edited by Trilby (2012-08-13 23:44:44) -
[SOLVED]No osgeo python module after GDAL build -- enabled filegdb
I compiled GDAL 1.10 from [community] using "yaourt -Sb gdal" and modified the PKGBUILD so that ./configure would include --with-fgdb=<path to filegdb libs>
The program compiled and installed fine with FileGDB support but now QGIS, or python doesn't have the much needed osgeo module anymore.
The plugin error when starting qgis says:
Unable to load GdalTools plugin.
The required "osgeo [python-gdal]" module is missing.
Install it and try again.
I can't import it from python using "import osgeo" - no surprise since QGIS complains it can't either.
There isn't an osgeo folder in /usr/lib/python2.7/site-packages anymore either or any of the gdal*.py files.
If I re-install gdal from the community repo, it's all back to normal in both QGIS and python but without ESRI FileGDB support.
Anyone know or can help me figure out what's wrong and why my custom build (with only an added configure option) doesn't include the osgeo python module like the gdal from the community repo does?
If there's any more info I can share that'd be helpful, just let me know.
Last edited by saultdon (2013-07-07 07:02:14)In a paste of the compile output I can see the osgeo module being installed for python3 instead.
The PKGBUILD has a portion that looks like it should be installing for python2 instead:
package () {
cd "${srcdir}/$pkgname-$pkgver"
install -d "${pkgdir}/usr/lib/python2.7/site-packages/"
make DESTDIR="${pkgdir}" install
At least it's installing because I can import the osgeo module in python3, but QGIS uses python2.
I'm not sure why it's installing for python3.
Python3 is the default python on this system by default, that might have something to do with it.
uname -a
Linux alienix 3.9.9-1-ARCH #1 SMP PREEMPT Wed Jul 3 22:45:16 CEST 2013 x86_64 GNU/Linux -
[SOLVED] cant install acpi_call-git
cant install acpi_call-git from aur here is the output
Comment by CIB (2013-08-02 13:22)
Getting errors when trying to build this, it seems to rely on something already being in /usr/lib/modules/3.10.3-1-ARCH/build
Does this rely on some kernel source package or something?
Comment by CIB (2013-08-02 14:02)
Looks like it: linux-headers package. Could that be added to the dependencies, please?
Comment by vadimk (2013-08-17 01:00)
I just tried to makepkg for acpi_call-git package and it fails because
of rejected acpi_call-x86_64.patch. I compared the patch and original file
and they are with the same changes. As a local fix I used:
--- PKGBUILD 2013-08-17 03:36:47.690127666 +0300
+++ PKGBUILD 2013-08-17 03:37:31.380127165 +0300
@@ -46,12 +46,6 @@
sed -i 's|/lib/modules/|/usr/lib/modules/|g' ./Makefile || return 1
fi
- ## x86_64 Patch
- if [ "$CARCH" = "x86_64" ]; then
- msg "Patching for x86_64 systems"
- patch -p1 -i ${srcdir}/acpi_call-x86_64.patch
- fi
## Build
make
I think that patch should be removed too.
Comment by jlgaddis (2013-08-19 15:43)
Confirming `makepkg` fails and flagging as out-of-date due to contents of acpi_call-x86_64.patch being included in upstream as of 02-Jun-2013:
https://github.com/mkottman/acpi_call/commit/b41b5d9c3e309a207547eb2b3e45237fbadd0bbc
Comment by veroke (2013-09-10 21:58)
i Just removed these lines, and it built..
## x86_64 Patch
if [ "$CARCH" = "x86_64" ]; then
msg "Patching for x86_64 systems"
patch -p1 -i ${srcdir}/acpi_call-x86_64.patch
fi
acpi_call-git 20121230-2 (Sat Aug 7 15:33:04 IST 2010)
( Unsupported package: Potentially dangerous ! )
- git (already installed)
Cloning into 'acpi_call'...
Checking connectivity... done
patching file acpi_call.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file acpi_call.c.rej
Last edited by nos09 (2013-09-18 15:48:08)I've used the default PKGBUILD on my 32-bit system and it went just fine:
$ makepkg -si
==> Making package: acpi_call-git 20121230-2 (Wed Sep 18 17:02:03 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> WARNING: Please make sure linux kernel headers are built/installed for the kernel acpi_call will be used with ::
==> WARNING: example #1: 'pacman -S linux-headers'
==> WARNING: example #2: 'pacman -S linux-lts-headers'
==> Git checkout: Updating existing tree
Already up-to-date.
==> Git checkout: Tree has been updated
==> Checkout completed
make -C /usr/lib/modules/3.11.1-1-ARCH/build M=/home/karol/apps/acpi_call-git/src/acpi_call-build modules
make[1]: Entering directory `/usr/src/linux-3.11.1-1-ARCH'
CC [M] /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.o
/home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.c: In function ‘acpi_proc_write’:
/home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.c:273:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat=]
printk(KERN_ERR "acpi_call: Input too long! (%lu)\n", len);
^
Building modules, stage 2.
MODPOST 1 modules
CC /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.mod.o
LD [M] /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.ko
make[1]: Leaving directory `/usr/src/linux-3.11.1-1-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
==> WARNING: The following kernel module build procedure *will fail* if your kernel headers are not built/installed!
-> Building module for 3.11.1-1-ARCH...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "acpi_call-git"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: acpi_call-git 20121230-2 (Wed Sep 18 17:02:20 CEST 2013)
==> Installing package acpi_call-git with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...
Packages (1):
Name New Version Net Change
acpi_call-git 20121230-2 0.06 MiB
Total Installed Size: 0.06 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
(1/1) installing acpi_call-git [########################################################] 100%
[+] use the module -> 'modprobe acpi_call'
>>> run '/usr/bin/turn_off_gpu.sh' to test/view different acpi_call functions to see if it disables your secondary/hybrid video card
>>> FYI: there are a few scripts in '/usr/share/acpi_call/' - some for specific laptops => asus1215n.sh, dellL702X.sh, m11xr2.sh
Optional dependencies for acpi_call-git
linux-headers: needed if using archlinux default kernel [installed]
linux-lts-headers: needed if using the archlinux lts kernel
Are you sure you have linux-headers installed? -
Can't import python modules anymore: Problems with PyQt4.Qt
Hallo,
at the beginning: Sorry for my horrible english!
I made a big mistake and a possible stupid thing:
I yesterday try to install SIP and Ppyqt4 under a virutal enviroment because I want to use SIP for creating
generator codes between pyhton and C++.
I got SIP from the AUR's:
archlinux.org/packages/extra/x86_64/python-sip/
and installed it this way:
lucacerone.net/2013/08/installing-pyqt4 … yx-dGd_phF
I did it this way because on the official SIP-documentation site I didn't understand, WHERE to install this:
pyqt.sourceforge.net/Docs/sip4/installa … onfiguring
I know now, that was a very stupid idea because when I try to run a pyhton script with:
python programm_file.py
, I got the follwing errors importing a module in a python script:
[vain@chinchi2 python_programme]$ python test.py
Traceback (most recent call last):
File "test.py", line 25, in <module>
import matplotlib.pyplot as plt
File "/usr/lib/python3.3/site-packages/matplotlib/pyplot.py", line 98, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/usr/lib/python3.3/site-packages/matplotlib/backends/__init__.py", line 28, in pylab_setup
globals(),locals(),[backend_name],0)
File "/usr/lib/python3.3/site-packages/matplotlib/backends/backend_qt4agg.py", line 13, in <module>
from .backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,\
File "/usr/lib/python3.3/site-packages/matplotlib/backends/backend_qt4.py", line 21, in <module>
import matplotlib.backends.qt4_editor.figureoptions as figureoptions
File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_editor/figureoptions.py", line 13, in <module>
import matplotlib.backends.qt4_editor.formlayout as formlayout
File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_editor/formlayout.py", line 51, in <module>
from matplotlib.backends.qt4_compat import QtGui,QtCore
File "/usr/lib/python3.3/site-packages/matplotlib/backends/qt4_compat.py", line 56, in <module>
from PyQt4 import QtCore, QtGui
RuntimeError: the sip module implements API v11.0 but the PyQt4.QtCore module requires API v10.1
[vain@chinchi2 python_programme]$
I then upgraded PyQt4 to PyQt 5 with pacman and
pyqt5-common 5.2-1 [installed]
python-qscintilla-common 2.8-1 [installed]
qscintilla 2.8-1 [installed]
But there is still the same RuntimeErroe with PyQt4. Maybe there exists false dependencies for the shared libraries? How can I get
rid of these errors, I need pyhton for programming a project. What can I do to solve it?
Every answer which could help is welcome!
Last edited by chinchi (2014-03-21 20:59:25)Lone_Wolf wrote:
Note : i know very little about the packages involved here.
Both of those guides you mention deal with MANUALLY installing sip & pyqt, and that is almost always a BAD idea on archlinux.
Since you also seem to have installed both with pacman, you likely now have a mix of 2 different sip & pyqt installs in one system.
to make things work again, you'll have to clean up your system.
basically that would mean removing the sip & pyqt with pacman, then figuring out what those manual installs added and remove that also.
it will be tricky and time consuming, reinstaling seems like a much easier and faster method.
Once you have succesfully re-installed or cleaned up, just install sip & pyqt through pacman and you should be good to go.
Hi,
I uninstall sip with:
sudo pacman -Rsc sip
also Pyqt and reinstalled them again with Pyqt5 and the new version of sip 4.15.4, so have not more errors like:
from PyQt4 import QtCore, QtGui
RuntimeError: the sip module implements API v11.0 but the PyQt4.QtCore module requires API v10.1
It improved. But I can't still load several Python modules like matplotlib:
File "erstenprog.py", line 26, in <module>
import matplotlib.pyplot as plt
ImportError: No module named 'matplotlib'
Any idea?
chinchi -
hello guys,
i have a very annoying problem with libpypac,
python uses dynamically binary loading and that means that if i should install python with libpypac i'll be in trouble,
scenario:
i run "lazy-pac-cli -S python" and the steps taken by libpypac are,
1. Download the new python version
2. Uninstall the old version
3. Install the new version
you see, when step three comes there is missing stuff that has'nt been used before, i've thought of making o dummypackage or something,@cactus
it should be "stuff missing" i guess,
i want to do it as your first suggestion but i can't figure out how to do it,
a temporary dir sounds like an ugly workaround even if it might work,
how does the real pacman do it with glibc, that should be like the same problem,
@iphitus
i've thought so too but look here what happens:
[root@UFU abs]# ./lazy-pac-cli -S python
The package is already installed in the system.
The following packages will be installed with python:
python-2.4.1-1
Total compressed size: 9.9 MB
Proceed with the installation? [y/n] y
Downloading python ...
... checking md5sum ... done.
Installing python ...
Traceback (most recent call last):
File "./lazy-pac-cli", line 22, in ?
main.install_control(sys.argv)
File "/home/xerxes2/programs/abs/main.py", line 195, in install_control
install_binary(dep_list, None)
File "/home/xerxes2/programs/abs/main.py", line 137, in install_binary
retcode = libpypac.install(package, i, depends_list, noupgrade_list, reason, oldver, None)
File "/home/xerxes2/programs/abs/libpypac.py", line 584, in install
tar = tarfile.open(cache_dir + package + ".pkg.tar.gz", "r:gz")
File "/usr/lib/python2.4/tarfile.py", line 896, in open
File "/usr/lib/python2.4/tarfile.py", line 948, in gzopen
tarfile.CompressionError: gzip module is not available
hmm, it looks like it is some shared binary missing, "gzip module" -
Python module under db 4.3.29
According to the documentation for the python module, version 4.3 of db is sufficient for building the module. However, when I try python setup.py build I get the following error:
dbxml_python_wrap.cpp: In function ‘void init_dbxml()’:
dbxml_python_wrap.cpp:36842: error: ‘DB_READ_UNCOMMITTED’ was not declared in this scope
dbxml_python_wrap.cpp:36848: error: ‘DB_READ_COMMITTED’ was not declared in this scope
I see that the two missing declarations are in the db.h from 4.5.20 included with dbxml, but they aren't in the db.h I have installed here.
What am I to do? I'm working on packaging this for a Linux distribution, and unfortunately they're pretty insistent of using installed libraries instead of packaged ones.Now everything is compiling successfully (with some warnings about -R being an unknown option) but I get the following error when trying to import the module. Any idea where I should start tracking this down?
Python 2.4.3 (#1, Feb 20 2007, 15:36:44)
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import bsddb3
import dbxmlTraceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/dbxml.py", line 5, in ?
import _dbxml
ImportError: /usr/lib/libdbxml-2.3.so: undefined symbol: _ZTI11DbException -
Installing Python 3.1.1
Looking for help on installing Python 3.1.1 on 10.5.x and 10.6.x. Has anyone done this successfully and can share the steps?
Thanks !Well, sallied forth and got it to work ( I believe ):
Got 3.1.1 from
http://www.python.org/download/releases/3.1.1/
untarred in ~/Downloads:
tar xvf Python-3.1.1.tar
Then within the Python-3.1.1 directory ran:
$ ./configure --enable-framework MACOSXDEPLOYMENTTARGET=10.5 --with-universal-archs=all
$ make
$ make test
$ sudo make frameworkinstall
Finally, to fix the PATH, added this to ~/.profile
export PATH=/Library/Frameworks/Python.framework/Versions/3.1/bin:$PATH
from command prompt
$ python3.1
launches new version ...
Some modules don't seem to work..but the goal was to just get it running and this seemed to do it...
This was on 10.5.8 BTW -
Cant run Import-Module ADDSDeployment, on Server 2012 RC?
Hi,
Cant run Import-Module ADDSDeployment, on Server 2012 RC? I did the same on Server 8 with no problem.
So what misstake do I?
PS C:\Users\Administrator> Import-Module ADDSDeployment
Import-Module : The specified module 'ADDSDeployment' was not loaded because no valid module file was found in any modu
le directory.
At line:1 char:1
+ Import-Module ADDSDeployment
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (ADDSDeployment:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Users\Administrator>
/SaiTechHi,
I found the solvution:
Install-windowsfeature -name AD-Domain-Services –IncludeManagementTools
/SaiTech -
The MaxL Python Module, Essbase.py, provides access to Hyperion Essbase multi-dimensional databases from Python programs through MaxL. It is similar in function and usage to the Perl module Essbase.pm. The Essbase Python module interfaces with Hyperion Essbase using a Python ctypes module wrapper for the primary MaxL dll (essmaxl.dll or essmaxlu.dll). The ctypes module is standard in Python 2.5 and may be downloaded for earlier versions from http://sourceforge.net/projects/ctypes. Versions of the wrapper are included for Essbase 6.5 and for Essbase 7.
Updates:
Support for Essbase 7.1 MDX has been added.
http://essbasepy.googlecode.com/A small update to the Essbase Python module has been posted to [http://essbasepy.googlecode.com/] . As before, no compiler is required if you already have Python and the ctypes module (included in the standard library as of version 2.5). Installation is as easy as unzipping the download and executing from the command line:
python setup.py install
Changes
ver. 7.1.2009.0519
1. Added support for Unicode (thanks to Edward Delgado for many cycles of unit and integration testing).
ver. 7.1.2008.0818
1. Changed method of locating MaxL library to (hopefully) make script Unix friendly.
2. Added support for MaxL doubles.
ver. 7.1.2008.0304
1. New generator function rows() which allows for simpler, more pythonic data access.
2. New optional parameter timefmt for the execute() function. Defaults to original time.asctime() format.
ver. 7.1.2007.1106
Original posting to http://essbasepy.googlecode.com/. -
Msi p35 neo, i cant install
Hello
Recently i bought a new pc (mb: msi p35 neo; cpu: core 2 duo 6750). I tried to install but when the instalation search for packages, the system doesnt see the dvd drive (it is a LG GSA-H55N), so I cant install.
Any answers will be well recived.
Felipe Cordero.hello, My dvd drive has ide-atapi interface. FInally I can install Linuxmint 4.0, but I still want to get run archlinux, because I really like it.
Here is the list of the modules loaded by linuxmint:
Module Size Used by
af_packet 24840 2
binfmt_misc 12936 1
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
acpi_cpufreq 10568 0
cpufreq_powersave 2688 0
cpufreq_stats 7232 0
cpufreq_userspace 5280 0
cpufreq_ondemand 9612 2
cpufreq_conservative 8072 0
freq_table 5792 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
video 18060 0
container 5504 0
sbs 19592 0
button 8976 0
dock 10656 0
ac 6148 0
battery 11012 0
parport_pc 37412 0
lp 12580 0
parport 37448 3 ppdev,parport_pc,lp
snd_hda_intel 263712 1
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
nvidia 6221648 34
xpad 9988 0
sr_mod 17828 0
cdrom 37536 1 sr_mod
i2c_core 26112 1 nvidia
pcspkr 4224 0
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
intel_agp 25620 0
psmouse 39952 0
serio_raw 8068 0
snd 54660 11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
agpgart 35016 2 nvidia,intel_agp
shpchp 34580 0
pci_hotplug 32704 1 shpchp
soundcore 8800 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
evdev 11136 4
joydev 11328 0
reiserfs 248704 1
sg 36764 0
sd_mod 30336 5
usbhid 29536 0
hid 28928 1 usbhid
pata_marvell 8064 0
ata_piix 17540 4
r8169 32260 0
ata_generic 8452 0
libata 125168 3 pata_marvell,ata_piix,ata_generic
scsi_mod 147084 4 sr_mod,sg,sd_mod,libata
uhci_hcd 26640 0
ehci_hcd 36492 0
usbcore 138632 5 xpad,usbhid,uhci_hcd,ehci_hcd
thermal 14344 0
processor 32072 2 acpi_cpufreq,thermal
fan 5764 0
capability 5896 0
commoncap 8320 1 capability
fuse 47124 7
Are there any module for my ide-atapi dvdrom that arch doesnt load at boot??? If someone know about that I will be very happy -
[solved ]Gedit plugins not working (python module missing)
What's the problem with python gedit plugins? None of them works, all I get is this:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
** (gedit:8017): WARNING **: Could not import pygtk
Traceback (most recent call last):
File "/opt/gnome/lib/gedit-2/plugins/terminal.py", line 23, in ?
import gedit
ImportError: No module named gedit
** (gedit:8017): WARNING **: Could not load python module terminal
** (gedit:8017): WARNING **: Error, impossible to activate plugin 'Embedded Terminal'
I've added all imaginable paths to PYTHONHOME and PYTHONPATH and I have pygtk installed. I could not find that gedit module anywhere either. What should I do?
edit: solved by installing newest gedit from testing (2.18.0)
Last edited by mikoro (2007-03-27 17:24:34)Mar2zz wrote:
I am using Gnome indeed. I have the following items under Edit:
- Undo
- Redo
- Cut
- Copy
- Paste
- Remove (or delete, translating from Dutch)
- Select all
- Insert date and time
That's it...
Ok, try my suggestion: click on the Gedit icon in the top bar. It might be in there. That's where GNOME is starting to put all of the application-wide (as opposed to instance-specific) menu entries.
Last edited by jakobcreutzfeldt (2013-07-05 15:45:59) -
How to install memory modules on a macbook pro 15"
I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?
how to install memory modules on a macbook pro 15"
Read the manual / user guide that came with your comptuer or download it from http://support.apple.com/manuals/
I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?
Post your question on the Paralells forums: http://forums.parallels.com
Maybe you are looking for
-
I cannot see other user's tables via the OTHER USERS link
I'm using SQL Developer version 1.5.0.53 Build MAIN-53.38. I log into the database as a user who has SELECT access to tables in other schemas via a ROLE. In the SQL window, I can select from those other tables as I expect. But, when I go down to the
-
Error while importing mdl in owb 11G
Hi All, When we are imprting the r12rfrmpmdl in owb11g in one of the enviorment we are getting the following error: Importing into workspace MTHOWNER1 Project "MTH" Import ended at 07/12/2010 22:50:21 PDT Log File output to /home/abc/mth/r12rfrmp_imp
-
Error running Java after first time installation on shared server
Hello, I have just installed jre1.6.0_21 for the first time in my home folder on a shared Linux server. I am logged onto the server, so I am acting as the localhost. I get the following error when running java -version: Error occurred during initiali
-
I have a UI which has JTextFields. I want to validate the data type(string, boolean etc) when the user enters and clicks an ok button. Also I have certain fields which are "*" fields, "*" fields are required. I do I enforce this to the user? How do I
-
BT Inifinty 2 - started disconnecting continuously...
BT Home Hub2 Software version 4.7.5.1.83.2.11.2.6 (Type B), Location : North Cardiff I have had Infinty 2 unlimited (maybe had for 6 months?), no problems until last 7 days. I was getting 54/14 (I think), now getting 30/8, that is when the connection