Guide_Wii icon indicating copy to clipboard operation
Guide_Wii copied to clipboard

Pip installs needs new steps to install packages in Pyhon Env

Open idotj opened this issue 9 months ago • 7 comments

Pages with issue(s)

https://wii.hacks.guide/osc.html#instructions-for-macos-linux

Description of the issue(s)

Current Python versions doesn't allow to run pip install xxxxxxx in your terminal to avoid any conflict installing packages globally. They new way is to create an environment where you can install that packages for your project.

*I added only this page for this issue, but I'm not sure if there are more pages with that command.

idotj avatar Mar 31 '25 10:03 idotj

according to the readme in https://github.com/dhtdht020/osc-dl :

Make sure Python 3 is installed and used.

this is also displayed on the guide.

playerjmr avatar Mar 31 '25 18:03 playerjmr

Even with it installed, this is correct. The instructions need to be updated to include creating a venv.

hwalker56 avatar Mar 31 '25 18:03 hwalker56

Indeed, and what I was asking is to add the new steps after the install of Python 3 to create a virtual environment. Something like:

To install the Python libraries in the "osc-dl" virtual environment create a new one typing:

python3 -m venv --system-site-packages $HOME/.virtualenvs/osc-dl

After creation, it has to be activated:

source ~/.virtualenvs/osc-dl/bin/activate

And now you can proceed with the installation of the required libraries:

python3 -m pip install -r requirements.txt

At least this worked for me in Linux Mint. Not sure for macOS if it is the same way to proceed.

idotj avatar Apr 02 '25 14:04 idotj

@idotj id probably address this issue on the oscdl repository.

playerjmr avatar Apr 24 '25 22:04 playerjmr

Sorry, I don't get it. Isn't this repo where the guide content is managed? This file I found contains the text I mentioned that should be updated to help users:

https://github.com/hacks-guide/Guide_Wii/blob/master/docs/osc.md

I didn't find any other repo for oscdl.

idotj avatar May 02 '25 15:05 idotj

Sorry, I don't get it. Isn't this repo where the guide content is managed?

Yes but if this is an installation issue then it needs to be addressed on the official GitHub repository for OSCDL https://github.com/dhtdht020/osc-dl

playerjmr avatar May 02 '25 17:05 playerjmr

Thanks for pointing the repo, but in that case it will be needed in both places.

I will also open an issue:
https://github.com/dhtdht020/osc-dl/issues/127

idotj avatar May 02 '25 18:05 idotj