473,320 Members | 1,580 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,320 software developers and data experts.

My interpreter be unable to find the pyOpenCL function "create_some_context".

Jory R Ferrell
Uhm...."Why might my interpreter be unable to find the pyOpenCL function 'create_some_context'." Is what I meant to write. Anyways...

I both manually installed (simply pasted the files into the python directory) and used the 64-bit Windows binary install by Christoph Gohlke:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

The interpreter also seems to throw errors for all other example/tutorial code I have tried. The same problem-child module seems to be "_cl". Is it most likely something I am doing wrong? I used the default install path during install, and it still did not work. I have tried to manually download the _cl module but cant seem to find it.

Expand|Select|Wrap|Line Numbers
  1. import pyopencl
  2. ctx = cl.create_some_context()
  3. #This example returns the following: ImportError: No module named _cl
  4.  
Oct 23 '12 #1
1 2942
Hmm...just found the following: pyopencl\__init__.py:10: UserWarning: It looks like you are importing PyOpenCL from its source directory. This likely won't work.
warn("It looks like you are importing PyOpenCL from "
Oct 23 '12 #2

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

Similar topics

2
by: Hitesh Patel | last post by:
hi friends, I am using backtrace() and backtrace_symbols() functions from execinfo.h. when I print backtrace I get only hex address of every function call. I know that to get functions names,...
1
by: Saeed Amrollahi | last post by:
Dear All C++ Programmers Hello I am Saeed Amrollahi. I am a software engineer in Tehran Sewerage Company. I try to use std::map and map::find member function. I use Visual Studio .NET. my...
5
by: Maett | last post by:
Hi. When I try to compile this piece of Code with VC.NET 2003 // code start #include <vector> template< class T > struct Marker { public:
3
by: a6000000 | last post by:
hello how to store the contents from existing <div id="map_canvas">contents</div> http://a6000000.kilu.de/tmp/gmstore.php as a image, maybe in javascript or AJAX_PHP where can we find a...
9
by: jriechers | last post by:
The following is a quick example of what I am trying to do: --- Private Sub MonthCombo_AfterUpdate(Cancel As Integer) = First_Saturday() End Sub ---
1
by: dudeja.rajat | last post by:
Hi, I'm using the CTYPES module of python to load a dll. My dll contains a Get_Version function as: long __stdcall af1xEvdoRDll_GetVersion(long version); This function accepts a long array of...
0
by: dudeja.rajat | last post by:
On Tue, Aug 19, 2008 at 11:04 AM, <dudeja.rajat@gmail.comwrote: Sorry, the problem is resolved. The code in fact is correct and I got the right answers. It is just that I was not priting results...
3
by: Payne | last post by:
Hello, I'm having trouble figuring out how to best explain my problem but I hope I can make myself clear enough. Anyway, I'm doing an assignment for school and in this one we're supposed to write a...
1
by: aashishn86 | last post by:
in my form i give the user two options, either to 'add a new transaction' or delete an existing one. the code for it is: for add transaction <table align=center border='1'...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.