GithubHelp home page GithubHelp logo

Comments (12)

sergsb avatar sergsb commented on May 28, 2024

Proved in Linux too.

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

Yes, ok. I need to fix this. Trying to implement char-rnn in https://github.com/hughperkins/clnn currently. I havent forgotten you :-)

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

Hmmm, ok, exists on linux too, and I can replicate it (just have). That makes it easier to fix.

(hmmm, odd that it downloads the tar.gz when there is a perfectly good egg available)

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

Hmmm, what happens if you download the egg directly from https://pypi.python.org/pypi/DeepCL/5.10.2 , and then do easy_install DeepCL-5.10.2-py2.7-linux-x86_64.egg? (or equivalent, depending on os/bitness).

(Of course, there are two mysteries:

  • why is pip downloading the tarball, rather than the egg? => Any ideas?
  • why is files.txt missing => I wll check this

)

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

deepcl-py-installokfromegg

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

(Fixed the setup.py so it creates a valid source distribution; I need to rerun the builds to upload this to pypi and so on)

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

Got the whole thing building on windows and linux again, and done a new release. For some unknown reason, pip is still downloading the tarball, rather than the egg. I'm not sure why? Anyway, it seems it builds ok now?

from deepcl.

luthfianto avatar luthfianto commented on May 28, 2024

I have this problem on installing DeepCL from pip. From what I heard, /EHsc is a specific parameter for VS C++.

{lamb} pip install deepcl --pre --upgrade
Collecting deepcl
  Using cached DeepCL-8.0.0.tar.gz
Building wheels for collected packages: deepcl
  Running setup.py bdist_wheel for deepcl
  Complete output from command C:\Anaconda3\python.exe -c "import setuptools;__file__='C:\\Users\\rilut\\AppData\\Local\\Temp\\pip-build-504kqvm_\\deepcl\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d C:\Users\rilut\AppData\Local\Temp\tmp6tago5d3pip-wheel-:
  version:  8.0.0
  running bdist_wheel
  running build
  running build_ext
  building 'PyDeepCL' extension
  creating build
  creating build\temp.win-amd64-3.4
  creating build\temp.win-amd64-3.4\Release
  C:\Anaconda3\pkgs\mingw-4.7-1\MinGW\bin\gcc.exe -mdll -O -Wall -Imysrc -Imysrc/lua -IC:\Anaconda3\include -IC:\Anaconda3\include -c PyDeepCL.cxx -o build\temp.win-amd64-3.4\Release\pydeepcl.o /EHsc
  gcc: error: /EHsc: No such file or directory
  error: command 'C:\\Anaconda3\\pkgs\\mingw-4.7-1\\MinGW\\bin\\gcc.exe' failed with exit status 1

  ----------------------------------------
  Failed building wheel for deepcl
Failed to build deepcl

How to make pip compile DeepCL with VS C++ rather than gcc? I've installed VS 2013 Express.

from deepcl.

luthfianto avatar luthfianto commented on May 28, 2024

@hughperkins no, it's from cmder. I've just tested it with cmd, but it's the same.
Should DeepCL be building with cl instead of gcc in windows? Why it was looking for gcc?
Did my PATH is polluted or what?

from deepcl.

luthfianto avatar luthfianto commented on May 28, 2024

@hughperkins Wow thanks for the detailed comment, I'll look into it.

I'm using Anaconda 2.2.0 (64-bit) (Python 3.4.3). But I think I also have a lot of things in my PATH

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

Hi, I've deleted all my useless replies, and updated the README.md for Python, iwth instructions for building from source :-) https://github.com/hughperkins/DeepCL/blob/master/python/README.md

Basically:

(PS, in case useful, as before, here is a link to the jenkins scripts, as before, but which I fixed just now, and tested, and they are working now, eg https://github.com/hughperkins/DeepCL/blob/master/jenkins/win64-py34.bat (which calls some other scripts from the same directory) They were broken earlier actually...)

from deepcl.

hughperkins avatar hughperkins commented on May 28, 2024

I have this problem on installing DeepCL from pip.

Hmmm.... in theory.... installing from pip... should just be an install, no build. Perhaps you can try directly downloading the egg, and installing that? egg is eg: https://pypi.python.org/packages/3.4/D/DeepCL/DeepCL-8.1.2-py3.4-win-amd64.egg#md5=a6fe39f92d454abb32a2f74c5dcd9c3f (from http://deepcl.hughperkins.com/Downloads/ )

(PS sorry about the disorganized replies; I'm having to remember how the python builds work :-D )

from deepcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.