liamholtlab / GEMspa

GNU General Public License v3.0
1 stars 3 forks source link

wx package not found #10

Open camisap opened 1 year ago

camisap commented 1 year ago

I followed the install instructions in your doc and came against the following error message. "wx" is not in your repo, nor is it in your requirements.txt. Anyone else report this as an issue?

(gemspa-python) (base) XXXXX:GEMspa patakic$ python main_gui.py 
Traceback (most recent call last):
  File "/Users/patakic/repos/GEMspa/main_gui.py", line 1, in <module>
    import wx
ModuleNotFoundError: No module named 'wx'
camisap commented 1 year ago

figured out that i missed an error message from installing the requirements.txt

 error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [119 lines of output]
      setup.py:461: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /private/var/folders/4m/mkcjgyf97n53v6vvs383tc2wkkk9k5/T/pip-modern-metadata-ltntnizh'), proceeding with generating Cython sources and expanding templates
        warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
      setup.py:563: DeprecationWarning:

        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html
camisap commented 1 year ago

When I install and use python 3.7, i get the error message below:

error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [3065 lines of output]
      Ignoring numpy: markers 'python_version == "3.8"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.9"' don't match your environment
      Ignoring numpy: markers 'python_version >= "3.10"' don't match your environment
      Collecting wheel
        Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
      Collecting setuptools<=51.0.0
        Using cached setuptools-51.0.0-py3-none-any.whl (785 kB)
      Collecting Cython>=0.29.18
        Using cached Cython-3.0.0-py2.py3-none-any.whl (1.2 MB)
      Collecting numpy==1.16.5
        Downloading numpy-1.16.5.zip (5.1 MB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 19.3 MB/s eta 0:00:00
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting pybind11>=2.4.3
        Using cached pybind11-2.11.1-py3-none-any.whl (227 kB)
      Installing collected packages: wheel, setuptools, pybind11, numpy, Cython
        DEPRECATION: numpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
        Running setup.py install for numpy: started
        Running setup.py install for numpy: finished with status 'error'
        error: subprocess-exited-with-error
snkeegan commented 1 year ago

wx is wxPython, last line in the requirements file. Sorry for the late reply. Were you able to get it installed?