pypi_issues.txt


###
1. Can't find modules during import and in py x_show_square_loop_colors.py



1.A
C:\Users\raysm\vscode\testing>py
Python 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import graphics_braille
>>> import graphics_braille.x_show_square_loop_colors_braille
Removing: c:\Users\raysm\vscode\resource_lib\src
Removing: c:\Users\Owner\OneDrive\Desktop\intro_2024b\resource_lib\src
sys.path:

    c:\Users\raysm\vscode\simple_games\dots-master\src
    C:\Users\raysm\vscode\testing
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\python313.zip
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\DLLs
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib
    C:\Users\Owner\AppData\Local\Programs\Python\Python313
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\win32
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\win32\lib
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\Pythonwin
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    import graphics_braille.x_show_square_loop_colors_braille
  File "C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\graphics_braille\x_show_square_loop_colors_braille.py", line 26, in <module>
    from wx_turtle_braille import *                  # Get braille
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'wx_turtle_braille'
>>>

Adding directory, where python files are sourced, to environment
variable PYTHONPATH avoids the above problem:
C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\graphics_braille


1.B
cd c:\Users\raysm\vscode\testing
x_show_square_loop_colors_braille.py, to avoid legacy paths,
removes resource/src paths from sys.path

c:\Users\raysm\vscode\testing>py x_show_square_loop_colors_braille.py
Removing: c:\Users\raysm\vscode\resource_lib\src
sys.path:
    c:\Users\raysm\vscode\testing
    c:\Users\raysm\vscode\simple_games\dots-master\src
    c:\Users\raysm\vscode\testing
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\python313.zip
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\DLLs
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib
    C:\Users\Owner\AppData\Local\Programs\Python\Python313
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\win32
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\win32\lib
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\Pythonwin
Traceback (most recent call last):
  File "c:\Users\raysm\vscode\testing\x_show_square_loop_colors_braille.py", line 27, in <module>
    from graphics_braille import wx_turtle_braille
  File "C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\graphics_braille\wx_turtle_braille.py", line 28, in <module>
    from wx_tk_rpc_host import TkRPCHost
ModuleNotFoundError: No module named 'wx_tk_rpc_host'

c:\Users\raysm\vscode\testing>py -m pip show graphics_braille
Name: graphics_braille
Version: 0.1.8
Summary: Create Braille maps for simple Turtle program output
Home-page: https://github.com/raysmith619/graphics_braille
Author:
Author-email: Ray Smith <raysmith619@gmail.com>
License-Expression: MIT
Location: C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages
Requires: numpy, pysinewave, pyttsx3, pyttsx4, sounddevice, wxpython
Required-by:




###
2.
pip installs old module version

1. no cache: --no-cache-dir
2. upgrade module: --upgrade

py -m pip install --no-cache-dir -i https://test.pypi.org/simple/ --upgrade graphics_braille

3. pip install graphics_braille doesn't add site path to sys.path
C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib\site-packages\graphics_braille\

###
3.
Trying virtual environment
py -m venv venv

venv\Scripts\activate

the command deactivate for any platform will deactivate the virtualveb

conflict problem
(venv) c:\Users\raysm\vscode\testing>py -m pip install --no-cache-dir -i https://test.pypi.org/simple/ --upgrade graphics_braille

  Downloading https://test-files.pythonhosted.org/packages/99/0e/c30244be25835368bec0f205e095b3c42e4ce52e36dd9841649065095ef0/graphics_braille-0.0.1-py3-none-any.whl.metadata (9.8 kB)
ERROR: Cannot install graphics-braille==0.0.1, graphics-braille==0.0.10, graphics-braille==0.0.11, graphics-braille==0.0.4, graphics-braille==0.0.5, graphics-braille==0.0.6, graphics-braille==0.0.7, graphics-braille==0.0.8, graphics-braille==0.0.9, graphics-braille==0.1.2, graphics-braille==0.1.3, graphics-braille==0.1.4, graphics-braille==0.1.5 and graphics-braille==0.1.8 because these package versions have conflicting dependencies.

