`python setup.py install` command should error out and ask user to use `pip`
See original GitHub issueThe only way to have a working installation of widgetsnbextension
is to use pip
.
The usual python setup.py install
does not work, since that invokes setuptools
(although setup.py
seems to be written at some point with a conditional import of setuptools
) and the setup()
function of setuptools
does not handle data_files
correctly.
Note that it’s not a problem for me to use pip
but it’s at least unexpected that python setup.py install
does not work. So either this should be fixed or detected such that an error can be raised.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Error when installing using pip - python - Stack Overflow
Launch the command prompt with 'run as administrator' rights before installing. then try the script - pip ...
Read more >I can't install libraries - Discussions on Python.org
I'm trying to run my codes on vscode, ty for help ! Full error message : "C:\Users\josep\AppData\Local\Programs\Python\Python311>pip install ...
Read more >Using Python's pip to Manage Your Projects' Dependencies
If pip isn't installed yet, then this command installs it in your current Python environment. If you're in an active virtual environment, then ......
Read more >python setup.py egg_info did not run successfully. - You.com ...
You can't install it on Python 3, which is what you (or your QGIS) is running. ... in <module> File "C:\Users\ckmer\AppData\Local\Temp\pip-install-0egbz63s\ ...
Read more >Command python setup py egg info failed with error ... - Edureka
I think you are using previous version of jupyter. Try to update your setuptools and pip first then retry. $ pip install --upgrade...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just don’t use
./setup.py install
directly. The problem is that it does the wrong thing for legacy support reasons.I think in the past i had a good proposal for how to fix this in setuptools, but didn’t follow through on it. The best thing to do is to install with pip though.
do you mean I change the content of the file?