Comments (15)
Try using --force
when installing.
from pythonbrew.
So, are you saying that the error, or failed test, is harmless? I don't really want to force something that is going to cause me issues in the future, and be much harder to track down.
Sean
from pythonbrew.
I also did a fresh OS X Lion install and doing pythonbrew install --force 2.7.2
worked for me. It still runs all the tests. You can see tail -f
the build.log file to see if it installs with a failing test. Worst case scenario, if something really messes up, delete pythonbrew, update pythonbrew with the latest patches, or grab python sources from the site and install it that way.
from pythonbrew.
I have the same issue. Freshly installed OS X Lion + XCode 4.1 + Pythonbrew 0.9. The build will only complete if I use --force, otherwise it will fail on some tests.
from pythonbrew.
Which test fails for you guys? For me, it's test_dl
. Guess it's force
time.
from pythonbrew.
I ended up using --force for python 2.7.2 and that worked fine. --force for python 3 only sort of worked. There was an issue installing setuptools. I don't have more details at the moment, as I am travelling, but I'll try to post more information when I get back.
from pythonbrew.
The following tests has failed for me on Lion: test_ctypes
, test_platform
from pythonbrew.
Failing for me also.
from pythonbrew.
pythonbrew install 3.2.1 yields 4 failed tests:
test_ctypes test_dbm test_distutils test_platform
from pythonbrew.
Same issue here.
Added info to a Gist here: https://gist.github.com/1618234
from pythonbrew.
Obviously the test_platform is wrong.
if sys.byteorder == 'little':
self.assertEqual(res[2], 'i386')
else:
self.assertEqual(res[2], 'PowerPC')
The platform is listed as x86_64, so this is just a bad test.
The pythonbrew docs even show that this test is wrong.
It is possible to build a number of flavours of the universal binary build,
the default is a 32-bit only binary (i386 and ppc). The flavour can be
specified using the option ``--with-universal-archs=VALUE``. The following
values are available:
* ``32-bit``: ``ppc``, ``i386``
* ``64-bit``: ``ppc64``, ``x86_64``
* ``all``: ``ppc``, ``ppc64``, ``i386``, ``x86_64``
* ``3-way``: ``ppc``, ``i386`` and ``x86_64``
* ``intel``: ``i386``, ``x86_64``
There are also a few patches floating around the internet.
Here is one that explicitely fixes the test_platform error: http://mail.python.org/pipermail//python-checkins/2011-July/106590.html
and discussion on applying the patch here: http://bugs.python.org/issue12549
from pythonbrew.
This test is... strange...
test_distutils
i686-apple-darwin11-llvm-gcc-4.2: /private/var/folders/bz/9564twzd2f95kgzvzvt1w1yr0000gn/T/tmpL4I5DR/foo.so: No such file or directory
test test_distutils failed -- Traceback (most recent call last):
The directories exist down to /T which does not have a /tmp subdirectory.
from pythonbrew.
The more I look at the logs, the more it looks like there are just bad tests in Python. The code built successfully, it's just the tests failing.
I think the best course of action is to just --force
install it.
I'm curious to see if anything from this issue helps: #27
from pythonbrew.
+1
pythonbrew install 2.7.2
OS X 10.7.2
Xcode 4.2 upgraded from 4.1
from pythonbrew.
I upgraded to OS X 10.7.3 yesterday, through AppStore I installed XCode 4.3 (you need to start XCode which triggers the 'real' installer. However, pythonbrew install 2.7.2
was still not working.. so I learned about the trick that will do it (not sure about earlier versions of OSX/XCode though). you need to install the Command Line Tools for XCode then everything seems to work nicely. You can download them either on the http://developer.apple.com website or over the Downloads pane in XCode's preferences.
But the mentioned problem with the test cases remains but pythonbrew install --no-test 2.7.2
works.
from pythonbrew.
Related Issues (20)
- when use pythonbrew install python in full new centos system error
- Explain support for minor releases
- DRY for Python versions
- Abandoned - Part 2 HOT 6
- distribute_setup.py already exists but still need to download
- Python 2.7.5 has been released HOT 2
- Patching Python-2.7.5 ERROR: Failed to patch `/Users/alexgao/.pythonbrew/build/Python-2.7.5`. HOT 4
- Systemwide(Multi-User) feature Is not working
- Switch from Distribute to Setuptools 0.7+
- Switch back to original version of python
- Do a release HOT 2
- Maintaining this project HOT 6
- Project has a new home!
- missing pip HOT 8
- how to uninstall pythonbrew totally?
- gitclone of nif python for blender installs to a point, then there is a problem
- ERROR: Unknown python version: `Python-3.6` HOT 2
- while save ~/.bashrc after find wrong HOT 1
- can i use python brew on windows7 and windows 10 to install python environment and python module?
- can i import pythonbrew on my go code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythonbrew.