Creating Anaconda virtual environment gives an error - anaconda

I hope you can help me please.
I have been trying to create a virtual environment using conda but i am getting the error as below. Could someone help me interpret this please? What am i doing incorrectly here? I am guessing that it has to do with our proxy server at work but i have reconfigured the Condarc file to SSL is False.
Could it be due to my paths?
any help would be greatly appreciated.
kind regards
James
(base) C:\Users\jamesconnolly>conda create -name venv
Collecting package metadata (current_repodata.json): failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
exit_code = do_call(args, p)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
return getattr(module, func_name)(args, parser)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\cli\main_create.py", line 37, in execute
install(args, parser, 'create')
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\cli\install.py", line 265, in install
should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\solve.py", line 262, in solve_final_state
ssc = self._collect_all_metadata(ssc)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\solve.py", line 415, in _collect_all_metadata
index, r = self._prepare(prepared_specs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\solve.py", line 1011, in _prepare
self.subdirs, prepared_specs, self._repodata_fn)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\index.py", line 228, in get_reduced_index
repodata_fn=repodata_fn)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 105, in query_all
result = tuple(concat(executor.map(subdir_query, channel_urls)))
File "C:\Users\jamesconnolly\Anaconda3\lib\concurrent\futures\_base.py", line 598, in result_iterator
yield fs.pop().result()
File "C:\Users\jamesconnolly\Anaconda3\lib\concurrent\futures\_base.py", line 435, in result
return self.__get_result()
File "C:\Users\jamesconnolly\Anaconda3\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "C:\Users\jamesconnolly\Anaconda3\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 98, in <lambda>
package_ref_or_match_spec))
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 110, in query
self.load()
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 174, in load
_internal_state = self._load()
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 248, in _load
repodata_fn=self.repodata_fn)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\conda\core\subdir_data.py", line 485, in fetch_repodata_remote_request
timeout=timeout)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\adapters.py", line 412, in send
conn = self.get_connection(request.url, proxies)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\adapters.py", line 309, in get_connection
proxy_manager = self.proxy_manager_for(proxy)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\requests\adapters.py", line 199, in proxy_manager_for
**proxy_kwargs)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\urllib3\poolmanager.py", line 470, in proxy_from_url
return ProxyManager(proxy_url=url, **kw)
File "C:\Users\jamesconnolly\Anaconda3\lib\site-packages\urllib3\poolmanager.py", line 420, in __init__
raise ProxySchemeUnknown(proxy.scheme)
urllib3.exceptions.ProxySchemeUnknown: Not supported proxy scheme None
`$ C:\Users\jamesconnolly\Anaconda3\Scripts\conda-script.py create -name venv`
environment variables:
CIO_TEST=<not set>
CONDA_DEFAULT_ENV=base
CONDA_EXE=C:\Users\jamesconnolly\Anaconda3\condabin\..\Scripts\conda.exe
CONDA_EXES="C:\Users\jamesconnolly\Anaconda3\condabin\..\Scripts\conda.exe"
CONDA_PREFIX=C:\Users\jamesconnolly\Anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=C:\Users\jamesconnolly\Anaconda3\python.exe
CONDA_ROOT=C:\Users\jamesconnolly\Anaconda3
CONDA_SHLVL=1
HOMEPATH=\Users\jamesconnolly
PATH=C:\Users\jamesconnolly\Anaconda3;C:\Users\jamesconnolly\Anaconda3\Libr
ary\mingw-w64\bin;C:\Users\jamesconnolly\Anaconda3\Library\usr\bin;C:\
Users\jamesconnolly\Anaconda3\Library\bin;C:\Users\jamesconnolly\Anaco
nda3\Scripts;C:\Users\jamesconnolly\Anaconda3\bin;C:\Users\jamesconnol
ly\Anaconda3;C:\Users\jamesconnolly\Anaconda3\Library\mingw-w64\bin;C:
\Users\jamesconnolly\Anaconda3\Library\usr\bin;C:\Users\jamesconnolly\
Anaconda3\Library\bin;C:\Users\jamesconnolly\Anaconda3\Scripts;C:\User
s\jamesconnolly\Anaconda3\bin;C:\Users\jamesconnolly\Anaconda3\condabi
n;C:\Program Files\Python37\Scripts;C:\Program
Files\Python37;C:\Program Files\Microsoft MPI\Bin;C:\Program Files
(x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows
;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C
:\Program Files (x86)\Yarn\bin;C:\Program Files (x86)\Microsoft SQL
Server\150\DTS\Binn;C:\Program Files\Microsoft\Web Platform
Installer;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn;C:\Program Files\Microsoft Service
Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service
Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program
Files\PuTTY;C:\Program Files\nodejs;C:\Program
Files\Git\cmd;C:\Program Files\Python37;C:\Program Files\Microsoft VS
Code\bin;C:\Users\jamesconnolly\AppData\Local\Microsoft\WindowsApps;.
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
STTASKFOLDERPATH=\LANDESK\Protect\Deployments
active environment : base
active env location : C:\Users\jamesconnolly\Anaconda3
shell level : 1
user config file : C:\Users\jamesconnolly\.condarc
populated config files : C:\Users\jamesconnolly\.condarc
conda version : 4.8.2
conda-build version : 3.18.11
python version : 3.7.6.final.0
virtual packages :
base environment : C:\Users\jamesconnolly\Anaconda3 (writable)
channel URLs : 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
package cache : C:\Users\jamesconnolly\Anaconda3\pkgs
C:\Users\jamesconnolly\.conda\pkgs
C:\Users\jamesconnolly\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\jamesconnolly\Anaconda3\envs
C:\Users\jamesconnolly\.conda\envs
C:\Users\jamesconnolly\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Windows/10 Windows/10.0.18362
administrator : False
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?

Related

Sth is wrong with my conda, it reports errors when installing anything the errors are below... so what's wrong about my conda?

(base) jungleblack#DESKTOP-AFJ0R8N:~$ conda install itsx
Collecting package metadata (current_repodata.json): failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 704, in fetch_repodata_remote_request
resp.raise_for_status()
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/current_repodata.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/exceptions.py", line 1114, in __call__
return func(*args, **kwargs)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/cli/main.py", line 86, in main_subshell
exit_code = do_call(args, p)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 90, in do_call
return getattr(module, func_name)(args, parser)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/cli/main_install.py", line 20, in execute
install(args, parser, 'install')
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/cli/install.py", line 259, in install
unlink_link_transaction = solver.solve_for_transaction(
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 195, in solve_for_diff
final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 300, in solve_final_state
ssc = self._collect_all_metadata(ssc)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/common/io.py", line 86, in decorated
return f(*args, **kwds)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 463, in _collect_all_metadata
index, r = self._prepare(prepared_specs)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/solve.py", line 1058, in _prepare
reduced_index = get_reduced_index(self.prefix, self.channels,
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/index.py", line 287, in get_reduced_index
new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 139, in query_all
result = tuple(concat(executor.map(subdir_query, channel_urls)))
File "/home/jungleblack/miniconda3/lib/python3.8/concurrent/futures/_base.py", line 611, in result_iterator
yield fs.pop().result()
File "/home/jungleblack/miniconda3/lib/python3.8/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/home/jungleblack/miniconda3/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/home/jungleblack/miniconda3/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 131, in <lambda>
subdir_query = lambda url: tuple(SubdirData(Channel(url), repodata_fn=repodata_fn).query(
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 144, in query
self.load()
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 209, in load
_internal_state = self._load()
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 374, in _load
raw_repodata_str = fetch_repodata_remote_request(
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/core/subdir_data.py", line 735, in fetch_repodata_remote_request
raise UnavailableInvalidChannel(
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/conda/exceptions.py", line 460, in __init__
body = response.json()
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/home/jungleblack/miniconda3/lib/python3.8/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
$ /home/jungleblack/miniconda3/bin/conda install itsx
environment variables:
CIO_TEST=
CMAKE_PREFIX_PATH=/home/jungleblack/miniconda3:/home/jungleblack/miniconda3/x86_64-conda
-linux-gnu/sysroot/usr
CONDA_BUILD_SYSROOT=/home/jungleblack/miniconda3/x86_64-conda-linux-gnu/sysroot
CONDA_DEFAULT_ENV=base
CONDA_EXE=/home/jungleblack/miniconda3/bin/conda
CONDA_PREFIX=/home/jungleblack/miniconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/home/jungleblack/miniconda3/bin/python
CONDA_ROOT=/home/jungleblack/miniconda3
CONDA_SHLVL=1
CURL_CA_BUNDLE=
JAVA_LD_LIBRARY_PATH=/home/jungleblack/miniconda3/lib/server
PATH=/home/jungleblack/miniconda3/bin:/home/jungleblack/miniconda3/bin:/hom
e/jungleblack/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/
sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Python39/S
cripts:/mnt/c/Python39:/mnt/c/Program Files/Common
Files/libhmsbeagle:/mnt/c/Program Files (x86)/Common
Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common
Files/Intel/Shared Libraries/redist/intel64/compiler:/mnt/c/WINDOWS/sy
stem32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/Syst
em32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/e/per
l/perl/bin:/mnt/e/python/Scripts:/mnt/e/phylogenetic analysis/megex10.
1.8/MEGA-X:/mnt/c/bin:/mnt/e/git/Git/cmd:/mnt/e/xshell/xshell:/mnt/e/x
shell/xftp:/mnt/d/software/xshell:/mnt/c/Program Files/Git/cmd:/mnt/d/
software/nodejs:/mnt/c/ProgramData/chocolatey/bin:/mnt/d/phylogenetic
analysis/mega11/MEGA11:/mnt/d/software:/mnt/e/githubblog/Ruby27-x64/bi
n:/mnt/c/Users/Little
Black/AppData/Local/Microsoft/WindowsApps:/mnt/e/phylogenetic
analysis/PAUP4:/mnt/e/phylogenetic
analysis/BEAST.v2.6.3.Windows/lib:/mnt/c/Users/Little
Black/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/Little
Black/AppData/Roaming/TinyTeX/bin/win32:/mnt/c/Users/Little
Black/AppData/Roaming/npm:/mnt/d/software/vscode/Microsoft VS Code/bin
:/snap/bin:/Gblocks_0.91b/:/home/jungleblack/Gblocks_0.91b/:/home/jung
leblack/standard-RAxML-master/:/home/jungleblack/ncbi-blast-2.11.0+/:/
home/jungleblack/NextDenovo/:/home/jungleblack/NextPolish/:/home/jungl
eblack/redUnix64/:/home/jungleblack/
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
active environment : base
active env location : /home/jungleblack/miniconda3
shell level : 1
user config file : /home/jungleblack/.condarc
populated config files : /home/jungleblack/.condarc
conda version : 4.13.0
conda-build version : not installed
python version : 3.8.5.final.0
virtual packages : __linux=4.4.0=0
__glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/jungleblack/miniconda3 (writable)
conda av data dir : /home/jungleblack/miniconda3/etc/conda
conda av metadata url : None
channel URLs :
package cache : /home/jungleblack/miniconda3/pkgs
/home/jungleblack/.conda/pkgs
envs directories : /home/jungleblack/miniconda3/envs
/home/jungleblack/.conda/envs
platform : linux-64
user-agent : conda/4.13.0 requests/2.25.1 CPython/3.8.5 Linux/4.4.0-19041-Microsoft ubuntu/20.04.1 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
[y/N]:

ERROR: Could not install packages due to an OSError: [Errno 22]

Hi im trying to install voevent-parse via pip and run into the following error:
ERROR: Could not install packages due to an OSError. Traceback (most recent call last): File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 171, in _merge_into_criterion
crit = self.state.criteria[name] KeyError: 'voevent-parse'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\commands\install.py", line 316, in run
requirement_set = resolver.resolve(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 318, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 82, in from_requirement
if not cands:
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 124, in __bool__
return bool(self._sequence)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 99, in __bool__
return any(self)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 237, in iter_index_candidates
candidate = self._make_candidate_from_link(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 165, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 300, in __init__
super().__init__(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 144, in __init__
self.dist = self._prepare()
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 311, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\operations\prepare.py", line 457, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\operations\prepare.py", line 480, in _prepare_linked_requirement
local_file = unpack_url(
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\operations\prepare.py", line 240, in unpack_url
unpack_file(file.path, location, file.content_type)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\utils\unpacking.py", line 266, in unpack_file
untar_file(filename, location)
File "c:\users\timo\appdata\local\programs\python\python39\lib\site-packages\pip\_internal\utils\unpacking.py", line 230, in untar_file
with open(path, 'wb') as destfp:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\Timo\\AppData\\Local\\Temp\\pip-install-wpb7xknq\\voevent-parse_090e9cbdcae64f31a771cb0698293f1a\\src/voeventparse/fixtures/MOA_Lensing_Event_2015-07-10T14:50:54.00.xml'
Removed build tracker: 'C:\\Users\\Timo\\AppData\\Local\\Temp\\pip-req-tracker-cmjrk9m4'
Im using the latest Windows 10 version and latest pip version
Please consider running your command line in administrator

while launching spyder , spyder kernel is showing this error. and anaconda is also not installing other environments

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site‑packages\spyder\plugins\ipythonconsole\plugin.py", line 1223, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle)
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_client\manager.py", line 309, in start_kernel
kernel_cmd, kw = self.pre_start_kernel(**kw)
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_client\manager.py", line 256, in pre_start_kernel
self.write_connection_file()
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_client\connect.py", line 468, in write_connection_file
self.connection_file, cfg = write_connection_file(self.connection_file,
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_client\connect.py", line 138, in write_connection_file
with secure_write(fname) as f:
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 113, in enter
return next(self.gen)
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_core\paths.py", line 435, in secure_write
win32_restrict_file_to_user(fname)
File "C:\Users\Mahima Kaushik\AppData\Roaming\Python\Python38\site‑packages\jupyter_core\paths.py", line 361, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed while importing win32api: %1 is not a valid Win32 application.
https://github.com/spyder-ide/spyder/issues/12040#issuecomment-705033049
https://github.com/spyder-ide/spyder/issues/12040#issuecomment-705057347
I removed the following directory to fix my problem:
C:\Users\Mahima Kaushik\AppData\Roaming\Python

Trouble in Installing through pip3

I am trying to install packages through pip3
pip3 install keras
But, the error is as follows:
Collecting keras
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python3/dist-packages/pip/index.py", line 792, in get_page
"Cache-Control": "max-age=600",
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/adapters.py", line 405, in send
conn = self.get_connection(request.url, proxies)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/adapters.py", line 303, in get_connection
proxy_manager = self.proxy_manager_for(proxy)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/adapters.py", line 197, in proxy_manager_for
**proxy_kwargs)
File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/poolmanager.py", line 440, in proxy_from_url
return ProxyManager(proxy_url=url, **kw)
File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/poolmanager.py", line 391, in __init__
raise ProxySchemeUnknown(proxy.scheme)
urllib3.exceptions.ProxySchemeUnknown: Not supported proxy scheme
My institute needs a proxy and I updated proxy at all places in my system using ProxyMan.
Is it due to proxy? Because I had fresh install of Linux. If because of proxy, where do i need to update proxy?
I had a similar issue and I solved it by adding my proxy settings at the end of /etc/bash.bashrc like this:
export http_proxy="http://<user>:<pass>#<proxy>:<port>
export https_proxy="https://<user>:<pass>#<proxy>:<port>
export ftp_proxy="ftp://<user>:<pass>#<proxy>:<port>
export socks_proxy="socks://<user>:<pass>#<proxy>:<port>
You can try to use easy_install + packagename instead of pip.

conda Solving environment: failed

Any conda command returns this message
also tried reinstalling anaconda. Any help is appreciated.
Any conda command generates the same output.
$ conda upgrade conda
Solving environment: failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 280, in recv_into
return self.connection.recv_into(*args, **kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1715, in recv_into
self._raise_ssl_error(self._ssl, result)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1521, in _raise_ssl_error
raise WantReadError()
OpenSSL.SSL.WantReadError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 280, in recv_into
return self.connection.recv_into(*args, **kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1715, in recv_into
self._raise_ssl_error(self._ssl, result)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1538, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
OpenSSL.SSL.SysCallError: (54, 'ECONNRESET')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 302, in _error_catcher
yield
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 601, in read_chunked
chunk = self._handle_chunk(amt)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 557, in _handle_chunk
value = self._fp._safe_read(amt)
File "/Users/kireto/anaconda3/lib/python3.6/http/client.py", line 612, in _safe_read
chunk = self.fp.read(min(amt, MAXAMOUNT))
File "/Users/kireto/anaconda3/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 296, in recv_into
return self.recv_into(*args, **kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 285, in recv_into
raise SocketError(str(e))
OSError: (54, 'ECONNRESET')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/models.py", line 745, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 432, in stream
for line in self.read_chunked(amt, decode_content=decode_content):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 626, in read_chunked
self._original_response.close()
File "/Users/kireto/anaconda3/lib/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/urllib3/response.py", line 320, in _error_catcher
raise ProtocolError('Connection broken: %r' % e, e)
urllib3.exceptions.ProtocolError: ('Connection broken: OSError("(54, \'ECONNRESET\')",)', OSError("(54, 'ECONNRESET')",))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 789, in __call__
return func(*args, **kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 78, in _main
exit_code = do_call(args, p)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/cli/conda_argparse.py", line 77, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/cli/main_update.py", line 14, in execute
install(args, parser, 'update')
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 236, in install
force_reinstall=context.force,
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 504, in solve_for_transaction
force_remove, force_reinstall)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 437, in solve_for_diff
final_precs = self.solve_final_state(deps_modifier, prune, ignore_pinned, force_remove)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 178, in solve_final_state
index, r = self._prepare(prepared_specs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 560, in _prepare
self.subdirs, prepared_specs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/index.py", line 213, in get_reduced_index
new_records = query_all(spec)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/index.py", line 186, in query_all
return tuple(concat(future.result() for future in as_completed(futures)))
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/repodata.py", line 90, in query
self.load()
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/repodata.py", line 134, in load
_internal_state = self._load()
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/repodata.py", line 202, in _load
mod_etag_headers.get('_mod'))
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/conda/core/repodata.py", line 402, in fetch_repodata_remote_request
timeout=timeout)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 658, in send
r.content
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/models.py", line 823, in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
File "/Users/kireto/anaconda3/lib/python3.6/site-packages/requests/models.py", line 748, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: OSError("(54, \'ECONNRESET\')",)', OSError("(54, 'ECONNRESET')",))
`$ /Users/kireto/anaconda3/bin/conda upgrade conda`
environment variables:
CIO_TEST=<not set>
CONDA_ROOT=/Users/kireto/anaconda3
PATH=/Users/kireto/anaconda3/bin:/Users/kireto/anaconda3/bin:/Library/Frame
works/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/
usr/sbin:/sbin
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : None
user config file : /Users/kireto/.condarc
populated config files : /Users/kireto/.condarc
conda version : 4.4.10
conda-build version : 3.4.1
python version : 3.6.4.final.0
base environment : /Users/kireto/anaconda3 (writable)
channel URLs : https://repo.continuum.io/pkgs/main/osx-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/osx-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/osx-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/osx-64
https://repo.continuum.io/pkgs/pro/noarch
https://conda.anaconda.org/conda-forge/osx-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/bioconda/osx-64
https://conda.anaconda.org/bioconda/noarch
package cache : /Users/kireto/anaconda3/pkgs
/Users/kireto/.conda/pkgs
envs directories : /Users/kireto/anaconda3/envs
/Users/kireto/.conda/envs
platform : osx-64
user-agent : conda/4.4.10 requests/2.18.4 CPython/3.6.4 Darwin/17.7.0 OSX/10.13.6
UID:GID : 503:20
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
Upload did not complete
I tried to look at my .condarc file and even removed it but it doesn't change the outcome. Do you know what I can do to go back to a working conda?
conda version : 4.4.10
conda-build version : 3.4.1

Resources