w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
scrollbar issue after upgrade to mountain lion vs fresh install
Have you checked the system preference? there you can select how the scrolling should behave visually like Automatically based on mouse or trackpad when scrolling always The first entry should give you your desired behaviour. -Anton

Categories : CSS

How can I install pybrain on Mac OS X Mountain Lion?
Try using the Python package manager pip with the correct permissions: pip install pybrain or clone the repo and build the package git clone git://github.com/pybrain/pybrain.git python setup.py install

Categories : Python

How to install ZendFramework and clt from svn on Mac OS X Lion with the xampp running?
If you are starting a new project, I recommend using Zend Framework 2 not 1. Here are 2 useful links from the ZF2 quick start guide that will help: ZF2 skeleton applicatoin ZF2 tool Try that & let us know how you get on...

Categories : PHP

What version of scipy and matplotlib should I install on Mac Mountain Lion?
It's hard to be 100% sure without a little more information, but I'm 99% sure… Your problem is that you're installing all this stuff for the MacPorts Python, but then trying to run Apple's Python, which doesn't have any of it installed. (Part of the reason I suspect this is that Apple's Python is version 2.7.2, while MacPorts has been on 2.7.5 for a long time now. The other part of the reason is that this is exactly the same kind of problem people have when they install two different Python X.Y versions without realizing that's what they're doing.) If you want to use the MacPorts Python, run /opt/local/bin/python instead of just python. If you know what you're doing, you can change your PATH, or create a symlink, etc., but I suspect you will just confuse yourself further. I person

Categories : Python

Cabal fails to install Idris language on OSX Lion
The first error indicates you should install the LLVM development packages of your distribution (not through cabal) and the second indicates you should install the development package for the GCC libffi library. What Linux distribution are you using? Or are you on Windows/Mac?

Categories : Haskell

Unexpected dylib, la, and pc files with fresh mountain lion install
Do you, by any chance, have TrueCrypt or OSXFuse installed? Because your problem looks like this or this. The TrueCrypt problem is fixed by this script, and if you have OSXFuse, you can just remove it and use homebrew's version instead.

Categories : Osx

How do I distinguish between a normal install and an upgrade in WIX?
I use this in all my setups: <SetProperty After="FindRelatedProducts" Id="FirstInstall" Value="true"> NOT Installed AND NOT WIX_UPGRADE_DETECTED AND NOT WIX_DOWNGRADE_DETECTED </SetProperty> <SetProperty After="SetFirstInstall" Id="Upgrading" Value="true"> WIX_UPGRADE_DETECTED AND NOT (REMOVE="ALL") </SetProperty> <SetProperty After="RemoveExistingProducts" Id="RemovingForUpgrade" Sequence="execute" Value="true"> (REMOVE="ALL") AND UPGRADINGPRODUCTCODE </SetProperty> <SetProperty After="SetUpgrading" Id="Uninstalling" Value="true"> Installed AND (REMOVE="ALL") AND NOT (WIX_UPGRADE_DETECTED OR UPGRADINGPRODUCTCODE) </SetProperty> <SetProperty After="SetUninstalling" Id="Ma

Categories : Dotnet

Cannot upgrade/un-install m2eclipse plugin in Eclipse
You can remove the m2e plugin in Eclipse Help > About eclipse > Installation details. You should find all the m2e to uninstall. Edit : You could also reload eclipse with the -clean option so any cached data used by the OSGi framework and eclipse runtime will be wiped clean

Categories : Eclipse

"The gem ... has been deleted. It was installed at" Error. Bundle install doesn't install gems. How to re-install gems?
This solved it for me: "gem install" and "bundle install" do not install gem dependencies after manual gem deletion. How to inform Rubygems that gems were deleted manually? (Delete the .gemspec files for the gems you have removed).

Categories : Misc

Mountain Lion, failed to install ruby on rails [ERROR: Failed to build gem native extension.]
Either download and install 'command line tools' from apples developer download page: https://developer.apple.com/downloads/ or just install xcode through App Store.. and try again. And as mentioned by someone else in the comments, rbenv is a much better and easier way to manage your rubies on Mac OS X, so consider making the switch. to remove rvm from your system do: rvm implode and then restart your shell to make sure you are installing rbenv in a clean environment. for detailed instructions on how to install a decent rails dev environment on mac take a look at the instructions i put together in a blog post here: http://blog.parsalabs.com/blog/2013/08/27/setting-up-a-ruby-on-rails-4-development-environment-on-a-clean-mac-os-x-installation/ they worked for me, hope you will find the

