
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
[BUG] Running with --prefix leads to `expected str, bytes or os.PathLike object, not NoneType` Β· Issue #4966 Β· pypa/setuptools
Description:
setuptools version 80.0.0 Python version 3.12 OS Ubuntu 22.04 Additional environment information No response Description Using python setup.py develop with --prefix results in an error: TypeError: expected str, bytes or os.PathLike objec...
Website Age:
17 years and 9 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Personal Finance
Content Management System {π}
What CMS is github.com built with?
Github.com operates using WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 5,013,426 paying customers.
The estimated monthly recurring revenue (MRR) is $21,056,387.
The estimated annual recurring revenues (ARR) are $252,676,649.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
file, line, bug, prefix, expected, setuptools, running, leads, str, bytes, ospathlike, object, nonetype, gshtras, jaraco, sign, issue, python, develop, usrlibpythonsubprocesspy, issues, projects, version, setuppy, indexurl, crash, setup, status, navigation, pull, requests, actions, security, closed, description, information, error, typeerror, selfindexurl, local, run, call, return, usrlocallibpythondistpackagessetuptoolsdistutilscorepy, runcommands, usrlocallibpythondistpackagessetuptoolsdistutilsdistpy, runcommand, kwargs, added, triage,
Topics {βοΈ}
/pypa/setuptools/blob/main/setuptools/command/develop 12/dist-packages/setuptools/_distutils/dist 12/dist-packages/setuptools/_distutils/core 12/dist-packages/setuptools/command/develop 12/dist-packages/setuptools/dist 12/dist-packages/setuptools/__init__ /usr/local/lib/python3 /root/vllm/setup /usr/lib/python3 jaraco closed bug projects develop compatibility shim verified 92ff129 sign comment metadata assignees triage issues projects milestone response description gshtras changed ['--index-url' python setup shenanigansd added py develop nonetype due setuptools==80 setuptools expected str index_url] bool `expected str command dist prefix leads prefix results pathlike object recent call pid = _fork_exec status assigned labels milestone relationships core local setup __init__ logic crash run index_url //github github prefix check_call
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:[BUG] Running with --prefix leads to `expected str, bytes or os.PathLike object, not NoneType`
articleBody:### setuptools version
80.0.0
### Python version
3.12
### OS
Ubuntu 22.04
### Additional environment information
_No response_
### Description
Using `python setup.py develop` with `--prefix` results in an error:
`TypeError: expected str, bytes or os.PathLike object, not NoneType`
Due to https://github.com/pypa/setuptools/blob/main/setuptools/command/develop.py#L37
`+ ['--index-url', self.index_url] * bool(self.prefix)` resolves to ['--index-url', None]
### Expected behavior
`python setup.py develop --prefix ~/.local` should not crash
### How to Reproduce
Run `python setup.py develop --prefix ~/.local` with setuptools==80 on a repo that is using setuptools, such as https://github.com/ROCm/vllm
### Output
```console
Traceback (most recent call last):
File "/root/vllm/setup.py", line 678, in <module>
setup(
File "/usr/local/lib/python3.12/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.12/dist-packages/setuptools/dist.py", line 1104, in run_command
super().run_command(command)
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.12/dist-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/usr/lib/python3.12/subprocess.py", line 408, in check_call
retcode = call(*popenargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1885, in _execute_child
self.pid = _fork_exec(
^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
```
author:
url:https://github.com/gshtras
type:Person
name:gshtras
datePublished:2025-04-28T19:00:37.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:2
url:https://github.com/4966/setuptools/issues/4966
context:https://schema.org
headline:[BUG] Running with --prefix leads to `expected str, bytes or os.PathLike object, not NoneType`
articleBody:### setuptools version
80.0.0
### Python version
3.12
### OS
Ubuntu 22.04
### Additional environment information
_No response_
### Description
Using `python setup.py develop` with `--prefix` results in an error:
`TypeError: expected str, bytes or os.PathLike object, not NoneType`
Due to https://github.com/pypa/setuptools/blob/main/setuptools/command/develop.py#L37
`+ ['--index-url', self.index_url] * bool(self.prefix)` resolves to ['--index-url', None]
### Expected behavior
`python setup.py develop --prefix ~/.local` should not crash
### How to Reproduce
Run `python setup.py develop --prefix ~/.local` with setuptools==80 on a repo that is using setuptools, such as https://github.com/ROCm/vllm
### Output
```console
Traceback (most recent call last):
File "/root/vllm/setup.py", line 678, in <module>
setup(
File "/usr/local/lib/python3.12/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.12/dist-packages/setuptools/dist.py", line 1104, in run_command
super().run_command(command)
File "/usr/local/lib/python3.12/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.12/dist-packages/setuptools/command/develop.py", line 39, in run
subprocess.check_call(cmd)
File "/usr/lib/python3.12/subprocess.py", line 408, in check_call
retcode = call(*popenargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1885, in _execute_child
self.pid = _fork_exec(
^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
```
author:
url:https://github.com/gshtras
type:Person
name:gshtras
datePublished:2025-04-28T19:00:37.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:2
url:https://github.com/4966/setuptools/issues/4966
Person:
url:https://github.com/gshtras
name:gshtras
url:https://github.com/gshtras
name:gshtras
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:2
interactionType:https://schema.org/CommentAction
userInteractionCount:2
External Links {π}(2)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- GSAP
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net