spyder: Failed to build arch
Description
What steps will reproduce the problem?
ERROR: Failed building wheel for arch Failed to build arch ERROR: Could not build wheels for arch which use PEP 517 and cannot be installed directly WARNING: Ignoring invalid distribution -illow (c:\users\shuo zhang\anaconda3\lib\site-packages) WARNING: Ignoring invalid distribution -illow (c:\users\shuo zhang\anaconda3\lib\site-packages)
Versions
- Spyder version: 4.1.5
- Python version: 3.8.5
- Qt version: 5.9.7
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.6.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.19.0 (OK)
jedi =0.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 6.0.7 (OK)
numpydoc >=0.6.0 : 1.1.0 (OK)
paramiko >=2.4.0 : 2.7.2 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.7.2 (OK)
pygments >=2.0 : 2.7.2 (OK)
pylint >=1.0 : 2.6.0 (OK)
pyls >=0.34.0;<1.0.0 : 0.35.1 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 1.0.1 (OK)
qtconsole >=4.6.0 : 4.7.7 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
sphinx >=0.6.6 : 3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 : 1.9.4 (OK)
watchdog : None (OK)
zmq >=17 : 19.0.2 (OK)
# Optional:
cython >=0.21 : 0.29.14 (OK)
matplotlib >=2.0.0 : 3.3.2 (OK)
numpy >=1.7 : 1.21.1 (OK)
pandas >=0.13.1 : 1.2.5 (OK)
scipy >=0.17.0 : 1.5.2 (OK)
sympy >=0.7.3 : 1.6.2 (OK)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (7 by maintainers)
Hi, Carlos.
Sorry for the troubles I brought you. But thank you somuch for your skills and patience.
I have sorted out all the concerns.
Kind regards,
Shuo
From: Carlos Cordoba @.> Sent: Tuesday, August 3, 2021 4:33 PM To: spyder-ide/spyder @.> Cc: D18128381 Shuo Zhang @.>; Mention @.> Subject: Re: [spyder-ide/spyder] Failed to build arch (#16089)
Hey @shuo1990https://github.com/shuo1990, you said:
By the way, Carlos, the sklearn can be imported. The errors of code in anaconda prompt is as followed: (base) C:\Users\Shuo Zhang>conda activate py39 (py39) C:\Users\Shuo Zhang>conda install sklearn
This is a confusing issue with Python: sometimes a package’s name is not the same as the one you use to import it. So, in this case you need to run
conda install scikit-learn
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/spyder-ide/spyder/issues/16089#issuecomment-891946440, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASWLIYGILFKP3LAGS5NBVILT3AD3XANCNFSM5BCQ5LZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.