Hi, this was a little weird. I had Views 3.3 and Views Slideshow 7.x-3.x-dev, and the drush en views_slideshow command did not work with Views 3.3 and 3.x-dev. However, enabling it in the Modules page worked, after I had downloaded 3.x-dev. This was a small issue but someone may find it helpful to have documented.
$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views (3.x) but 7.x-3.3 is available [error]
$ drush dl views-7.x-3.x-dev
Project views (7.x-3.x-dev) downloaded to [success]
/sites/default/modules/views.
Project views contains 2 modules: views, views_ui.
$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views (3.x) but 7.x-3.3+132-dev is [error]
available
$ drush cc all
'all' cache was cleared [success]
$ drush en views_slideshow
Module views_slideshow cannot be enabled because it depends on views (3.x) but 7.x-3.3+132-dev is [error]
available
Anyway if anyone gets this problem, the workaround appears to be going to the module page to control it. Best regards, excellent module all around.
Comments
Comment #1
Jan van Diepen commentedI got the same message on enabling the module through drush.
The dependency is recorded on the 3rd line in the .info file:
According to the documentation on http://drupal.org/node/542202 this should be correct syntax. It is not doing what is expected from the command line using drush.
Change the line to:
and you should be fine with any version of views3.
Comment #2
InTheLyonsDen commentedSame issue...
Editing views_slideshow.info fixes it as Jan Van Diepen illuminated. Thanks!
name = Views Slideshow
description = Provides a View style that displays rows as a jQuery slideshow. This is an API and requires Views Slideshow Cycle or another module that supports the API.
dependencies[] = views (>=3.0)
package = Views
core = 7.x
Comment #3
snufkin commentedAttaching patch.
Comment #4
xiukun.zhou commentedThanks snufkin.
commit:86ed190
Comment #6
edwoodjigga commentedIts good to learn that from you...