pyilper icon indicating copy to clipboard operation
pyilper copied to clipboard

Installation Issue under Mac OS – has occurred 10.15 intel based

Open dirknitschke opened this issue 3 months ago • 1 comments

starting with: source py311/bin/activate

its activates the environment and after starting the Installation it puts out: Collecting pyilper Using cached pyilper-1.8.10-py3-none-any.whl.metadata (22 kB) Collecting pyserial (from pyilper) Using cached pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB) INFO: pip is looking at multiple versions of pyilper to determine which version is compatible with other requirements. This could take a while. Collecting pyilper Using cached pyilper-1.8.9-py3-none-any.whl.metadata (22 kB) Using cached pyilper-1.8.8-py3-none-any.whl.metadata (22 kB) ERROR: Cannot install pyilper==1.8.10, pyilper==1.8.8 and pyilper==1.8.9 because these package versions have conflicting dependencies.

The conflict is caused by: pyilper 1.8.10 depends on pyside6 pyilper 1.8.9 depends on pyside6 pyilper 1.8.8 depends on pyside6

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Wahl does it search for three versions while already collected one above. Sorry I have totally no idea of Python or programming at all. Perhaps there is a hint for me. Thanx Dirk

dirknitschke avatar Oct 19 '25 16:10 dirknitschke

Hello Dirk,

The output of the installer shows that you already used elder versions of pyILPER.

The easiest way trying to solve the problem is to remove the virtual environment "py311" completely (you only need to delete the py311 directory tree) and create a new one.

If this does not help or if it is not possible because of other applications in that environment I need some additional information to narrow down the problem:

  • Where did you get the Python interpreter? What does "python -VV" show in the virtual environment.

  • How did you invoke the install command. Note: do not use "python3" in a virtual environment, always use "python" to call the interpreter.

Please mind upgrading the lifutils to version 2.x.x if you installed pyilper 1.8.10 successfully.

Meanwhile I successfully tried to update an elder pyILPER version to 1.8.10 on MacOS 10.6 running Python 3.12:

(test) trillian-mac:~ achim$ python -m pip uninstall pyilper
Found existing installation: pyilper 1.9.0.dev3
Uninstalling pyilper-1.9.0.dev3:
Would remove:
  /Users/achim/test/bin/pyilper
  /Users/achim/test/lib/python3.12/site-packages/pyilper-1.9.0.dev3.dist-info/*
  /Users/achim/test/lib/python3.12/site-packages/pyilper/*
Proceed (Y/n)? y
  Successfully uninstalled pyilper-1.9.0.dev3
(test) trillian-mac:~ achim$ python -m pip cache purge
Files removed: 22 (2.2 MB)
(test) trillian-mac:~ achim$ python -m pip install pyilper
Collecting pyilper
  Downloading pyilper-1.8.10-py3-none-any.whl.metadata (22 kB)
Requirement already satisfied: pyserial in ./test/lib/python3.12/site-packages (from pyilper) (3.5)
Requirement already satisfied: pyside6 in ./test/lib/python3.12/site-packages (from pyilper) (6.7.3)
Requirement already satisfied: shiboken6==6.7.3 in ./test/lib/python3.12/site-packages (from pyside6->pyilper) (6.7.3)
Requirement already satisfied: PySide6-Essentials==6.7.3 in ./test/lib/python3.12/site-packages (from pyside6->pyilper)  (6.7.3)
Requirement already satisfied: PySide6-Addons==6.7.3 in ./test/lib/python3.12/site-packages (from pyside6->pyilper) (6.7.3)
Downloading pyilper-1.8.10-py3-none-any.whl (248 kB)
Installing collected packages: pyilper
(test) trillian-mac:~ achim$ python -VV
Python 3.12.8 (v3.12.8:2dc476bcb91, Dec  3 2024, 14:43:20) [Clang 13.0.0 (clang-1300.0.29.30)]
(test) trillian-mac:~ achim$

` It did not install in the first try. I had to remove the old version and to clear the cache Regards Joachim

bug400 avatar Oct 23 '25 15:10 bug400