conda config --add channels conda-forge conda install pyopencl worked like magic!! thanks
On Tue, Mar 28, 2017 at 4:44 AM, Sam Miller <smill...@live.com> wrote: > Try running > > conda config --add channels conda-forge > conda install pyopencl > > If that doesn’t work, try > > pip install pyopencl > > first before you download anything directly from the pyopencl’s website. > Unless you want to manually build your packages, first try conda and then > pip to install or upgrade packages. There should be no need to change the > sys.path manually using the package managers like conda/pip. > > > - Sam > > > > On Mar 28, 2017, 4:59 AM -0400, aseem hegshetye <aseem.hegshe...@gmail.com>, > wrote: > > Hi, > I installed Jupyter notebook through anaconda3 package. It comes with all > required python modules. > when i do "import pyopencl" i get an error saying no module found. > So i did > "import sys > sys.path.append('/Users/xyz/')" > where i have a pyopencl folder extracted from the tar zip file i > downloaded on official pyopencl page. > This way i was able to sucessfully import pyopencl. > But when i wrote " from pyopencl import array" i get another error saying > cannot import array. > Should i copy paste pyopencl folder into anaconda3 folder, or is there a > specific folder path where pyopencl has been installed on my mac, which i > should append to sys.path. > > thanks > Aseem > _______________________________________________ > PyOpenCL mailing list > PyOpenCL@tiker.net > https://lists.tiker.net/listinfo/pyopencl > >
_______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl