pip install PyMsgBox error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system
Research direction
Start by reproducing pip install PyMsgBox on Windows with the Python 3.9 environment and package version shown in the traceback. Inspect the project’s packaging configuration and installation requirements, then confirm that the package installs without the NoneType subprocess error.
Written by the indexing model from the issue text.
Description
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting PyMsgBox
Using cached https://mirrors.aliyun.com/pypi/packages/7d/ff/4c6f31a4f08979f12a663f2aeb6c8b765d3bd592e66eaaac445f547bb875/PyMsgBox-1.0.9.tar.gz (18 kB)
ERROR: Error expected str, bytes or os.PathLike object, not NoneType while executing command 'e:\code\fh_projects\venv\scripts\python.exe' 'e:\code\fh_projects\venv\lib\site-packages\pip' install --ignore-installed --no-user --pre
fix 'C:\Users\Administrator\AppData\Local\Temp\pip-build-env-s4gdldp2\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host https --trusted-host '' --tru
sted-host trusted-host --trusted-host '此参数是为了避免麻烦,否则使用的时候可能会提示不受信任' -- 'setuptools>=40.8.0' wheel
Installing build dependencies ... error
ERROR: Exception:
Traceback (most recent call last):
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 171, in _merge_into_criterion
crit = self.state.criteria[name]
KeyError: 'pymsgbox'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\cli\base_command.py", line 189, in _main
status = self.run(options, args)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\cli\req_command.py", line 178, in wrapper
return func(self, options, args)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\commands\install.py", line 316, in run
requirement_set = resolver.resolve(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 318, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 82, in from_requirement
if not cands:
File "e:\code\fh_projects\venv\lib\site-packages\pip_vendor\resolvelib\structs.py", line 124, in bool
return bool(self._sequence)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in bool
return any(self)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 38, in _iter_built
candidate = func()
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 167, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 300, in init
super().init(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 144, in init
self.dist = self._prepare()
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 226, in _prepare
dist = self._prepare_distribution()
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 311, in _prepare_distribution
return self._factory.preparer.prepare_linked_requirement(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\operations\prepare.py", line 457, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\operations\prepare.py", line 500, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\operations\prepare.py", line 66, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\distributions\sdist.py", line 39, in prepare_distribution_metadata
self._setup_isolation(finder)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\distributions\sdist.py", line 67, in _setup_isolation
self.req.build_env.install_requirements(
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\build_env.py", line 206, in install_requirements
call_subprocess(args, spinner=spinner)
File "e:\code\fh_projects\venv\lib\site-packages\pip_internal\utils\subprocess.py", line 181, in call_subprocess
proc = subprocess.Popen(
File "D:\Dev\python\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\Dev\python\Python39\lib\subprocess.py", line 1356, in _execute_child
args = list2cmdline(args)
File "D:\Dev\python\Python39\lib\subprocess.py", line 561, in list2cmdline
for arg in map(os.fsdecode, seq):
File "D:\Dev\python\Python39\lib\os.py", line 822, in fsdecode
filename = fspath(filename) # Does type-checking of filename.
TypeError: expected str, bytes or os.PathLike object, not NoneType
- Dominant language
- Python
- Stars
- 68
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from asweigart/PyMsgBox
-
License mismatch Open
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in asweigart/PyMsgBox
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·