Coder Social home page Coder Social logo

Comments (8)

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 26, 2024 1

Since I don't have Linux I can't provide containers or distributions for that. On windows, attempts at bundling it to an exe failed from the complexity of dependencies.

However, I have improved the installation instructions to be more up to date and removed my code's requirements for specific older dependencies' versions. So please test the installation again with the current code and instructions.

from pyaudiorestoration.

davidhealey avatar davidhealey commented on May 26, 2024

Well the build went pretty smoothly on Windows. Except I had to edit the requirements file because you've put some notes in there which prevents pip install -r requirements.txt from working.

However when I try to run any of the scripts I get errors like this.

C:\Users\John>python C:\Users\John\Desktop\pyaudiorestoration\pytapesynch_gui.py
Running...
Python: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Numpy: 1.23.5
Vispy: 0.12.2
Traceback (most recent call last):
  File "C:\Users\John\Desktop\pyaudiorestoration\pytapesynch_gui.py", line 286, in <module>
    widgets.startup(MainWindow)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 47, in startup
    win = cls()
  File "C:\Users\John\Desktop\pyaudiorestoration\pytapesynch_gui.py", line 22, in __init__
    widgets.MainWindow.__init__(self, "pytapesynch", widgets.ParamWidget, Canvas, 2)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 729, in __init__
    self.cfg = config.read_config("config.ini")
  File "C:\Users\John\Desktop\pyaudiorestoration\util\config.py", line 24, in read_config
    with open(cfg_path, 'r', encoding='utf-8') as cfg_file:
FileNotFoundError: [Errno 2] No such file or directory: 'config.ini'

from pyaudiorestoration.

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 26, 2024

Right. I need to look into patching that to work regardless of current working directory.
Solution for you: your current working directory has to be C:\Users\John\Desktop\pyaudiorestoration. Either run the cmd from there or change the CWD with the command cd C:\Users\John\Desktop\pyaudiorestoration

from pyaudiorestoration.

davidhealey avatar davidhealey commented on May 26, 2024

Ah ok that makes sense, thanks

from pyaudiorestoration.

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 26, 2024

That wrong directory bug should be fixed now.

from pyaudiorestoration.

davidhealey avatar davidhealey commented on May 26, 2024

New errors:

C:\Users\John\Desktop\pyaudiorestoration>pytapesynch_gui.py
Running...
Python: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Numpy: 1.23.5
Vispy: 0.12.2
Traceback (most recent call last):
  File "C:\Users\John\Desktop\pyaudiorestoration\pytapesynch_gui.py", line 286, in <module>
    widgets.startup(MainWindow)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 47, in startup
    win = cls()
  File "C:\Users\John\Desktop\pyaudiorestoration\pytapesynch_gui.py", line 22, in __init__
    widgets.MainWindow.__init__(self, "pytapesynch", widgets.ParamWidget, Canvas, 2)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 731, in __init__
    self.props = props_widget_cls(parent=self, count=count)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 809, in __init__
    self.files_widget = FilesWidget(self, count, self.parent.cfg)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 774, in __init__
    vbox2(self, self.files)
  File "C:\Users\John\Desktop\pyaudiorestoration\util\widgets.py", line 102, in vbox2
    box.addStretch(1.0)
TypeError: addStretch(self, stretch: int = 0): argument 1 has unexpected type 'float'

from pyaudiorestoration.

HENDRIX-ZT2 avatar HENDRIX-ZT2 commented on May 26, 2024

@davidhealey ok, please try again with the latest commit

from pyaudiorestoration.

davidhealey avatar davidhealey commented on May 26, 2024

Yep it opens now on Windows, thanks

from pyaudiorestoration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.