错误命令:- C:\Users\WIN10\conda〉.\dev\start
Downloading miniconda...
Installing development environment...
Creating devenv-3.8-c...
Updating devenv-3.8-c...
Initializing shell integration...
menuinst called from non-root env C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c
rm -rf C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\Lib\site-packages\conda-23.1.0-py3.8.egg-info
rm -rf C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\Lib\site-packages\conda
rm -rf C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\Lib\site-packages\conda_env
Activating devenv-3.8-c...
Traceback (most recent call last):
File "C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\Scripts\conda-script.py", line 11, in <module>
from conda.cli import main
File "C:\Users\WIN10\conda\conda\__init__.py", line 10, in <module>
from .deprecations import deprecated
File "C:\Users\WIN10\conda\conda\deprecations.py", line 266, in <module>
deprecated = DeprecationHandler(__version__)
File "C:\Users\WIN10\conda\conda\deprecations.py", line 29, in __init__
self._version = parse(version)
File "C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\lib\site-packages\packaging\version.py", line 52, in parse
return Version(version)
File "C:\Users\WIN10\conda\devenv\Windows\envs\devenv-3.8-c\lib\site-packages\packaging\version.py", line 195, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-li
ke object
Error: failed to activate devenv-3.8-c
如果你有任何建议,请尽快告诉我!
我正在尝试为conda设置开发环境。
我的参考:-开发环境,Windows cmd.exe shell
做了指定的一切git被设置为path.. etc
运行以下命令set GITHUB_USERNAME=pravincoder
git clone https://github.com/pravincoder/conda.git "%CONDA_PROJECT_ROOT%"
cd "%CONDA_PROJECT_ROOT%"
git remote add %GITHUB_USERNAME% https://github.com/pravincoder/conda.git
1条答案
按热度按时间xwbd5t1u1#
Conda maintainer在这里。这更适合作为问题报告给conda项目本身:
https://github.com/conda/conda/issues/new/choose