Comments (8)
You need to install pip together with Python instead of Python alone.
So try this instead:
pythonbrew uninstall 2.7.7
pythonbrew install --configure="--with-zlib" 2.7.7
Also, I request that you try supporting us at: https://github.com/pybank/pythonbrew
As we are maintaining the project now.
from pythonbrew.
hi,
The installation failed when I run
pythonbrew install --configure="--with-zlib" 2.7.7
The error messages are
Downloading distribute_setup.py as /home/tumh/.pythonbrew/dists/distribute_setup.py
######################################################################## 100.0%
Installing distribute into /home/tumh/.pythonbrew/pythons/Python-2.7.7
ERROR: Failed to install setuptools. See /home/tumh/.pythonbrew/log/build.log to see why.
Skip installation of setuptools.
.pythonbrew/log/build.log shows
(cd /home/tumh/.pythonbrew/pythons/Python-2.7.7/share/man/man1; ln -s python2.1 python.1)
File "distribute_setup.py", line 1
<HTML><TITLE>504 Gateway Timeout</TITLE>
^
SyntaxError: invalid syntax
Any suggestions?
Thank you!
from pythonbrew.
Hello, what system are you using?
Also, is python 2.7.7 available in the config file?
If using a *nix distribution, you can check here: home/.pythonbrew/etc/config.cfg
If there is no 2.7.7 here, add it and then try running the commands (above) again.
from pythonbrew.
hi @Kentoseth ,
I am using Lubuntu 14.04
The config.cfg has configured Python 2.7.7 before.
[Python-2.7.7]
url = http://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz
latest = True
Installing setup-tool always encounters the problem.
I have installed all the dependencies as other similar issues suggest.
Any other suggestions?
Thank you!
from pythonbrew.
Hi there,
Yes, I see now that Python successfully downloaded, so my mistake on the config part.
I think this might work also:
Firstly, I recommended that you uninstall 2.7.7 from pythonbrew (hopefully this is done)
Now see which python you are using by typing:
python
I'm not sure which version you might be on now, but try switching pythonbrew off at this point.
(I think it is something like:
pythonbrew off
)
Now try this command:
pythonbrew install --configure="--with-zlib" 2.7.7
Tell me the outcome of this.
from pythonbrew.
hi @Kentoseth,
The python version is 2.7.6 after I uninstall 2.7.7. And 2.7.6 is my system-wide python version.
After I retry the command
pythonbrew install --configure="--with-zlib" 2.7.7
The problem still exists and the error message does not change.
Thank you.
from pythonbrew.
Hi there,
My apologies for the back and forth.
Can you try running this command:
pythonbrew install --configure="--with-zlib" 2.7.6
This problem is very unusual, as I managed to get 2.7.8 running with pip.
from pythonbrew.
Hi @twmht,
I get the solution.
It is shown at https://github.com/pybank/pythonbrew/pull/7/files .
Pip will be installed if you do the same modifying after that install python 2.7.7 by pythonbrew.
Let's try it!
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!
- 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.