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

Broken Change. #15

Open
kuharan opened this issue Nov 25, 2018 · 8 comments
Open

Broken Change. #15

kuharan opened this issue Nov 25, 2018 · 8 comments

Comments

@kuharan
Copy link

kuharan commented Nov 25, 2018

Originally posted by @karanchahal in #14 (comment)

I am getting this now.
Collecting matplotlib==2.0.2 (from -r requirements.txt (line 31))
Using cached https://files.pythonhosted.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/matplotlib-2.0.2.tar.gz
Complete output from command python setup.py egg_info:
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.0.2]
                python: yes [3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018,
                        14:05:16) [MSC v.1915 32 bit (Intel)]]
              platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
                   six: yes [six was not found.pip will attempt to install
                        it after matplotlib.]
              dateutil: yes [dateutil was not found. It is required for date
                        axis support. pip/easy_install may attempt to
                        install it after matplotlib.]
           functools32: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [pytz was not found. pip will attempt to install
                        it after matplotlib.]
                cycler: yes [cycler was not found. pip will attempt to
                        install it after matplotlib.]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [pyparsing was not found. It is required for
                        mathtext support. pip/easy_install may attempt to
                        install it after matplotlib.]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: no  [The C/C++ header for png (png.h) could not be
                        found.  You may need to install the development
                        package.]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: yes [installing]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype, png

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users....\AppData\Local\Temp\pip-install-pfl82zhk\matplotlib\

@karanchahal
Copy link
Owner

Can you check again ? I have removed the matplotlob dependency in the latest code.

@kuharan
Copy link
Author

kuharan commented Nov 26, 2018

We are progressing... Here is a new error.

Collecting torch (from -r requirements.txt (line 48))
Downloading https://files.pythonhosted.org/packages/5f/e9/bac4204fe9cb1a002ec6140b47f51affda1655379fe302a1caef421f9846/torch-0.1.2.post1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users...\AppData\Local\Temp\pip-install-zybybcj5\torch\setup.py", line 11, in
raise RuntimeError(README)
RuntimeError: PyTorch does not currently provide packages for PyPI (see status at pytorch/pytorch#566).

Please follow the instructions at http://pytorch.org/ to install with miniconda instead.


----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users...\AppData\Local\Temp\pip-install-zybybcj5\torch\

@karanchahal
Copy link
Owner

Hmm, can you install pytorch through the build instructions on the pytorch website ? There is some problem with the dependencies..

@karanchahal
Copy link
Owner

"pytorch doesn't provide packages for 3.4. It only provides packages for 3.5, 3.6, 2.7 at the moment (and 3.7 from next release)"

Are you using python 3.4 ?

@kuharan
Copy link
Author

kuharan commented Nov 29, 2018

I am using the latest Python release 3.7.1
How about using pipreqs for generating a requirements file similar to yours and see if t works. Here is the link - https://pypi.org/project/pipreqs/

@karanchahal
Copy link
Owner

That's what I originally did actually. I'm a little unsure of what issue you are having. Did you try installing Pytorch on your computer ? I think installing that should make everything run well.

@kuharan
Copy link
Author

kuharan commented Dec 12, 2018

Yup I have installed torch as per the requirements file but it yells up with this on the console

python3 server.py
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Traceback (most recent call last):
File "server.py", line 7, in
from preprocessing import preprocess
File "/.../DoodleMaster/preprocessing.py", line 6, in
from util import cmd_image_visualizer, brightenImage
File "/.../DoodleMaster/util.py", line 6, in
import bcolz
File "/.../anaconda3/envs/doodleEnv/lib/python3.5/site-packages/bcolz/init.py", line 76, in
from bcolz.carray_ext import (
ImportError: numpy.core.multiarray failed to import

@karanchahal
Copy link
Owner

Hello, I have updated the installation requirements in this repo. If you can check the readme for the updated instructions and let me know if everything checks out , that would be great.

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

2 participants