Categories : Ruby On Rails

When creating a NuGet PowerShell script, how can you tell the difference between a new install and upgrade?
I don't think it's possible to know if the current operation is install or upgrade. When NuGet upgrades a package, what NuGet does is basically uninstall the existing package and install the new package.

Categories : Powershell

How to Install Matplotlib Basemap Module on Windows 7 with WinPython (or any Python stack install)?
I use windows. And my installation failed with official guidance, too. Finally I installed Basemap using the following method. Although I am not sure if it will go right for you, I just offer mine. First of all, you must have pip in your computer. (It is much easier to install, compared with Basemap and other things. And it can be used to install many useful packages.) Then go this great link: http://www.lfd.uci.edu/~gohlke/pythonlibs/ And download the file named "basemap‑1.0.8‑cp27‑none‑win_amd64.whl". Remove the .whl file to directory "C:Python27". (Maybe you installed your python in different disk, then change it accordingly.) Open terminal. (Use cmd or Git Bash or something else.) Use command: pip install basemap‑1.0.8‑cp27‑none‑win_amd64.whl

Categories : Python

Pip install python package into a specific directory other than the default install location
System: Ubuntu 12.04, Enthought Python Distribution (this is where I wanted to install a new python module) So the prefix_path environment variable didn't work for me and pip still kept installing it in the default location. But I used change default directory for pip install question as a guide. And one of the answers helped me achieve what I needed. pip install -d <path_to_my_directory> For the path I used: path_to_epd_directory/lib/python2.7/site-packages This puts the tar.gz file into the site-packages Then extract it using: tar -zxvf pymodule.tar.gz a directory named pymodule is created, cd into that module and type: python setup.py install and that should do the job.

Categories : Python

Error "invalid switch in RUBYOPT: -F (RuntimeError)" is shown while install gems by gem install mechanize
I found the reason. Just because there is a space in the installation path of Ruby RUBY EXECUTABLE: "C:/Program Files/Ruby200-x64/bin/ruby.exe" Re-install the Ruby to the path which doesn't contain space, this error will be fixed. And, of course, AutoRun should be removed from HKCUSoftwareMicrosoftCommand Processor and HKLMSoftwareMicrosoftCommand Processor. That's important!

Categories : Ruby

Component install error: JInstaller: :Install: File does not exist
check if you have added this code to your XML: <languages> <language tag="en-GB" client="site">language/en-GB/en-GB.com_helloworld.ini</language> <language tag="en-GB" client="site">language/en-GB/en-GB.com_helloworldt.sys.ini</language> </languages> and: <administration> ... <languages> <language tag="en-GB" client="site">language/en-GB/en-GB.com_helloworld.ini</language> <language tag="en-GB" client="site">language/en-GB/en-GB.com_helloworld.sys.ini</language> </languages> ... </administration> and check if the files are included in your installation ZIP - in right folder, e.g.: language/en-GB/ ... Be aware, the path to the file can be different for

Categories : PHP

C# Install - Change a custom folder location using install dialog
So PATHPROPERTY returns the custom folder location user has selected, If thats the case you have to set that property to "Property" attribute. Also make sure in the User Interface Editor you are getting the user input before installation starts. (You can move up and down the UI to required position)

Categories : C#

How install ruby with rbenv install 1.9.3-p448 ubuntu 12.04 vagrant box?
Download the ruby using your browser from ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.bz2 and place it in ~/.rbenv/caches/ruby-1.9.3-p448.tar.bz2, then run rbenv install 1.9.3-p448 Explanation here

Categories : Ruby On Rails

When exporting .Apk in the android manifest its does not install on other phones, when getting from Bin folder it does install?
There is most likely a problem with the certificate. Try making a new certificate, keystore, and alias, then generate the .apk again. Make sure that no previous instance of the app is on the phone when you try to install this new version or the mismatch of signatures will cause the installation to fail. Also, was there a previous version of the app installed on their phones already? The signature mismatch may occur due to the use of both signed and unsigned(in reality the .apk is singed, but it is done automatically by the system) .apks

Categories : Android

