Skip to content
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

Unable to install package registered on pypi #5806

Closed
Martmists-GH opened this issue Sep 23, 2018 · 12 comments
Closed

Unable to install package registered on pypi #5806

Martmists-GH opened this issue Sep 23, 2018 · 12 comments
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support

Comments

@Martmists-GH
Copy link

Martmists-GH commented Sep 23, 2018

Environment

  • pip version: 1.8
  • Python version: 3.7
  • OS: Arch Linux (fully up to date)

Description
Similarly to #4888, the package (tensorflow) is indeed on pypi, but I am unable to install it:

$ sudo pip install tensorflow                   
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

I have tried the curl -X PURGE suggestion but it did not fix the issue.

@benoit-pierre
Copy link
Member

benoit-pierre commented Sep 23, 2018

This is because you're using Python 3.7, and there are no wheels available for that version (and no source distributions either): https://pypi.org/project/tensorflow/#files.

@benoit-pierre
Copy link
Member

I also would recommend against using sudo pip, especially considering the fact that you can already install the latest tensorflow stable release from community: sudo pacman --sync -- python-tensorflow.

@Martmists-GH
Copy link
Author

Odd, previously pip would try to build it manually and fail if it wasn't compatible. Is this no longer a thing?

@benoit-pierre
Copy link
Member

It does look like they never provided a source distribution.

@pradyunsg
Copy link
Member

My suggestion would be to directly contact the tensorflow project, since this is specific to how they manage their project's release artifacts.

  • no Python 3.7 wheel
  • lack of source distributions

@pradyunsg pradyunsg added resolution: wrong project Should be reported elsewhere type: support User Support and removed resolution: wrong project Should be reported elsewhere labels Sep 24, 2018
@Martmists-GH
Copy link
Author

Trying to install on 3.6.6 also fails while there is a wheel for cp36.

@benoit-pierre
Copy link
Member

Please provide the exact command line, and the output of said command run with -v. Also please make sure you don't have no-manylinux1 installed. You still have not explained why you're not just using the distribution package.

@Martmists-GH
Copy link
Author

log

The reason I'm not using a distribution package is because there is none on this device.

@benoit-pierre
Copy link
Member

So it's not the same environment as for the original bug report?

@benoit-pierre
Copy link
Member

From the log, it looks like Android? It would have been better to open a new issue with the relevant information... (And you can probably close this issue). The manylinux wheel provided is for the x86_64 architecture, I'm assuming yours is an ARM variant, which is not compatible.

@xavfernandez
Copy link
Member

pip seems to work as expected. If you need help installing tensoflow, I'd suggest you contact the tensorflow directly.
pip could however improve its output which is already tracked at #5003 so closing this issue.
Thanks for the report !

@lock
Copy link

lock bot commented May 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 31, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support
Projects
None yet
Development

No branches or pull requests

4 participants