-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Broken links in the Installation doc #1042
Comments
Same problem here. Can the link be fixed please? edit: this link appears to work with curl this one in chrome Found from finding file in directory at: |
Based on the recent distutils-sig discussion, it looks like the best option would be to include a JavaScript-generated download link on the installation instructions page as described at the PyPI wiki. |
Better just to link to https://pypi.org/project/virtualenv/#files and direct the user to use whatever method of download they prefer to get the file from that page. I don't think we should try to describe specific commands, or link to a specific version, and I don't think using Javascript to navigate the PyPI JSON API is a reasonable solution, as the API isn't designed for that. |
@pfmoore What about the the "Edit on GitHub" links that point to 404 pages? |
@badersur As far as I can see, the "Edit with Github" links don't come from anything in our doc sources, but I'm quite happy for them to be fixed, if someone can determine where they are being generated and what needs to be changed. |
I've tried to find how these links are generated but couldn't find anything :/ |
I just landed here. We have some scripts that try to automatically download and install virtualenv based on a given version number of virtualenv that they want. This script was using |
@warsaw There's always the PyPI JSON API: http://pypi.org/pypi/virtualenv/json gets you all the data about what virtualenv releases exist.
|
The download with
The key here is I informed our internal user @warsaw :-) |
Replaced pypi.python.org with pypi.org in the download URL. Added `-L` option to `curl` to follow redirects from randomized hash URLS. Also, replaced pypi.python.org/pypi with pypi.org/project throughout the docs. This fix addresses the most important part of pypa#1042.
Replaced pypi.python.org with pypi.org in the download URL. Added `-L` option to `curl` to follow redirects from randomized hash URLS. Also, replaced pypi.python.org/pypi with pypi.org/project throughout the docs. This fix addresses the most important part of #1042.
@pfmoore I believe that the PR above fixes this issue. I do not have any problems clicking on "Edit on GitHub" link in virtualenv docs, and the broken links and instructions are now fixed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions. |
Edit on GitHub leads to: https://github.com/pypa/virtualenv/blob/bcc2a4c15bc1f839bf11107deb48f0c1cad8cf66/docs/installation.rst which doesn't exist.
Also, I tried downloading from https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz via curl and Chrome where X.X set to 15.1.0 & 15.1 but it didn't work. Based on PyPI, it seems that the last version is 15.1.0 so I'm thinking the link is broken!
Strangely, when I tried 1.9 (https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.tar.gz) it download!
I suggest including a link to the latest version in the doc.
I'm trying to install pip & virtualenv for Ubuntu 17.04 which doesn't have pip pre-installed! (I'm trying to avoid installing via apt-get)The text was updated successfully, but these errors were encountered: