Class 'Symfony\Component\EventDispatcher\Event' not found in Laravel/Lumen - symfony

When Trying to install Rackspace package (composer require rackspace/php-opencloud), getting the following error
Class 'Symfony\Component\EventDispatcher\Event' not found.
I have installed symfony package but that could not worked out.
Kindly help me out for this.

Try to install the required package
composer require symfony/event-dispatcher

Related

Frappe installation error "AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'"

When I install frappe ( version-13 ) on linux
when I run bench init
it gives an error
ERROR: httplib2 0.20.1 has requirement pyparsing<3,>=2.4.2, but you'll have pyparsing 3.0.0 which is incompatible.
though the installation goes through.
After that when a new site is created it gives an error
AttributeError: module 'pyparsing' has no attribute 'downcaseTokens
which is a deprecated function not available in version 3.0 but available in 2.4.2
How do I get around this issue ? Can I force install an earlier version of pyparsing ?
Regards
Hari
That python package is using a deprecated function in pyparsing.
you can force install any version of a python module as,
pip install pyparsing==2.4.2
well I think I found a Fix for the one's who wants to use the current version of Pyparsing itself. The base package that it creating a problem is httplib2. so in order to rectify you need to update the httplib2 package.
pip install httplib2
I had issues with importing tf_slim package and got the same error !
$ pip install httplib2
This will resolve the "AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'" error.

Problem with installation of semMediation package on Ubuntu

I'm trying to install the semMediation package on Ubuntu through devtools:
install.packages("devtools")
devtools::install_github("cardiomoon/semMediation")
reference.
But:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 404.
Not Found
Did you spell the repo owner (`cardiomoon`) and repo name (`semMediation`) correctly?
- If spelling is correct, check that you have the required permissions to access the repo.
What can it be?
There was a semMediation package on github. The author of the package wrote a tutorial on RPubs.[See below][1]
  [1]: https://rpubs.com/cardiomoon/200846
However, I don't see any repo with semMediation right now. Maybe because the author deleted the repo. 
But you can still search a repo name with "semMediation" in All Github, because someone might fork that repo. 
Use
devtools::install_github("guhjy/semMediation")
And be happy

Dependency issue installing DevStack

I am trying to install Openstack using DevStack. After correctly creating the user stack and running ./stack.sh, the script starts to install the required dependencies until it hits Obtaining file:///opt/stack/cinder. Then I obtain the following errors:
Exception:
ContextualVersionConflict: (grpcio 1.21.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('grpcio<1.16.0,>=1.0.0'), set(['tooz']))
I understand that there is a conflict in grpcio, but I don't know how to solve it. I already unsuccessfully tried to install a specific version between 1.0.0 and 1.16.0.
The Devstack version I am using is the latest from the git master.
I think I solved the problem myself.
I had the tooz package installed with version 1.62 which was causing the issue.
After removing that package the installation completed.

Not able to load the 'forecast' or 'auto.arima' functions

Although I installed the required packages to execute auto.arima(), im not able to do so. Can anybody navigate through this problem
And further i tried to install "Rccp", but that also failed. Need the solution asap, thanks in advance.
You could try installing the needs package which takes care of all your dependencies.
install.packages('needs')
needs(forecast)
?forecast
you must install the package with dependencies:
install.packages("forecast", dependencies = TRUE)

Error while installing azimuth in meteor project

After Installation of meteor and creation of meteor project I run the following command:
sudo meteor add azimuth-views-foundation
I get the following error, please suggest what am I missing:
=> Errors while parsing arguments:
While adding package azimuth-views-foundation: error: no such package
If you take a look into this search on Atmosphere Azimuth, there is not such package named azimuth-views-foundation
Try with meteor add mcrider:azimuth-views-foundation instead.

Resources