Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Once I did this, distribute installed properly and then I was able to complete my newspaper install using pip. As a footnote, they state ' The BeautifulSoup package is probably not what you want. Not the answer you're looking for? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. All my pip and setuptools were up to date. Based on that answer my problem was solved by running the pip install command with sudo prefixed.
So I posted a new one: But I gave you the bounty as I think you are hinting to the right issue, of having mixed up the python install. Just follow the from the pypi website. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. You should consider upgrading via the 'pip install --upgrade pip' command. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 on this site the. The only way to get the latest and probably greatest version is to figure out what is wrong with your freetype library and get the pip command to work.
Even trying to install mysqlclient leads to the same error. So, you would first need to upgrade to python 2. I already tried these commands: pip install --upgrade pip install pip install unroll As it was suggested in other posts, but this didn't seem to help either. Decided to try running the subsequent command in the gitsome instructions. Even though pointed out correctly that you should be downloading newspaper3k or newspaper via pip3 or pip depending on your python version. Use auto remove if that works.
You should consider upgrading via the 'pip install --upgrade pip' command. About the error code According to : This module makes available standard errno system symbols. Hackndo noted that the documentation indicate a security issue. But my python version is 3. But note that the command with sudo will install the package for the system python rather than the virtual environment. Try the next command in the instructions. Looks like I skipped few steps while installing python and related packages.
Maybe a pip install --ignore-installed would have worked. Just pushed the latest python-2-branch to pypi. My expectation was that when I create a new environment with pipenv --three, it should invoke pip3 each time I install a package via pipenv install package. It's my old friend the 'pip install --upgrade pip' message! I am on ubuntu 16. I read the full TraceBack and found out I had to create the virtual environment with Python version 2.
I got a few messages that may be of interest. Turns out I had Python 2. Reply to this email directly, view it on GitHub, or mute the thread. Now we go to update setuptools and this version of pip is smart enough to know it should remove the old version of distribute first. I'll update tonight after work when I have more details.
Upgrade something that I just installed? Koen Hi, I think that error might indicate you are not using python 2. Please read the rules and guidelines below and before posting. The long answer is below: Installing the python-pip package using yum brings python-setuptools along as a dependency. This is because your computer uses both Python2. Thank you dearly for any help! This package has a weird setup where you have to rename the setup3. No idea if that's what your problem is, but it may be a good place to start. At this time only need to specify to use 3.
You should consider upgrading via the 'pip install --upgrade pip' command. But my python version is 3. The package name is python-bs4. The error looks like this: What exactly does that mean, and how do I fix it? I don't know if it was only the reinstalling command line tools or was it because of both. I get the error the same like you. You are attempting to install newspaper's python2 repository on python3. If we now run the exact same command a second time, pip install -U setuptools, the old version of setuptools is removed, and version 5.
Error code 1 is defined in errno. At this point all kinds of things are broken due to this extremely old version of setuptools, but we're actually halfway there. Looked back at the gitsome instructions and decided to try pip3 instead of pip. It looks like I skipped a few steps while installing Python and related packages. You should consider upgrading via the 'pip install --upgrade pip' command. I get the error the same like you.
Yes, installed it with Python 3: pip3 install newspaper Collecting newspaper Downloading newspaper-0. I don't know why pip doesn't take us straight to the new version in one shot, but this is what's happening and hopefully it will help others to see this and know you're not going crazy. The thing is that apt-get has only version 20. About your error Your do not appear to be installed. That means some packages in pip are old or not correctly installed. Also, instead of using pip you can just use apt.