The conflict is caused by:
    graphics-braille 0.1.8 depends on numpy>=2.3.3
    graphics-braille 0.1.5 depends on numpy>=2.3.3
 

try installing numpy
better but
  Downloading https://test-files.pythonhosted.org/packages/99/0e/c30244be25835368bec0f205e095b3c42e4ce52e36dd9841649065095ef0/graphics_braille-0.0.1-py3-none-any.whl.metadata (9.8 kB)
ERROR: Cannot install graphics-braille==0.0.1, graphics-braille==0.0.10, graphics-braille==0.0.11, graphics-braille==0.0.4, graphics-braille==0.0.5, graphics-braille==0.0.6, graphics-braille==0.0.7, graphics-braille==0.0.8, graphics-braille==0.0.9, graphics-braille==0.1.2, graphics-braille==0.1.3, graphics-braille==0.1.4, graphics-braille==0.1.5 and graphics-braille==0.1.8 because these package versions have conflicting dependencies.

The conflict is caused by:
    graphics-braille 0.1.8 depends on pyttsx4>=3.0.15

try installing pyttsx4
(venv) c:\Users\raysm\vscode\testing>py -m pip --no-cache-dir install pyttsx4
Collecting pyttsx4
  Downloading pyttsx4-3.0.15-py3-none-any.whl.metadata (5.9 kB)
Collecting six (from pyttsx4)
  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)

 ERROR: Cannot install graphics-braille==0.0.1, graphics-braille==0.0.10, graphics-braille==0.0.11, graphics-braille==0.0.4, graphics-braille==0.0.5, graphics-braille==0.0.6, graphics-braille==0.0.7, graphics-braille==0.0.8, graphics-braille==0.0.9, graphics-braille==0.1.2, graphics-braille==0.1.3, graphics-braille==0.1.4, graphics-braille==0.1.5 and graphics-braille==0.1.8 because these package versions have conflicting dependencies.

The conflict is caused by:
    graphics-braille 0.1.8 depends on sounddevice>=0.5.2
 
try installing sounddevice

ERROR: Cannot install graphics-braille==0.0.1, graphics-braille==0.0.10, graphics-braille==0.0.11, graphics-braille==0.0.4, graphics-braille==0.0.5, graphics-braille==0.0.6, graphics-braille==0.0.7, graphics-braille==0.0.8, graphics-braille==0.0.9, graphics-braille==0.1.2, graphics-braille==0.1.3, graphics-braille==0.1.4, graphics-braille==0.1.5 and graphics-braille==0.1.8 because these package versions have conflicting dependencies.

The conflict is caused by:
    graphics-braille 0.1.8 depends on wxpython>=4.2.3

try installing wxPython
(venv) c:\Users\raysm\vscode\testing>py -m pip --no-cache-dir install --upgrade wxpython
Collecting wxpython
  Downloading wxpython-4.2.3-cp313-cp313-win_amd64.whl.metadata (3.7 kB)
Downloading wxpython-4.2.3-cp313-cp313-win_amd64.whl (16.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 30.1 MB/s  0:00:00
Installing collected packages: wxpython
Successfully installed wxpython-4.2.3

(venv) c:\Users\raysm\vscode\testing>
Successful graphics_braille install:

(venv) c:\Users\raysm\vscode\testing>py -m pip install --no-cache-dir -i https://test.pypi.org/simple/ --upgrade graphics_braille
Looking in indexes: https://test.pypi.org/simple/
Collecting graphics_braille
  Downloading https://test-files.pythonhosted.org/packages/cd/b8/f671f2bebba84be7b7b9c96ee7b8267caebb94f6788bf3d7c50551418181/graphics_braille-0.1.8-py3-none-any.whl.metadata (9.8 kB)
Requirement already satisfied: numpy>=2.3.3 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from graphics_braille) (2.3.3)
Collecting pysinewave>=0.0.7 (from graphics_braille)
  Downloading https://test-files.pythonhosted.org/packages/72/44/efe83356a43745d2cabb5591e80e48f23c8f8f7dcdba02556fca0ff77eb9/pysinewave-0.0.7-py3-none-any.whl.metadata (4.6 kB)
