BerkeleyAutomation / gqcnn

Python module for GQ-CNN training and deployment with ROS integration.
https://berkeleyautomation.github.io/gqcnn
Other
306 stars 149 forks source link

Issue: Installation Issue - Wrong setup.py pip dependencies #70

Closed rickstaa closed 5 years ago

rickstaa commented 5 years ago

System information

Describe the problem When Installing the python package, I get several dependency errors:

ERROR: visualization 0.0.6 has requirement matplotlib<=2.2.0, but you'll have matplotlib 2.2.4 which is incompatible.
ERROR: autolab-core 0.0.11 has requirement matplotlib<=2.2.0, but you'll have matplotlib 2.2.4 which is incompatible.

I now changed your setup.py requirements from:

requirements = [
    'autolab-core',
    'autolab-perception',
    'visualization',
    'numpy>=1.14.0',
    'scipy',
    'matplotlib<3.0.0',
    'opencv-python',
    'scikit-image<0.15.0',
    'scikit-learn',
    'psutil',
    'gputil'
]

to:

requirements = [
    'autolab-core',
    'autolab-perception',
    'visualization',
    'numpy>=1.14.0',
    'scipy',
    'matplotlib<2.2.0',
    'opencv-python',
    'scikit-image<0.15.0',
    'scikit-learn',
    'psutil',
    'gputil'
]

This could be due to my specific setup, but I thought you should know.

Provide the exact sequence of commands/steps that you executed before running into the problem

  1. Download the gqcnn repository.
  2. Inside the gqcnn folder run the pip install . command
jeffmahler commented 5 years ago

@rickstaa Thanks for bringing up this issue.

@mmatl @visatish Do you know why meshrender and autolab_core depend on matplotlib 2.2.0? I don't see any reason not to upgrade but there must be some problem.

mmatl commented 5 years ago

Matplotlib > 2.2.0 breaks in Python3.

On Wed, May 22, 2019 at 9:06 AM Jeffrey Mahler notifications@github.com wrote:

@rickstaa https://github.com/rickstaa Thanks for bringing up this issue.

@mmatl https://github.com/mmatl @visatish https://github.com/visatish Do you know why meshrender and autolab_core depend on matplotlib 2.2.0? I don't see any reason not to upgrade but there must be some problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BerkeleyAutomation/gqcnn/issues/70?email_source=notifications&email_token=ABRXERU3MEKPW4HNX4Q5VUDPWVVPRA5CNFSM4HOVIZN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7RNXA#issuecomment-494868188, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRXERT3OL3PHCDVKMPGGSDPWVVPRANCNFSM4HOVIZNQ .

visatish commented 5 years ago

Hi @rickstaa,

Sorry you're having trouble with this. We're in the middle of porting the gqcnn library over to Python 3, which should solve a lot of these problems as in doing so we are cleaning up/fixing many installation dependencies. This should be done by early next week, so I would advise you to check back then if you can't get it working in the current state.

Thanks, Vishal

rickstaa commented 5 years ago

@visatish Thanks for pointing that out. I will check the repository next week as kept running into conflicting dependencies with the current versions of gqcnn, autolab_perception and autolab_core. Looking forward to your new version :).

visatish commented 5 years ago

Hi @rickstaa ,

Sorry for the delay! We just pushed v1.1.0, which is compatible with Python 3.5/3.6/3.7. We have fixed the Python 2.7 installation, but I would strongly encourage you to try out the Python 3 one. Let me know if you run into any issues, and once again thanks for you interest!

Thanks, Vishal

rickstaa commented 5 years ago

Similar to #69 thus closing my issue.