moseca icon indicating copy to clipboard operation
moseca copied to clipboard

Local installation fails

Open nekiee13 opened this issue 1 year ago • 0 comments

Hi, I followed Readme instructions, but I cant get it to run either (no luck for me with Docker install either).. I have Win11. All steps done from anaconda prompt and virtual environment. This is a workflow:

(Win11) create app folder

(conda) move to folder Moseca git clone (*.git) conda create -p D:\Audio\Moseca\moseca python=3.10.0 cd moseca conda activate pip install -r requirements.txt set PYTHONPATH=D:\Audio\Moseca\moseca curl -LJO https://huggingface.co/fabiogra/baseline_vocal_remover/resolve/main/baseline.pth streamlit run app/header.py

I got errors at streamlit step.

(d:\Audio\Moseca\moseca) D:\Audio\Moseca\moseca>streamlit run app/header.py Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "d:\Audio\Moseca\moseca\lib\site.py", line 617, in main() File "d:\Audio\Moseca\moseca\lib\site.py", line 604, in main known_paths = addsitepackages(known_paths) File "d:\Audio\Moseca\moseca\lib\site.py", line 387, in addsitepackages addsitedir(sitedir, known_paths) File "d:\Audio\Moseca\moseca\lib\site.py", line 226, in addsitedir addpackage(sitedir, name, known_paths) File "d:\Audio\Moseca\moseca\lib\site.py", line 179, in addpackage for n, line in enumerate(f): File "d:\Audio\Moseca\moseca\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 944: character maps to

Python --version shows 3.10.0. as it should be. Outside venv i got Python 3.11.

I'm no coder and most probably I'm doing something wrong. Though it is not the same error as on Docker installation. Till streamlit, installation went with no problems or error msgs.

nekiee13 avatar Sep 24 '23 22:09 nekiee13