Why "bundle install" try to install outdated version of gems?
bundle install or in short bundle does not install the latest gem unless you have left out the version in your Gemfile. e.g. gem 'rails' But usually this is not the case, we specify versions to prevent application from "crashing" when some gems are updated and we unknowingly run bundle update, or for that matter move application to say test or production servers. Usually when adding a gem to Gemfile, we do: gem 'rails', '~> 3.2.7' Note the leading ~> in the version number. This says: use rails gem between versions 3.2.7 and less than 3.3.0. In order for your bundle command to grab rails 4.0, you need to change that line to read either one of the following: gem 'rails', '>= 3.2.7' or gem 'rails', '4.0.0' If you use gem 'rails', '>= 3.2.7' then your rails appl

Categories : Ruby On Rails

rails heroku - how to install javascript dependences that needs 'npm install ...'
If you are deploying a Node app, declare it in your package.json, otherwise, specific it in your gemfile. https://devcenter.heroku.com/articles/getting-started-with-nodejs#declare-dependencies-with-npm

Categories : Ruby On Rails

Bundle install gets permission issues with global RVM install
This error doesn't necessarily need to be solved. Your bundle is installing properly, but it's not able to remove cached gems. It's a pretty harmless error unless you're running way short on hard drive space. I actually get this same error too. The problem is that my home directory is remotely mounted, so local root doesn't have permission to modify items there. Local root only has global write permissions on local directories. I imagine, based on what you describe, that you have the same issue. You could remove the files manually, or you could instruct rvm to install gems in a directory on the local machine.

Categories : Ruby On Rails

Install multiple packages on linux (like pip install -r requirements.txt)
Put the list of packages in a text file(say test.txt) with package names separated by spaces, like this - python ruby foo bar then you can just install with apt-get like this - sudo apt-get install $(cat test.txt)

Categories : Linux

Rails : gem install vs. gemfile&bnudle install
RubyGems is akin to a package manager for Ruby. It's a means by which you can install self-contained libraries to use in your applications. When you use gem install gemname you're installing that gem to the current machine that you're developing on. Bundler is a tool for managing the gems that your application depends on. When you create a Gemfile, you list the various gems and their versions that your application requires. This allows you to easily ensure that your application has the gems it needs when you deploy it to a new location - for example, when you push to Heroku, your Gemfile is used to determine all the dependencies of your application. Running bundle install will take the list of required gems in your gemfile and install them if they aren't installed already, just like

Categories : Ruby On Rails

Trying to install a Scitools Python pkg via 'pip install' but getting error
I had the same error but resolved it by manually installing all the Anaconda packages. NumPy SciPy Pandas PyTables h5py Matplotlib IPython Spyder Qt/PySide VTK Numexpr Astropy Cython LLVM LLVMpy Numba Scikit-learn Scikit-image NLTK NetworkX MayaVi

Categories : Python

Can't Install gem install mysql2 Ruby WINx64
I've downloaded the connector from http://dev.mysql.com/downloads/mirror.php?id=412857 and typed in the command prompt gem install mysql --platform=ruby -- --with-mysql-include=C:mysql-connector-c-6.1.0-winx64include --with-mysql-lib=C:mysql-connector-c-6.1.0-winx64lib

Categories : Mysql

Go install always fails no install directory outside GOPATH
You are using go install on a directory outside the GOPATH folder. Set your GOBIN env variable, or move src folder inside GOPATH. GOPATH/ bin/ src/ go-statsd-client/ More info: GO BUILD Source code, line 296

Categories : Osx

how to install php 5.4 install on ubuntu desktop 12.04?
Maybe this tutorial will help http://www.barryodonovan.com/index.php/2012/05/22/ubuntu-12-04-precise-pangolin-and-php-5-4-again

Categories : PHP

How can I install Leiningen self-install from behind a firewall?
This should help: https://github.com/technomancy/leiningen/wiki/HTTP-Proxies You should work on your googling skills ;)

Categories : Misc

Steps to Install Git from source, install Post-Git from source, and then load up Posh in PowerShell?
Check out https://github.com/msysgit/msysgit for building Git for Windows. (For what it's worth, I've never built Git on Windows and don't consider myself to have missed out.) Once you have Git built (or installed): Add the location of git.exe to your %PATH% Clone posh-git to a directory of your choosing Run posh-git's install.ps1 to install the default prompt in your $PROFILE

Categories : Windows

