tortoise-tts icon indicating copy to clipboard operation
tortoise-tts copied to clipboard

Unable to install on any debian based Linux (PopOS, MXLinux,..)

Open onsosb opened this issue 1 year ago • 4 comments

There are issues meeting the requirements, any help is truly appreciated. It seems of the the required packages are out of date and stops the build process. Example : scipy-0.10.1

Running from scipy source directory.
Traceback (most recent call last):
  File "/home/owl/Downloads/scipy-0.10.1/setup.py", line 196, in <module>
    setup_package()
  File "/home/owl/Downloads/scipy-0.10.1/setup.py", line 176, in setup_package
    setup(
  File "/home/owl/.local/lib/python3.9/site-packages/numpy/distutils/core.py", line 135, in setup
    config = configuration()
  File "/home/owl/Downloads/scipy-0.10.1/setup.py", line 138, in configuration
    config.add_subpackage('scipy')
  File "/home/owl/.local/lib/python3.9/site-packages/numpy/distutils/misc_util.py", line 1050, in add_subpackage
    config_list = self.get_subpackage(subpackage_name, subpackage_path,
  File "/home/owl/.local/lib/python3.9/site-packages/numpy/distutils/misc_util.py", line 1016, in get_subpackage
    config = self._get_configuration_from_setup_py(
  File "/home/owl/.local/lib/python3.9/site-packages/numpy/distutils/misc_util.py", line 958, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 4, in configuration
    config = Configuration('scipy',parent_package,top_path)
  File "/home/owl/.local/lib/python3.9/site-packages/numpy/distutils/misc_util.py", line 807, in __init__
    raise ValueError("%r is not a directory" % (package_path,))
ValueError: 'build/py3k/scipy' is not a directory

onsosb avatar May 21 '23 10:05 onsosb

I'm also having this issue on a fresh install of Mint

StrikeNP avatar May 29 '23 01:05 StrikeNP

Go in the requirements.txt file and remove the specific versions for everything. It's all messed up when they froze the versions for whatever reason.

Just had the same issue with a Debian install, but got it to install by un-freezing the specific versions in Debian 11, and making a fresh venv to put it in.

I assume the scipi==0.10.1 is intended to be 1.10.1, because 0.10.1 only runs on python2, but just removing the freeze worked for me.

yatesdr avatar May 29 '23 22:05 yatesdr

Can confirm that fix worked for me, I also switched to python 3.8 which resolved some error regauring wheel.

StrikeNP avatar May 30 '23 03:05 StrikeNP

The issues I had with wheel were solved on 3.9 and 3.10 by updating pip. python3.x -mpip install --upgrade pip

I think there's something going on with the wheel package formats, seems to be a common at the moment with packages using an older format.

yatesdr avatar May 30 '23 13:05 yatesdr