我刚刚运行了"pip install -U steem"命令,安装工作正常,直到它无法安装pycrypto.之后我做了"pip install cryptography"命令,因为我认为它是缺少的包.所以我的问题是,如何在没有pycrypto-error(或者另外还有pycrypto-package)的情况下安装steem,以及如何卸载我不需要的cryptography-Package.(我使用的是Windows 7和Python 3)
Requirement already up-to-date: python-dateutil in c:\users\***\appdata\lo
cal\programs\python\python36\lib\site-packages (from dateparser->maya->steem)
Collecting regex (from dateparser->maya->steem)
Downloading regex-2017.06.23-cp36-none-win_amd64.whl (245kB)
100% |????????????????????????????????| 245kB 499kB/s
Collecting pytzdata (from pendulum->maya->steem)
Downloading pytzdata-2017.2-py2.py3-none-any.whl (462kB)
100% |????????????????????????????????| 471kB 965kB/s
Installing collected packages: urllib3, idna, chardet, certifi, requests, pycryp
to, funcy, w3lib, voluptuous, diff-match-patch, scrypt, prettytable, appdirs, la
ngdetect, ruamel.yaml, humanize, tzlocal, regex, dateparser, pytzdata, pendulum,
maya, ecdsa, pylibscrypt, ujson, toolz, steem
Running setup.py install for pycrypto ... error
Complete output …Run Code Online (Sandbox Code Playgroud) 我有一个 numpy.ndarray 的 3d 点,即它的 np.shape 是 (4350,3) 和这样的第二个 numpy.ndarray 的 3d 点的 np.shape (10510,3)。现在我试图找到正确的 python 包来尽快计算第一个数组中点的第二个数组中的最近邻居。
我在这里发现了一个非常相似的问题:使用 python numpy 在 3d 空间中找到一个点的 k 个最近邻点, 但我不明白如何在那里使用解决方案来解决我的问题。
我非常非常感谢你在这方面的帮助!