Rake db:migrate error Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter`
It looks like you might be using sqlite in development. Can you try this in your gemfile instead of what you have? group :development, :test do gem 'sqlite3' gem "unicorn", "~> 4.6.2" end Then usual bundle install and run migration again.

Categories : Ruby On Rails

Permission error when try to install psycopg2 on Mac with "pip install psycopg2"
For a variety of packages that require c compilation (gevent, zeromq, etc.) it seems that pip is adding extra spaces to the command, causing it to fail: go into Xcode and explicitly download the Command Line Tools (under Preferences > Downloads). From: http://www.pressingquestion.com/5111217/Pip-Installation-Adds-Extra-Spaces-To-Command-On-Os-X-108

Categories : Misc

Python GDAL: pip install --no-install GDAL fails
A workaround to that problem is to Download GDAL Complete from this site Install GDAL Complete.pkg Go to /Library/Frameworks/GDAL.framework/Versions/1.10/ and copy all files in there Go to your virtual environment's sites-packages /venv/lib/python2.7/site-packages and paste the copied files in there

Categories : Python

What's the pros and cons to install HBase + Hadoop together vs. install HBase and Hadoop seperately?
Option 1: An integrated cluster. Pros: MapReduce which reads or writes HBase will more efficient as the data locality. Cons: The HBase region server will reduce the performance of the machine (Datanode and TaskTracker) as it need to hold some CPU and memory. The HBase latency may be seconds if there are many MapReduce jobs. So if you want to make HBase response in time, you need more work (For example, using memcache to improve the read performance). Option 2: 2 clusters. Prons: The HBase region server will not impact the performance of the HDFS Datenode and the TaskTracker. Cons: MapReduce needs to read and write the data remotely if it wants to access HBase. The option also needs more machines.

Categories : Hadoop

Please install the postgresql adapter: `gem install activerecord-postgresql-adapter`
First of all best practice is to use same DB for all environments. Could you please run RAILS_ENV=production bundle exec gem install pg on server? The problem seems to be in absence of pg gem in assets group when running RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile

Categories : Ruby On Rails

Why is "install" run twice?
$ bundle install --without production prevents bundler from installing any of the production gems. It also gets saved in your local repository and you don't have to run it more than once. Any subsequent run of bundle install will include --without production. bundle install installs only the missing gems from your Gemfile, while bundle update updates/installs every single gem to the latest version as specified in the GemFile..

Categories : Ruby On Rails

How to install Three.js
if I could offer a friendly suggestion. Three.js is fairly advanced for a first time Javascript programmer, you might want to try some basic tutorials on HTML5 with Javascript, move your way up to library includes and such, then try your hand at Three.js. Here's a couple basic tutorial's on ThreeJS http://aerotwist.com/tutorials/getting-started-with-three-js/ http://stemkoski.github.io/Three.js/#hello-world However, I digress, to include a library in Javascript you use: <script src="relative_path/library_name.js"></script> In your case, download the zip source, copy the build/three.min.js file to a folder relative to your html (like a "js" folder) and use: <script src="js/three.min.js"></script> Kind regards ~D

Categories : Three Js

gem install pg on MAC 10.7.5?
You must have PostgreSQL installed on your before you can install the pg gem. Easiest way to install it is to use homebrew: http://brew.sh/ Make sure you have Xcode installed first. Run: brew install postgresql Add to your GemFile: gem 'pg' Run: bundle install

Categories : Ruby

pip cannot install anything
The explanation is in your logs: Could not fetch URL https://pypi.python.org/simple/yolk/: HTTP Error 503: Service Unavailable Notice the HTTP Error 503: Service Unavailable. It seems the site was down when you were trying to do this. It's good to know that HTTP 5xx errors are server side errors, so you can know the problem was not in your local network but in the remote network. It means try again later ;-) (and cross fingers...) (It works for me now btw.)

Categories : Python

Can't install OpenSSL 1.0.1e
My guess is that OS X has an older version of openssl in /usr/bin, and Homebrew places it's version in /usr/local/bin Try /usr/local/bin/openssl version Edit: Before you try the above command, run: brew link --force openssl

Categories : Osx

Install gitk on Mac
Correct, the 1.7.12.4 (Apple Git-37) does not come with gitk. You can install a more recent version of git which comes with gitk by using brew. More thorough instructions located here: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ Run the following commands at the terminal: brew update brew install git If you get an error indicating it could not link git, then you may need to change permissions/owners of the files it mentions. Once completed, run: which git And make sure it shows: /usr/local/bin/git If it does not, run: brew doctor And make the path change to put /usr/local/bin earlier in the path. Now, gitk should be on your path (along with an updated version of git).

Categories : Osx



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.