我想要Python3.6下的最新版本的vtk Pipy.org表示版本9.0.0:https://pypi.org/project/vtk/#files url指示使用以下命令: pip install vtk 我安装了python 2.7和3.6,所以我实际使用的是: pip3 install vtk 但这会安装8.1.2版,而不是9.0.0版 如果我运行以下命令: pip3 install vtk==9.0.0 Collecting vtk==9.0.0
Could not find a version that satisfies the requirement
我使用的是诗歌版本1.2.2和python3.11,我想使用pl.read_sql()这样的极性来阅读sql查询,但它需要连接库。我能够使用pip install connectorx安装这个库,但是诗歌add connectorx给出了这个错误:
RuntimeError
Unable to find installation candidates for connectorx (0.3.1)
at ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\poetry\installation\chooser.py
当运行该命令在ARM体系结构上为python构建opencv时
pip wheel --wheel-dir=./ opencv-python
我明白那个错误
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
不过,在我的电脑(amd64)上运行时,它运行得很好。那么,对于ARM体系结构,opencv有不同的命名吗?
我正在尝试在windows上安装matplotlib,但出现错误:
* The following required packages can not be built:
* freetype, png
* Please check http://gnuwin32.sourceforge.net/packa
* ges/freetype.htm for instructions to install
是否可以在虚拟环境中更改python版本。我知道我可以使用virtualenv -p <python-version>,但我必须在系统中安装那个版本(我不能使用pyenv中的那个版本),并且不能在环境中切换它。我必须为每个版本创建不同的环境。是否有可能对pyenv执行相同的操作,例如,在激活的virtualenv中切换版本,如下所示:
(venv)...$: python --version #2.7.6
(venv)...$: pyenv local 3.3.5
(venv)...$: python --version #unfortunelly still 2.7.6, i n
无法在python 3.7版本上安装Twisted包 我按照建议安装了Microsoft Visual Studio Build tools 15.0,但仍然无法安装Twisted its仍然抛出错误" error : Microsoft Visual C++ 14.0 is required. Get it with Microsoft Visual C++ build Tools":https://visualstudio.microsoft.com/downloads/“ 我需要执行任何额外的设置才能使其工作吗?
我正在Heroku中运行一个Django Python项目,为了支持Python加密包,我的dockerfile包含了关于首先安装该包的非Python依赖项的说明:
run apk add openssl-dev cargo
然后,我的构建日志显示,部署构建了各种车轮。密码转轮需要几分钟的时间来构建:
Building wheel for cryptography (PEP 517): started
Building wheel for cryptography (PEP 517): still running...
Building wheel for cryptography
我在python项目中使用虚拟环境。我可以很容易地在it.Initially中安装Django,当我输入'pip freeze‘命令时,结果是-
Django==1.8
wheel==0.24.0
现在,当我使用pip安装django-allauth时,会抛出这些错误-
File "/home/user/project/env/local/lib/python2.7/site-packages/pip/req/req_install.py", line 256, in link
self._link = self._wheel_cache.cached_wheel(
我有一个需要运行PIL的脚本。除了降级我的Python之外,我找不到任何方式在我的Python 3.6上安装PIL
以下是我的尝试:
pip install pil
Collecting pil
Could not find a version that satisfies the requirement pil (from versions: )
No matching distribution found for pil
pip install Pillow
Collecting Pillow
Using cached Pillow-3.3.1.zip
Installing co
我正在尝试在win7上安装scrapy。一种依赖是python-crfsuite。当我运行时:
pip install python-crfsuite==0.8.4
它反复失败,最终给出:
copying pycrfsuite\__init__.py -> build\lib.win32-2.7\pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka
我有一个Python模块,我已经发布给Pip了,但是我很难自己安装它,我也不知道为什么。
下面是我遇到的错误,尽管1.0.3确实发布在注册表上:
Could not find a version that satisfies the requirement Discord-Webhooks==1.0.3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for Discord-Webhooks==1.0.3 (from -r requirements.txt (line 2)