Fails to install Spyder4.0.0rc2 on Windows due to ujson dependency
See original GitHub issueProblem Description
First of all, this is a dependency issue so it may be not solved by the Spyder-team but I thought that you may want to know about it.
Spyder 4.0.0rc2 actually fails to install (via pip) on Windows if MSVC compiler is not installed. This is related to the fact that some dependencies depend on ujson
package, which require MSVC 14 as shown in the log below.
So the dependency tree goes like that: rc2 requires python-language-server
0.31.0, which requires ujson
and python-jsonrpc-server
0.3.0, which requires ujson
too:
spyder 4.0.0rc2
python-language-server 0.31.0
ujson (since python-language-server 0.31.0, previous 0.30.0)
python-jsonrpc-server 0.3.0
ujson (since python-jsonrpc-server 0.3.0, previous 0.2.0)
This is working with rc1 when pre-installing first python-jsonrpc-server v0.2.0, then python-language-server 0.30.0.
What steps reproduce the problem?
- Install release candidate 2 on W10
pip install --pre spyder
Error
[...]
Running setup.py install for ujson ... error
[...]
Warning: 'classifiers' should be a list, got type 'filter'
running install
running build
running build_ext
building 'ujson' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Versions
- Spyder version: -
- Python version: 3.7.5
- Qt version: -
- PyQt version: -
- Operating System name/version: Windows 10, AMD64
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
ujson Package Installation Error in Python - Stack Overflow
When I try to install ujson package in python 3.6 on Windows 10, (which is needed for binance-python library installation) I got this...
Read more >Installation Guide — Spyder 4 documentation
Spyder is relatively easy to install on Windows, Linux and macOS. Just make sure to read and follow these instructions with care. If...
Read more >Spyder v4.0.0 release notes (2019-12-06) | LibHunt
This action creates a separate window that only contains the ... Issue 10763 - Fails to install Spyder4.0.0rc2 on Windows due to ujson...
Read more >CHANGELOG.md · albert_yl/Spyder - Gitee.com
Spyder (前身是 Pydee) 是一个强大的交互式 Python 语言开发环境,提供高级的代码编辑、交互测试、调试等特性,支持包括 Windows、Linux 和 OS X.
Read more >Installation — Spyder 3 documentation
Spyder is quite easy to install on Windows, Linux and MacOS X. Just the read the following ... Install Spyder and its dependencies...
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 FreeTop 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
Top GitHub Comments
It won’t. We just plan to add more functionality based on conda (like environment management).
Ok, thanks for letting us know about it! We didn’t know, so we’re leaned towards Anaconda.
In any case, this is an easy to fix error and @dalthviz already created two PRs for it.
On a second thought, we’re going to address this because members of our team are also suffering from it. Sorry if I sounded harsh before.