473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Import PyTango

I want to import PyTango library
but it gives this error,please help me

>>> import PyTango
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\PyTango\__init__.py", line 90, in <module>

raise ie
ImportError: DLL load failed: The specified module could not be found.
Jan 20 '12 #1
11 2687
dwblas
626 Expert 512MB
Have you installed PyTango and it's dependencies?
Jan 21 '12 #2
Thank you for reply,

my platform is windows xp sp2 32bit

i install,
* Tango-7.2.6
* Python 2.7.2

and i download boost python from this (link http://sourceforge.net/projects/boos.../boost/1.48.0/)
but it has not any exe file it has only source code.

omniORB from this link(
http://sourceforge.net/projects/omni...omniORB-4.1.6/)
there also only source code.

im beginner for PyTango.
This is my research project.

can you please give me a correct installation guide lines and
correct dependencies links or setups.

my email is xxxxxxx
Jan 21 '12 #3
@ dwblas
please help
Jan 23 '12 #4
bvdet
2,851 Expert Mod 2GB
From http://www.tango-controls.org/static...l#dependencies: "If PyTango reports DLL load failed probably you are missing Visual Studio 2005 redistributable package."
Jan 23 '12 #5
thank for reply
Visual Studio 2005 redistributable package also install.

but i cant import PyTango.
[IMG]file:///C:/Documents%20and%20Settings/Administrator/Desktop/error.JPG[/IMG]
Jan 24 '12 #6
bvdet
2,851 Expert Mod 2GB
I see you attempted to post an image. You must enter the URL of your image. Try uploading to an image sharing site such as imgur.com or attach the image file to a post (see additional options under "advanced").
Jan 24 '12 #7

Jan 24 '12 #8
@bvdet tahnx for the advise.
any idea about PyTango.
Jan 24 '12 #9
bvdet
2,851 Expert Mod 2GB
My guess is the Python path does not include the directory where the DLL is located. If so, import sys and append the path to sys.path.
Jan 24 '12 #10
this is the sys.path output

Jan 25 '12 #11
bvdet
2,851 Expert Mod 2GB
Where is the DLL being imported physically located?
Jan 25 '12 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Stian Søiland | last post by:
all examples performed with: Python 2.3+ (#2, Aug 10 2003, 11:09:33) on linux2 (2, 3, 0, 'final', 1) This is a recursive import:
0
by: Vio | last post by:
Hi, I've been trying to embed (statically) wxPy alongside an embedded py interpreter on a linux/gtk box. At one point, for some reason misc.o linking reported "multiple definitions of...
0
by: John Roth | last post by:
I've found a case where it seems that Python is importing two copies of a module without any reason or indication. It took me a while to verify that this is what is occuring: I had to write a...
5
by: Steve Holden | last post by:
This is even stranger: it makes it if I import the module a second time: import dbimp as dbimp import sys if __name__ == "__main__": dbimp.install() #k = sys.modules.keys() #k.sort() #for...
1
by: mark | last post by:
In Access 2000 and 2002, I have created an import specification to import the fixed-width recordset below into an existing table. I am having strange problems with the import of the date and time...
4
by: Bruce W. Roeser | last post by:
All, I'm reading a book by Charles Petzold (Programming VS.Net). Pretty good content but am confused about the difference. From the text: ...
3
by: Mudcat | last post by:
I have a directory structure that contains different modules that run depending on what the user selects. They are identical in name and structure, but what varies is the content of the functions....
2
by: Jon | last post by:
It appears that (windows) python searches in the current working directory before looking in the local site-packages directory, or that '.' comes first in sys.path? The problem arises when I made...
7
by: Ron Adam | last post by:
from __future__ import absolute_import Is there a way to check if this is working? I get the same results with or without it. Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) on win 32 ...
9
by: rsoh.woodhouse | last post by:
Hi, I'm trying to work out some strange (to me) behaviour that I see when running a python script in two different ways (I've inherited some code that needs to be maintained and integrated with...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.