IfxPy installation fails - python-3.x

I have the same problem.
C:>pip install IfxPy ERROR: Could not find a version that satisfies the requirement IfxPy (from versions: none) ERROR: No matching distribution found for IfxPy
It was working on Python2.7 but now I have Python3.8.6 installed and I can't use IfxPy. I tried to install using pip and directly with "python setup.py install" on the zip file without success. Can you help me?
C:>python -V Python 3.8.6
C:>pip -V pip 20.2.3 from c:\python 3.8\lib\site-packages\pip (python 3.8)
C:>pip3 -V pip 20.2.3 from c:\python 3.8\lib\site-packages\pip (python 3.8)
C:>set PATH Path=C:\Python 3.8\Scripts;C:\Python 3.8;C:\Python27;C:\Python27\Scripts;C:\Program Files\ibm\gsk8\lib64;C:\Program Files\ibm\gsk8\bin;C:\Program Files\Informix Client-SDK;C:\ProgramData\Oracle\Java\javapath;C:\Oracle806\bin;C:\Progra~1\Oracle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Python27;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\SysWOW64;C:\Users\p054007\AppData\Local\Programs\Python\Python38-32\Scripts;C:\Users\p054007\AppData\Local\Programs\Python\Python38-32;C:\Oracle806\bin;C:\Progra~1\Oracle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Python27;C:\Users\p054007\AppData\Local\Microsoft\WindowsApps;C:\Python27\Scripts;C:\Users\p054007\AppData\Local\Microsoft\WindowsApps;
set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW

The latest release of IfxPy (currently 3.0.3 provides only wheels for 64-bit Python 3.7 for Windows and 64-bit Python 3.8 for Linux.
Install it with 64-bit Python 3.7 for Windows. Or compile from sources.

Related

import distutils.command.bdist_wininst as orig

Everything went well while I was trying to create a ros 2 package in Ubuntu 22.04 by following the ros2 documentation, however when I got to the colcon build step, it failed for python packages even though it works for cMake packages.
colcon build --packages-select mypkgpython
...
import distutils.command.bdist_wininst as orig
ModuleNotFoundError: No module named 'distutils.command.bdist_wininst'
knowing that my python version is:
python3 --version
Python 3.10.6
i have tried:
sudo apt-get install python3-distutils:
python3-distutils is already the newest version (3.10.6-1~22.04).
sudo apt-get install python3-apt:
python3-apt is already the newest version (2.4.0).
sudo apt install python3-colcon-common-extensions
python3-colcon-common-extensions is already the newest version(0.3.0-1)
how can i solve this problem?
i expected when i build my python package using
colcon build package
it will be successfully build, so i could work with
The bdist_wininst command was deprecated in Python 3.8 and you are using python 3.10
Its no more found in python3-distutils package .
use
bdist_wheel (wheel packages) instead
or
if you want to run your code as it is downgrade your python to < 3.8
The bdist_wininst format was deprecated in Python 3.8, and the documentation for this format has been removed in Python 3.9. The recommended way to distribute Python packages now is the Wheel format.
you can overcome this error by JUST updating the setuptools
pip install --upgrade setuptools
Note that: Setuptools version 58.2.0 is the last version that works with ROS 2 python packages without any warnings because it is the last version that supports the old installation method, "python setup.py install." This method has been deprecated and replaced by newer, standards-based tools, such as pip and ament.
pip install setuptools==58.2.0

How to install paramiko in python 3.7 version in windows

I installed pip using python -m ensurepip --default-pip and got version 18.1
Now I'm trying to install paramiko in the same using cmd pip install paramiko in windows.
But I'm getting error as Could not find the version that satisfes the requirement paramiko. No matching distributional found for paramiko
Please help me in solving this.

No matching distribution found for pptk in anaconda

I am trying to install pptk in an anaconda environment by
pip install pptk
But everytime it returns the same error
ERROR: Could not find a version that satisfies the requirement pptk (from versions: none)
ERROR: No matching distribution found for pptk
I tried installing from the .whl file that results from building pptk from source following this instruction, but in this case I am stuck with
cmake -G "NMake Makefiles" <build folder>
The cmake error is as following
CMake Error: Could not create named generator NMake Makefiles
Although I was not succeeded in installing in any of the created anaconda environment, I was able to install pptk in the base. Would be much of help to know what else i can try to install pptk in anaconda environments.
I am using python 3.8, Ubuntu 20.04, and anaconda 3
Thanks in advance!
This is because pptk has not released a version that is compatible for python 3.8, it can currently only support python 3.7
pptk has not released a version for python 3.8 yet, you will have to use python 3.7 or wait

Python: Unable to install hdbcli library on Python 3.8 installation

Unable to install hdbcli library on Python 3.8 Windows installation.
Python version is 64-bit to be compatible with the wheel.
The "win32" in the Python console header only indicates that it is a Windows system. Actual Windows architecture is 64-bit as seen in systeminfo output.
I've tried installing:
via the wheel (link below)
via pip (pip install hdbcli)
a previous version of the library (pip install hdbcli==2.4.171)
None of which were successful.
I feel there is something obvious I'm missing
Error information:
ERROR: Could not find a version that satisfies the requirement hdbcli
(from versions: none)
ERROR: No matching distribution found for
hdbcli
Python information
version: 3.8.2
pip version: 20.0.2
Python console header: Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
System information
As from systeminfo:
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.18362 N/A Build 18362
System Type: x64-based PC
hdbcli information
hdbcli-2.4.182-cp38-cp38m-win_amd64.whl
Try to rename the file from hdbcli-2.4.182-cp38-cp38m-win_amd64.whl to hdbcli-2.4.182-cp38-cp38-win_amd64.whl and install once again with pip install hdbcli-2.4.182-cp38-cp38-win_amd64.whl
hdbcli wheels (prior to version 2.4.191) were built with old versions of pip/setuptools/wheel that use different ABI tags for Python 3.8 on Windows.
If you can't update to 2.4.191 or rename the wheel, you can work around this issue if needed by downgrading to pip 19.2.2 or lower.
These packages expect the updated 'cp38' format (only available with hdbcli 2.4.191 and later) :
setuptools >= 42.0.0
wheel >= 0.33.5
pip >= 19.2.3
In my case hbcli was not compatible with python3 beacuse I wasn't able to install hdbcli library with python 3.10. However it is compatible with python 2.7 so go ahead and install latest version of python 2.7 and see if it works
I had the same issue.
What worked for me was installing an older version of Python, namely 3.6.15 and setting it up for the project (i.e. added it as project interpreter in Pycharm).
Then, I could successfully install hdbcli.

No matching distribution found for intel-numpy

I'm trying to install Intel's numpy version through pip on Windows as described on their website.
> python -m pip install intel-numpy
Collecting intel-numpy
Could not find a version that satisfies the requirement intel-numpy (from versions: )
No matching distribution found for intel-numpy
I have 64-bit Python on Windows 10 and the main numpy package isn't installed. What am I doing wrong?
The problem was my version of Python: intel-numpy is currently packaged for Python 3.6 and not 3.7. Installing Python 3.6 fixed it.

Resources