(base) C:\Users\pa***>conda install pytube
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pytube
Current channels:
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
The reason why the pytube is not being installed is beacause the package doesn't exist in the default channels. However, you can try installing from other channels:
conda install -c everwho pytube
In the above command, the pytube package is fetched from channel named everwho (suppported for windows).
or
conda install -c jcadic pytube (supported platforms: windows n linux)
Alternatively, there are more channels, which can be searched as: https://anaconda.org/search?q=pytube
you can try pip install pytube
it doesnt matter or it sometime happens like the module doesnt work on the current module . so you can use an online ide called repl.it where you can manually install the package.And the best part is that it supports all modules
Related
I'm trying to learn how to control the mouse with Python learning from:
How to Control your Mouse in Python
My IDE is Spyder (version 5.2.2) and I'm running it from Anaconda (version 2.3.1).
When I try to execute:
conda install mouse
I get the following error:
The following packages are not available from current channels: - mouse
(Full error description below).
I'm new to Anaconda/Spyder/Python so I'm sorry If that's a newbie question, but can I somehow use the mouse library at my environment? If yes, what's the catch? If no, what's the alternative?
Thank you.
Full error description after running "conda install mouse":
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Note: you may need to restart the kernel to use updated packages.
PackagesNotFoundError: The following packages are not available from current channels: mouse
Current channels:
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.
I am trying to install colmap with conda on Windows 10.
unfortunately it says it cannot find the package despite me having already added the conda-forge channel.
Below is the output:
(base) PS C:\Users\pietro> conda install -c conda-forge colmap
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- colmap
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I tried to reappend condaforge, and to set my offline status to false, but still no luck.
Thanks for any help!
Cheers
pietro
Update
This should just work now - the Conda Forge feedstock now builds for Windows as well.
Original response
The Conda Forge colmap feedstock currently does not build for the win-64 platform. There is a GitHub Issue requesting/tracking such support, and even a Pull Request that tested adding Windows builds. Please comment on those threads to let the maintainer know that users are interested in seeing that build variant supported.
I'm trying to install docx module using conda install to scrape the word doc and pull out certain sections from the doc. But I face some errors while installing the module.
(base)/users/sai condabin % conda install docx
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- docx
Current channels:
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(base) /users/sai condabin %
Am I missing anything here? Or is there a better module to scrape through the word doc?? Kindly let me know.
On their installation page they say to install docs using this command:
conda install -c conda-forge python-docx
source: https://anaconda.org/conda-forge/python-docx
I have made multiple attempts but can't find a fix to the following. This is being done with Anaconda.
conda install pyttsx
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pyttsx
Current channels:
- https://repo.anaconda.com/pkgs/main/win-32
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-32
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-32
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
If you search for a package name on anaconda.org you can find out what channel(s) it is available on (which may not be in the default anaconda channel). In this case:
$ conda install -c auto pyttsx
See https://anaconda.org/auto/pyttsx
I should add: It appears this package has not been updated in over 6 years, and is only available for Python 2.7. So you should consider whether it is a good idea to use it and if there isn't a better, currently maintained alternative.
I want to try 'GluonTS - Probabilistic Time Series Modeling in Python'.And GluonTS is a Python toolkit for probabilistic time series modeling, built around Apache MXNet (incubating). I must install MXNet 1.4.1, then install GluonTS to try use it.
But my computer cannot link to internet,The installed OS of My PC is windows 10,so I download 'mxnet-1.4.1-py2.py3-none-win_amd64.whl' to install,An error occurred as follows:
(mxnet) H:\PythonApp\Mxnet\2020-3-27>conda install --offline mxnet-1.4.1-py2.py3-none-win_amd64.whl
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
mxnet-1.4.1-py2.py3-none-win_amd64.whl
Current channels:
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I am a beginner, don't know what to do,Please help me.
The file you are trying install is a pip-file, to install it just activate your conda environment and then:
pip install mxnet-1.4.1-py2.py3-none-win_amd64.whl
If you don't have pip, you will have to install that using anaconda first.