I recently reformatted my computer, and I've been trying to reinstall Python and Pip and the modules I use for programming. However, when I try to install modules with pip in powershell, for example "pip install BeautifulSoup", it displays
PS C:\Users\Norman\Copy\Coding\LinguisticsProject> pip install BeautifulSoup
Downloading/unpacking pip
Downloading/unpacking setuptools
Downloading/unpacking install
Could not find any downloads that satisfy the requirement install
Some externally hosted files were ignored (use --allow-external install to allow).
Cleaning up...
No distributions at all found for install
Storing debug log for failure in C:\Users\Norman\pip\pip.log
The log file can be found at http://pastebin.com/Th7uuKA4. The module is not installing correctly, because the module is not found when I try to import it. I have my user PATH variable set to the following: http://pastebin.com/htquhuVY. Thanks!
I believe the package you are looking for is BeautifulSoup4. I failed this too. I feel your pain.
Related
So, Iere is what I encountered:
I try to install pip install lxml under windows, python3.5 (anaconda3), and I have the error saying that
running build_ext
building 'lxml.etree' extension
error: Unable to find vcvarsall.bat
so of course I downloaded lxml for http://www.lfd.uci.edu/~gohlke/pythonlibs, and installed without a problem using the .whl file, and then I try to install a package that depends on lxml, pip is trying to build lxml again and does not aware it already has been installed....
Second problem, I upgraded pip to 8.1.2, and when I do pip --version i have 8.1.2. however, when I try to pip install something, I still get the message:
You are using pip version 8.0.0, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
anyone had the same problem? so strange, before I never had such issues.
Update
I think i found the answer, i have ignore-installed=true in my pip.ini, dont know how this was set, when i delete the line, everything worked
I'm trying to install python package pmock.
Using following command:
sudo pip install pmock
However, I'm getting following error:
Collecting pmock
Getting page https://pypi.python.org/simple/pmock/
Could not find a version that satisfies the requirement pmock (from versions: )
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external pmock to allow).
Cleaning up...
No matching distribution found for pmock
What is the correct way to install python package using pip?
This is one of the common issues coming via pip installtions, generally django setup also throws this error when setting up environment via requirements.txt.Basic solution is to allow external and unverified option too
try external hosted files this way :
sudo pip install pmock --allow-external pmock --allow-unverified pmock
I'm having an issue with pip install. I am trying to download SQLAlchemy and download the gz file from here. However, when I type pip install setup.py in the Command Prompt, I get:
Downloading/unpacking setup.py
Could not find any downloads that satisfy the requirement setup.py
Cleaning up..
No distributions at all found for setup.py
I've been facing a similar problem with pip when trying to download other libraries and this started occurring a day after I downloaded Python 3.4, when I was running Python 2.7 previously. I had a look at this and tried using pip install --pre library_name. However, this doesn't seem to working either and I get a similar message to the one above.
Thank You
You are using wrong command. Please do
pip install SQLAlchemy
Or:
python setup.py install # If you want to manually extract the package for installation for some reason, but this is not required with pip
I'm trying to download Py32 using Pip. It is listed on PYPI here:
https://pypi.python.org/pypi/pywin32/214
I am trying to install it using the standard pip syntax of:
pip2.7 install pywin32-214
This produces the following error message in Command Shell:
C:\Python27\Scripts>pip2.7 install pywin32-214
Downloading/unpacking pywin32-214
Could not find any downloads that satisfy the requirement pywin32-214
Cleaning up...
No distributions at all found for pywin32-214
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log
If I try using the syntax:
pip2.7 install pywin32
I get the following error message instead:
C:\Python27\Scripts>pip2.7 install pywin32
Downloading/unpacking pywin32
Could not find any downloads that satisfy the requirement pywin32
Some externally hosted files were ignored (use --allow-external pywin32 to allow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log
Can anyone see what the issue is here and how I resolve it?
Thanks
Unless you specifically need to install from pip for some reason, I'd highly recommend grabbing the pywin32 installer here from Christoph Gohlke's Python Extension Packages for Windows repository. Everything is already compiled and ready to go, and in my experience nearly all of the installers there just work. You'll need to be using the python.org version of Python, though.
I'm new to python but not programming. My goal is to learn Django for web development.
I've been trying to install the later versions of python, pip and Django. I could install pip for python 2.7 just fine but now that I'm trying to install it on python 3, it gives me an error which I think is related to SSL certifications but not sure how to resolve it. My confusion is the fact that it worked fine once but doesn't happen again. I really appreciate the help.
My code is below:
~$> which python3
/Library/Frameworks/Python.framework/Versions/3.3/bin/python3
~$> which pip
/usr/local/bin/pip
~$> pip -V
pip 1.5.6 from /Library/Python/2.7/site-packages (python 2.7)
~$> sudo python3 /Applications/get-pip.py
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /Users/Gemeni/.pip/pip.log
~$>
I'm still very much stuck. I used a work around and installed pip...
easy_install pip==1.2.1
but the version is not 1.2.1 and I can't install anything else with pip now.
~$> pip install django
Downloading/unpacking django
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement django
Cleaning up...
No distributions at all found for django
Storing debug log for failure in /Users/Gemeni/.pip/pip.log
~$> pip --version
pip 1.5.6 from /Users/Gemeni/.virtualenvs/yara-project/lib/python3.3/site-packages (python 3.3)
Can someone please help me out to figure this out? I installed python3.4 at first but I saw that Django is not supporting it now. I comes with pip already installed. I read everywhere that it's a SSL issue and can be solved by modifying proxy setting but I'm not sure how it can be done. Any thoughts?
pip is for python2
pip3 is for python3
Try to install the package python3-pip with your distro package manager, then use pip3 to install Django. Come back if you get any other problem
Like:
~#>apt-get install python3-pip
~$>pip3 install django