-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install doesn't work. #179
Comments
Hmmm... That's really strange. I can reproduce this with a Python 2.7 virtualenv, but I'm quite certain it's worked before though. If you have Python 3.x, I can confirm that it still installs fine for Python 3 though. |
Same here - can't install with Python 2.7. |
3rd-ed |
I have just uploaded a beta2, can you try again ? I could install it under ubuntu python 2.7 but NOT under a virtualenv (it is a shame but we are going to fix this also) |
I can install it fine, but it's broken due to the version number ValueError: version 2.0.0-beta2 in not in format "x.y.z" or "x.y.z-{beta,alpha,rc1,rc2...}" for example "1.2.2" this stops any plugin from loading. But good job with the release - fix up the version number and I'll be super happy :) |
Arf, doh, I might simply make an rc1 then ;) |
here we go |
Excellent! Up and running on my system. Thanks for the quick turnaround! |
It's interesting that you can use The error I saw when I installed with |
This should finally fix all the issues from errbotio#179
This should finally fix all the issues from errbotio#179
This should finally fix all the issues from errbotio#179
This should finally fix all the issues from errbotio#179
This should finally fix all the issues from errbotio#179
This is actually quite a tough and nasty one. I had it working partially by using absolute paths in a few places, but then setup steps on dependencies suddenly started failing :( What's most frustrating is that with some changes, it would install fine when doing |
Isn't this because On a side note, how difficult would it be to get rid of |
@daenney interesting, can you try it out ? The zip safe thing was put as a quick fix ... And it stayed :) |
If I set
So baww. |
I started trying to convert the sources to just 2.7/3.3 native compatible but there's a lot of places where you guys do |
Yeah I use copytree here, we would need to replace that by a compatible function for the packaged version. |
Right, that makes sense. I still don't get entirely what's tripping up the |
This is what I've noticed ...
As a side note, i did change setup.py to use distutils.dir_utils copy_tree and remove_tree to rule out something with shutil.copytree but that doesn't appear to be the problem. |
@sijis Thanks! I hadn't actually thought about looking at that, the error makes so much sense now. I think I also know how to fix it. |
Great! Im guessing its something with the py2_root variable? |
Without this option, calling pip while setup.py install is being run results in pip deleting the build directory, causing the entire install process to fail with difficult to debug errors about files being missing. This fixes errbotio#179
I finally figured this out. The solution is so glaringly obvious in the end. headdesks @gbin can we merge the associated pull request and issue a new release soon? Current version on PyPi is still uninstallable for many people on Python 2. (I'm not sure what causes this to trigger where it didn't before, I'm thinking it's just the most recent versions of pip, but I'm not certain.) |
/venv/bin/pip run on Mon Aug 26 16:12:22 2013
Downloading/unpacking err
Getting page https://pypi.python.org/simple/err/
URLs to search for versions for err:
https://pypi.python.org/simple/err/
Analyzing links from page https://pypi.python.org/simple/err/
Found link https://pypi.python.org/packages/source/e/err/err-1.3.1.tar.gz#md5=df9c0aa7860b7def90ace44f34f30654 (from https://pypi.python.org/simple/err/), version: 1.3.1
Found link https://pypi.python.org/packages/source/e/err/err-1.6.7.tar.gz#md5=9046923bc906774e978e561180c7484d (from https://pypi.python.org/simple/err/), version: 1.6.7
Found link https://pypi.python.org/packages/source/e/err/err-1.7.1.tar.gz#md5=c30b502e2f3c0356240250e59f8ef2c3 (from https://pypi.python.org/simple/err/), version: 1.7.1
Found link https://pypi.python.org/packages/source/e/err/err-1.6.1.tar.gz#md5=c54c0ba0ad523361f68b312e1b33cfd0 (from https://pypi.python.org/simple/err/), version: 1.6.1
Found link https://pypi.python.org/packages/source/e/err/err-1.6.2.tar.gz#md5=d64e0f2ac4be190322efe0c526da70de (from https://pypi.python.org/simple/err/), version: 1.6.2
Found link https://pypi.python.org/packages/source/e/err/err-1.6.4.tar.gz#md5=0570ff546ca854c71a612e06fe3263e8 (from https://pypi.python.org/simple/err/), version: 1.6.4
Found link https://pypi.python.org/packages/source/e/err/err-1.6.3.tar.gz#md5=f731a9a1fe71d60bacdf648a974f5009 (from https://pypi.python.org/simple/err/), version: 1.6.3
Found link https://pypi.python.org/packages/source/e/err/err-1.7.0.tar.gz#md5=e4de2def3d2207d7ed60cf64b96ec09c (from https://pypi.python.org/simple/err/), version: 1.7.0
Found link https://pypi.python.org/packages/source/e/err/err-1.5.1.tar.gz#md5=b59743e6b06cea10f3722b8b9d326f7c (from https://pypi.python.org/simple/err/), version: 1.5.1
Found link https://pypi.python.org/packages/source/e/err/err-2.0.0-beta.tar.gz#md5=5f0aadf5a2c20d549d7bcc058352475b (from https://pypi.python.org/simple/err/), version: 2.0.0-beta
Found link https://pypi.python.org/packages/source/e/err/err-1.4.1.tar.gz#md5=9dda115f4a24a1b404ad056c51dea849 (from https://pypi.python.org/simple/err/), version: 1.4.1
Found link https://pypi.python.org/packages/source/e/err/err-1.2.2.tar.gz#md5=a57000e5cfcfec04e661cd7b238de94c (from https://pypi.python.org/simple/err/), version: 1.2.2
Found link https://pypi.python.org/packages/source/e/err/err-1.6.6.tar.gz#md5=93dbbeef2a863460369d956fb79c88a2 (from https://pypi.python.org/simple/err/), version: 1.6.6
Found link https://pypi.python.org/packages/source/e/err/err-1.6.0.tar.gz#md5=4e8a040ec8c46dac2763ec29dbc7baa2 (from https://pypi.python.org/simple/err/), version: 1.6.0
Found link https://pypi.python.org/packages/source/e/err/err-1.6.5.tar.gz#md5=e1929b68e984750d7b3d7bfb0a071d4e (from https://pypi.python.org/simple/err/), version: 1.6.5
Skipping link https://github.com/benvd (from https://pypi.python.org/simple/err/); not a file
Skipping link http://thp.io/2007/python-jabberbot/ (from https://pypi.python.org/simple/err/); not a file
Skipping link http://yapsy.sourceforge.net/ (from https://pypi.python.org/simple/err/); not a file
Skipping link https://plus.google.com/101905029512356212669/ (from https://pypi.python.org/simple/err/); not a file
Skipping link http://github.com/gbin/err/ (from https://pypi.python.org/simple/err/); not a file
Skipping link http://www.hipchat.org/ (from https://pypi.python.org/simple/err/); not a file
Skipping link http://www.igniterealtime.org/projects/openfire/ (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/admin (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/plugin-dev (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/glenbot (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/krismolendyke (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/valsteen (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/atalyad (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/linuxtechie (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/pol51 (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/xhtml-im-templating (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/Setup-with-CampFire (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/Setup-with-Hipchat (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/gbin/err/wiki/webhooks (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/joshuatobin (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/CiaranG (from https://pypi.python.org/simple/err/); not a file
Skipping link ERR not Rejoining HIPCHAT Rooms #59 (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/bubba-h57 (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/zoni (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/nvdk (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/zoni/err-dnsutils (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/poirier (from https://pypi.python.org/simple/err/); not a file
Skipping link https://plus.google.com/b/101905029512356212669/communities/117050256560830486288 (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/leonid-s-usov (from https://pypi.python.org/simple/err/); not a file
Skipping link https://github.com/MaxWagner (from https://pypi.python.org/simple/err/); not a file
Using version 2.0.0-beta (newest of versions: 2.0.0-beta, 1.7.1, 1.7.0, 1.6.7, 1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6.0, 1.5.1, 1.4.1, 1.3.1, 1.2.2)
Downloading from URL https://pypi.python.org/packages/source/e/err/err-2.0.0-beta.tar.gz#md5=5f0aadf5a2c20d549d7bcc058352475b (from https://pypi.python.org/simple/err/)
Running setup.py egg_info for package err
py2_root = /venv/build/err/build/py2_src
Downloading/unpacking 3to2
Installing collected packages: 3to2
Successfully installed 3to2
Cleaning up...
Traceback (most recent call last):
OSError: [Errno 2] No such file or directory: 'errbot'
Complete output from command python setup.py egg_info:
py2_root = /venv/build/err/build/py2_src
Downloading/unpacking 3to2
Running setup.py egg_info for package 3to2
Installing collected packages: 3to2
Running setup.py install for 3to2
Successfully installed 3to2
Cleaning up...
Traceback (most recent call last):
File "", line 16, in
File "/venv/build/err/setup.py", line 105, in
File "/venv/build/err/setup.py", line 91, in setup_python2
File "/usr/lib/python2.7/shutil.py", line 169, in copytree
OSError: [Errno 2] No such file or directory: 'errbot'
Command python setup.py egg_info failed with error code 1 in /venv/build/err
Exception information:
Traceback (most recent call last):
File "/venv/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/venv/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 266, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/venv/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1057, in prepare_files
req_to_install.run_egg_info()
File "/venv/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 236, in run_egg_info
command_desc='python setup.py egg_info')
File "/venv/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/util.py", line 662, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /venv/build/err
The text was updated successfully, but these errors were encountered: