Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local installation fails #8

Open
nekiee13 opened this issue Sep 24, 2023 · 0 comments
Open

Local installation fails #8

nekiee13 opened this issue Sep 24, 2023 · 0 comments

Comments

@nekiee13
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant