Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Information] Requires Python 3.2-3.5 . Maybe 3.5 recommended. #8

Closed
6DammK9 opened this issue Jan 29, 2017 · 8 comments
Closed

[Information] Requires Python 3.2-3.5 . Maybe 3.5 recommended. #8

6DammK9 opened this issue Jan 29, 2017 · 8 comments

Comments

@6DammK9
Copy link
Contributor

6DammK9 commented Jan 29, 2017

If you have Python 2 only, you need to modify the scripts for the HTTP server.
Include it into readme if you want. Cheers!
...
(Copied from my own readme)

Requirement

If not specified, versions are assumed to be recent LTS version.

  • A Nvidia graphic card supporting CUDA (6.5, 7.0, 7.5, 8.0)
  • Linux: gcc/ g++ 4.8
  • Windows: "Microsoft Visual C++ Build Tools 2015" (NOT "Microsoft Visual Studio Community 2015")
  • Python 3 (3.5 recommended) (Python 2.7 needs modifying web host (at least) )
  • Numpy
  • Pillow
  • openCV "cv2" (Python 3 support possible, see installation guide)
  • Chainer
  • CUDA / cuDNN

Installation Guide

Option: Docker user

If you have docker, you may check https://hub.docker.com/r/liamjones/paintschainer-docker/

Option: Fresh install

If not specified, follow instruction from their official website.

If you failed to perform the following steps, you will see this message. Uninstall chainer and install it again.

 Running command python setup.py egg_info
    Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False}
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\lib\\x64']
    Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
@6DammK9 6DammK9 changed the title [Information] Requires Python 3. [Information] Requires Python 3.2-3.5 . Jan 29, 2017
@RikaKagurasaka
Copy link

I'm wondering how to install OpenCV for python 3.5. Pip seems not available.

@taizan
Copy link
Contributor

taizan commented Jan 29, 2017

Thanks for comments.
I ll update install guide later.

I used anaconda and conda install -c menpo opencv3 for openCV
( not normal alittle bit... ? )

@RikaKagurasaka
Copy link

Thanks. I'm looking forward to your guidance.

@6DammK9
Copy link
Contributor Author

6DammK9 commented Jan 29, 2017

Updated progress. Now downloading the 1.2G CUDA + 12GB VS2015 for Win 10 64...

@6DammK9 6DammK9 changed the title [Information] Requires Python 3.2-3.5 . [Information] Requires Python 3.2-3.5 . Maybe 3.5 recommended. Jan 30, 2017
@6DammK9
Copy link
Contributor Author

6DammK9 commented Jan 30, 2017

Update: Reinstalled chainer for multiple times with valid CUDA_PATH (CUDA 8.0 + VS 2015 installed), same error pops out. Not sure why is happens with even os.path.exists(os.environ["CUDA_PATH"]) returns true.
Will try @liamjones solution mentioned in issue #7 .

@sdygt
Copy link

sdygt commented Jan 30, 2017

@RikaSugisawa You can use prebuilt cv2 for Python3 here
(Thanks @solring in #9 )

@6DammK9
Copy link
Contributor Author

6DammK9 commented Jan 30, 2017

Finally managed to open the server. This topic may be closed.
Created a pull request for readme,
Since it is kinda long so please decide where to put the information.

@taizan
Copy link
Contributor

taizan commented Jan 31, 2017

thanks for your a pull request

@taizan taizan closed this as completed Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants