Could not find a version that satisfies the requirement selenium (from versions: none)
时间: 2023-06-30 21:04:59 浏览: 182
selenium版本问题
This error message usually occurs when you try to install a package that does not have a version available for your Python interpreter. In this case, it seems that you are trying to install the "selenium" package, but there is no version available for your Python version.
To fix this issue, you can try the following:
1. Make sure that you are using the correct version of Python. Check if you have installed the correct version of Python that is required by the "selenium" package.
2. Upgrade pip to the latest version by running the following command:
```
pip install --upgrade pip
```
3. Try installing the package again by running the following command:
```
pip install selenium
```
If none of the above solutions work, you can try installing an older version of the "selenium" package that is compatible with your Python version. You can find a list of available versions on the package's PyPI page: https://pypi.org/project/selenium/#history
阅读全文