Also - despite using a conda environment it also goes ahead and pip installs a bunch of stuff globally into site-packages. I've seen this behaviour a few times with ML stuff. Could anyone explain the reason for this? or is it just sloppiness?
Also - despite using a conda environment it also goes ahead and pip installs a bunch of stuff globally into site-packages. I've seen this behaviour a few times with ML stuff. Could anyone explain the reason for this? or is it just sloppiness?
Not to suggest your frustrations aren't valid, but you have some options at least.
Can't do much when you get stuck on step 23 and realize Windows 10 require you to google and look for workarounds.
I'm thinking of doing a completely linux only build with powerful GPU, but this is also where things get tricky because you don't know what you really need, and its a hefty investment when you are not building a machine for fun but for experimentation with AI.
You can still use conda envs/venv/poetry on Linux, after all.
edit: re-reading your question, it sounds like you're in PATH hell. You should examine the contents of your PATH environment variable and make sure you don't have conflicting installations of python.
The readme gives specific steps to install including the creation of a conda environment.
It also uses pip directly which results in stuff being installed into site-packages.
Now - I presume conda is capable of handling this but for some reason it's not done that way. I'm familiar with virtualenv but not with conda so I'm not sure how I'd go about doing this correctly and I'm also not sure if the author had a good reason not do it this way in the readme.
So - I'm simply asking "Why is some stuff isolated and other parts not?"
My hunch is that the author doesn't care about virtualenvs/isolation and is just using conda as package installer. When it came to pip they just ignored this aspect.
On bash, you would test this like:
```sh
> conda activate env-name
> which python
$ # should be your local conda env path
> which pip
$ # should also be your local conda env, not global pip
```
If it _is_ using your global pip, that means somehow your PATH isn't being set properly. This is common with conda on windows, although I'm not certain why exactly.
The reason they are using pip inside of conda instead of conda may be because CUDA needs dependencies which are not found in conda's repositories, or simply due to personal preference.
For instance:
/home/user/.miniconda/envs/my-env/bin/python3.8 -m pip install <x>
I believe it has in Windows 11 but I'm holding off on that because it's still unstable for some VR usage.