how can i install beautiful soup in the centOS server [closed] - terminal

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I just got a new hostserver from hostgator which has centOS. Now I have a webscraping program written in the python which imports from bs4 import BeautifulSoup
how can i install beautiful soup in the centOS server?
Please help

You can do it via setuptools:
easy_install beautifulsoup4
Or, if you have pip installed:
pip install beautifulsoup4
In case you are using system python, you need to run it with sudo.
Or, if you are using system python, you can install it via yum:
sudo yum install python-beautifulsoup4
If, nothing worked at this point for whatever reason, you can always download the package and install it manually, for example:
$ wget http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz
$ tar -xvf beautifulsoup4-4.3.2.tar.gz
$ cd beautifulsoup4-4.3.2
$ python setup.py install
Hope that helps.

Related

Ubuntu apt dist-upgrade failing due to "/var/lib/dkms/nvidia-fs/2.14.12/source/dkms.conf does not exist" [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
I unfortunately found out during a boot that apt had failed to setup boot for an updated kernel correctly.
When I ran sudo apt dist-upgrade I found it was broken..
I have a manually installed the latest Nvidia GPUdirect/CUDA environment because of how old the official Ubuntu packages are. Obviously the install is now causing problems.
Things I tried:
I tried to find where you could "uninstall nvidia-fs". Couldn't find it on any documentation.
I tried to re-install nvidia-fs using the cuda.run installer. The didn't work successfully.
I traced out the scripts, and found a sizable script program that was called /usr/sbin/dkms, that had a "remove" flag.
ran the following command:
sudo dkms remove -m nvidia-fs -v 2.14.12
and then sudo apt dist-upgrade.
This repaired the kernel install. On to fixing the nvidia-fs install.

ubuntu-16.10 unable to locate package [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have recently setup Ubuntu 16.10 and am trying to install PuTTY but keep getting an 'E: Unable to locate package putty' error. I have run both 'sudo apt-get update' and 'sudo apt-get upgrade'. Both complete with success. I have verified that 'main', 'universe', 'restricted', and 'multiverse' are all enabled. But I continue to get the error when trying to install PuTTY. This is the command I'm using 'sudo apt install putty'. Any thoughts on what might be going on?
I was able to finally determine that 16.10 was just too old to update properly. I have moved to 18.04 and successfully installed PuTTY.
This is a common problem when you follow the instructions on the PuTTY website.
Here is how to solve it for ubuntu:
instead of:
sudo apt-get install PuTTY
use:
sudo apt install putty
As expected the package is case sensitive but somehow even PuTTY haven't figured it out.

Install 'yum' in Centos7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I've deleted yum from my server and I did wget to download yum again and extract it. In this folder, I have a lot of files:
AUTHORS completion-helper.py Makefile shell.py yumcommands.py
bin COPYING output.py test yum-cron
callback.py docs po TODO yummain.py
ChangeLog etc README utils.py yum.spec
cli.py INSTALL rpmUtils yum yum-updatesd.py
How can I install it?
Another solution to install packages is to use the RPM command. You first need to download the rpm file and then install it.
For more infos: RPM man page
So, to install yum, simply run those two commands:
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
rpm -ivh yum-3.4.3-154.el7.centos.noarch.rpm

Fail to install libsqlite3-dev (rvm requirements) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I've just moved to Ubuntu 12.10 from Win7. Because Ruby development is a kind of pain on Win. But I get stuck on a first step on Ubuntu also.
First I got rvm as it described on rvm web site:
\curl -L https://get.rvm.io | bash -s
And then this
$ rvm requirements
gave me error and here is the log:
...
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.13-1) but 3.7.15.2-1~pub1 is to be installed
E: Unable to correct problems, you have held broken packages.
I messing around with libsqlite3-dev and libsqlite3-0: re-installing, download and install via dpkg (and forcing instalation also). After one total system reinstall (desperade purge of libsqlite3-0, he-he), 7 hours, dozens web pages and zillions apt-get installs-purge-downloads I totaly don't know what to do. So I can provide any needed log output just don't know what exactly - I am very new in Linux.

`which` finds file, but `bash` doesn't [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I installed Fabric via pip.
Got pip by:
sudo apt-get install python-pip
Got fabric by:
sudo pip install fabric
(It failed when I tried w/out sudo, and warns me about a lack of files in docs or tests).
Now I get the following:
$ which fab
/usr/local/bin/fab
$
$ fab
bash: /usr/bin/fab: No such file or directory
Huh!? I thought which searched the PATH for the resolution that would be used by bash. Am I misunderstanding something? Is Fabric, Pip, or Bash to blame here? How do I fix it?
I know for now I can run /usr/local/bin/fab or:
`which fab` deploy
But I want it to run correctly!
The following will clear where bash thinks fab is located:
hash -d fab
If which fab is in /usr/*local*/bin, but /usr/bin/fab can't be run, I would think of a broken symlink. Or /usr/local/bin/fab is a script that calls /usr/bin/fab (which doesn't exist).
Try file /usr/local/bin/fab.

Resources