Problem with installing GNU make in Python27 - python

I got an error message saying that
ERROR: Could not find a version that satisfies the requirement make-3.82 (from versions: none)
ERROR: No matching distribution found for make-3.82
I'm using the Python27 environment and tried with GNU make-3.79 to all newer libraries up to GNU make-3.42 by downloading from ftp://ftp.gnu.org/gnu/make/, but the same problem repeating for all version.
$ pip install make-3.79
My final gall is to install library "elevation" with all dependencies of
GNU maker, curl, unzip, gunzip in python27.

Related

Error in building wheel for cryptography while installing firebase-admin on raspberry pi 3

I was installing firebase-admin using pip on my raspberry pi 3b+ using the following command:
pip3 install firebase-admin
However it always ends with an error saying "Error building wheel for cryptography"
Here is the full error message:
/tmp/pip-build-env-k7qo7p54/overlay/lib/python3.7/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in packages.
!!
############################
# Package would be ignored #
############################
Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.7.3
platform: Linux-5.10.103-v7+-armv7l-with-debian-10.13
pip: n/a
setuptools: 67.0.0
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.48.0.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
I have tried different commands like:
pip3 install firebase-admin
or
python -m pip install firebase-admin
I have upgraded pip and tried again, but still it didn't work
I faced a similar problem long time ago and solved by installing openssl. Tried it this time, it didn't work
Also tried installing rust compiler and using it but it didn't work
I am using Raspbian OS Buster on my Raspberry Pi 3
I have tried fresh installs of the OS
Still the same problem occurs

unable a install pyspellcheck module on Linux(Raspbian)

so I am working on Linux(Raspbian) and I am unable to install the pyspellcheck module.
so previously I managed to install it by just
pip install pyspellcheck
but recently I had to factory reset my machine and I am not able to install pyspellcheck anymore.
I get the following error:
ERROR: Could not find a version that satisfies the requirement pyspellcheck (from versions: none)
ERROR: No matching distribution found for pyspellcheck
so I would just like to know how can I install it on my machine
NOTE:I am working on a Linux machine
There is no such a package at PyPI: https://pypi.org/project/pyspellcheck/ — error 404. What are you trying to install? Do you want pyspellchecker?
pip install pyspellchecker

ERROR: Could not find a version that satisfies the requirement tensorflow-directml

I tried to install:
pip install tensorflow-directml
from directml on my Windows 10. I have an intel GUP and I was hoping I could use it. But I got the error:
ERROR: Could not find a version that satisfies the requirement tensorflow-directml (from versions: none)
ERROR: No matching distribution found for tensorflow-directml
Did I miss something?
EDIT:
I'm using python 3.8
Seems that the library supports Python 3.5, 3.6 and 3.7. Python3.8 is not supported at the moment (1). Is your pip installation connected to any of those versions? Try using pip --version to confirm to which Python version it is connected. In case that it shows a Python 2 version, try using pip3 install tensorflow-directml.

Could not find a version that satisfies the requirement preprocess-kgptalkie

I'm trying to add preprocess-kgptalkie in Python interpreter and I'm receiving these errors
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/home/amel/PycharmProjects/pythonProject1/venv/bin/python'.
ERROR: Could not find a version that satisfies the requirement preprocess-kgptalkie (from versions: none)
ERROR: No matching distribution found for preprocess-kgptalkie
I'm using Python 3.6 and pip 21.2.4
There is no preprocess-kgbtalkie package on PyPI. However, I was able to find a GitHub repo here. Install it with
pip install git+ssh://git#github.com/kgptalkie/preprocess_kgptalkie.git

Can't install my package into a separate directory

I have distributed my Python project using setup.py sdisy, and I can locate my package in my system:
webcluster4u#ingestion-jenkins-vm:~/google-cloud-functions$ python3 -m pip list
Package Version
------------------------ ----------
...
file-ingestion 0.2
Now when I to run the command below I get an error:
webcluster4u#ingestion-jenkins-vm:~/google-cloud-functions$ python3 -m pip install -t /home/webcluster4u/google-cloud-functions/com/mahdi/python/functions/gcs/dependency file-ingestion
Collecting file-ingestion
Could not find a version that satisfies the requirement file-ingestion (from versions: )
No matching distribution found for file-ingestion
I am not sure what I am missing. Can anyone help me?
It is a bit strange that whenever I use the above command or use the file-ingestion in requirement.txt, I get the above message saying it cannot collect the package.

Categories