Collecting pyttsx3>=2.99 (from graphics_braille)
  Downloading https://test-files.pythonhosted.org/packages/97/67/17dbb2ece338a9a4b14daee515638c77ba65ee937141e5d6458595d2c1a2/pyttsx3-2.99-py3-none-any.whl.metadata (6.2 kB)
Requirement already satisfied: pyttsx4>=3.0.15 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from graphics_braille) (3.0.15)
Requirement already satisfied: sounddevice>=0.5.2 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from graphics_braille) (0.5.2)
Requirement already satisfied: wxpython>=4.2.3 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from graphics_braille) (4.2.3)
Requirement already satisfied: comtypes in c:\users\raysm\vscode\testing\venv\lib\site-packages (from pyttsx3>=2.99->graphics_braille) (1.4.12)
Requirement already satisfied: pypiwin32 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from pyttsx3>=2.99->graphics_braille) (223)
Requirement already satisfied: pywin32 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from pyttsx3>=2.99->graphics_braille) (311)
Requirement already satisfied: six in c:\users\raysm\vscode\testing\venv\lib\site-packages (from pyttsx4>=3.0.15->graphics_braille) (1.17.0)
Requirement already satisfied: CFFI>=1.0 in c:\users\raysm\vscode\testing\venv\lib\site-packages (from sounddevice>=0.5.2->graphics_braille) (2.0.0)
Requirement already satisfied: pycparser in c:\users\raysm\vscode\testing\venv\lib\site-packages (from CFFI>=1.0->sounddevice>=0.5.2->graphics_braille) (2.23)
Downloading https://test-files.pythonhosted.org/packages/cd/b8/f671f2bebba84be7b7b9c96ee7b8267caebb94f6788bf3d7c50551418181/graphics_braille-0.1.8-py3-none-any.whl (235 kB)
Downloading https://test-files.pythonhosted.org/packages/72/44/efe83356a43745d2cabb5591e80e48f23c8f8f7dcdba02556fca0ff77eb9/pysinewave-0.0.7-py3-none-any.whl (7.5 kB)
Downloading https://test-files.pythonhosted.org/packages/97/67/17dbb2ece338a9a4b14daee515638c77ba65ee937141e5d6458595d2c1a2/pyttsx3-2.99-py3-none-any.whl (32 kB)
Installing collected packages: pyttsx3, pysinewave, graphics_braille
Successfully installed graphics_braille-0.1.8 pysinewave-0.0.7 pyttsx3-2.99

(venv) c:\Users\raysm\vscode\testing>

Still problem running
(venv) c:\Users\raysm\vscode\testing>py x_show_square_loop_colors_braille.py
Removing: c:\Users\raysm\vscode\resource_lib\src
sys.path:
    c:\Users\raysm\vscode\testing
    c:\Users\raysm\vscode\simple_games\dots-master\src
    c:\Users\raysm\vscode\testing
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\python313.zip
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\DLLs
    C:\Users\Owner\AppData\Local\Programs\Python\Python313\Lib
    C:\Users\Owner\AppData\Local\Programs\Python\Python313
    c:\Users\raysm\vscode\testing\venv
    c:\Users\raysm\vscode\testing\venv\Lib\site-packages
    c:\Users\raysm\vscode\testing\venv\Lib\site-packages\win32
    c:\Users\raysm\vscode\testing\venv\Lib\site-packages\win32\lib
    c:\Users\raysm\vscode\testing\venv\Lib\site-packages\Pythonwin
Traceback (most recent call last):
  File "c:\Users\raysm\vscode\testing\x_show_square_loop_colors_braille.py", line 27, in <module>
    from graphics_braille import wx_turtle_braille
  File "c:\Users\raysm\vscode\testing\venv\Lib\site-packages\graphics_braille\wx_turtle_braille.py", line 28, in <module>
    from wx_tk_rpc_host import TkRPCHost
ModuleNotFoundError: No module named 'wx_tk_rpc_host'

(venv) c:\Users\raysm\vscode\testing>

2025/09/25 5:05:20 PM MDT
Technology for the blind to feel graphics


 