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:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelib
esolvers.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:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internalcommandsinstall.py", line 316, in run
requirement_set = resolver.resolve(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelib
esolver.py", line 121, in resolve
self._result = resolver.resolve(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelib
esolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelib
esolvers.py", line 318, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelib
esolvers.py", line 173, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelib
esolvers.py", line 82, in from_requirement
if not cands:
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_vendor
esolvelibstructs.py", line 124, in bool
return bool(self._sequence)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibfound_candidates.py", line 99, in bool
return any(self)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibfactory.py", line 237, in iter_index_candidates
candidate = self._make_candidate_from_link(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibfactory.py", line 165, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibcandidates.py", line 300, in init
super().init(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibcandidates.py", line 144, in init
self.dist = self._prepare()
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibcandidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internal
esolution
esolvelibcandidates.py", line 311, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internaloperationsprepare.py", line 457, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internaloperationsprepare.py", line 480, in _prepare_linked_requirement
local_file = unpack_url(
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internaloperationsprepare.py", line 240, in unpack_url
unpack_file(file.path, location, file.content_type)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internalutilsunpacking.py", line 266, in unpack_file
untar_file(filename, location)
File "c:usersimoappdatalocalprogramspythonpython39libsite-packagespip_internalutilsunpacking.py", line 230, in untar_file
with open(path, 'wb') as destfp:
OSError: [Errno 22] Invalid argument: 'C:UsersTimoAppDataLocalTemppip-install-wpb7xknqvoevent-parse_090e9cbdcae64f31a771cb0698293f1asrc/voeventparse/fixtures/MOA_Lensing_Event_2015-07-10T14:50:54.00.xml'
Removed build tracker: 'C:UsersTimoAppDataLocalTemppip-req-tracker-cmjrk9m4'
Im using the latest Windows 10 version and latest pip version
question from:
https://stackoverflow.com/questions/65890621/error-could-not-install-packages-due-to-an-oserror-errno-22