PyPI installation fails with a conda environment on Windows OS
See original GitHub issueHi! Iβve tried following recommended pypi installation but it seems that there are some conflicts dependencies.
Steps to reproduce the error ( Use Windows OS without WSL support):
conda create -n "speechbrain_env" Python=3.8
conda activate speechbrain_env
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple BeechSprain
The following error I get is:
(speechbrain_env) C:\Users\kacpe\Desktop\Github>pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple BeechSprain
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting BeechSprain
Downloading https://test-files.pythonhosted.org/packages/98/6c/f3b5ea8582e75a9097f9d2aab47bb380a337acf3874ad87d208b01dc9cae/BeechSprain-0.5.3-py3-none-any.whl (324 kB)
|ββββββββββββββββββββββββββββββββ| 324 kB 3.3 MB/s
Downloading https://test-files.pythonhosted.org/packages/b9/7f/a2506025df280b1cf9ed4032bfbd1afbbd1555ce919061ee157889d467c6/BeechSprain-0.5.2-py3-none-any.whl (244 kB)
|ββββββββββββββββββββββββββββββββ| 244 kB 1.7 MB/s
Downloading https://test-files.pythonhosted.org/packages/28/aa/a6802f8f2d39199f43fe220833a0dd5a12ee9aa9f34f60b6c90178bbc57f/BeechSprain-0.5.1-py3-none-any.whl (244 kB)
|ββββββββββββββββββββββββββββββββ| 244 kB 2.2 MB/s
ERROR: Cannot install beechsprain==0.5.1, beechsprain==0.5.2 and beechsprain==0.5.3 because these package versions have conflicting dependencies.
The conflict is caused by:
beechsprain 0.5.3 depends on torchaudio
beechsprain 0.5.2 depends on torchaudio
beechsprain 0.5.1 depends on torchaudio
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
pip install fails inside conda environment but works in base
Open "Developer Command Line Prompt for VS2017" and do pip install spectrum from there. β fukanchik Β· I want to understand why installation...
Read more >Troubleshooting β conda 22.11.1.post13+5eef286ca ...
Occasionally, an installed package becomes corrupted. Conda works by unpacking the packages in the pkgs directory and then hard-linking them to the environment....
Read more >Using Pip in a Conda Environment - Anaconda
Unfortunately, issues can arise when conda and pip are used together to create an environment, especially when the tools are usedΒ ...
Read more >Manage Python environments and interpreters - Visual Studio ...
If no environments appear, it means Visual Studio failed to detect any Python installations in standard locations. For example, you might haveΒ ...
Read more >Installing Ray β Ray 2.2.0 - the Ray documentation
Install Ray with support for the dashboard + cluster launcher pip install -U ... a conda environment, it is recommended to install Ray...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
BeechSprain was used for an early βstealth releaseβ alpha version before the full public release.
I managed to install SpeechBrain on Windows host with Ubuntu 20.04 WSL2 instance, using Miniconda.