日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux aemv7,无法在我的Ubuntu machin中安装“xlwings”

發(fā)布時間:2023/12/4 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux aemv7,无法在我的Ubuntu machin中安装“xlwings” 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

我試圖在我的Ubuntu機(jī)器上安裝xlwings模塊,但失敗如下pip3 install xlwings

Collecting xlwings

Using cached https://files.pythonhosted.org/packages/cc/c9/6bb1849dbee6e8a40beb9a0d21df9787bee45cda1d0bb575a0cd388dd260/xlwings-0.15.3.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File "", line 1, in

File "/tmp/pip-install-u90aes_a/xlwings/setup.py", line 33, in

raise OSError("currently only Windows and OSX are supported.")

OSError: currently only Windows and OSX are supported.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-u90aes_a/xlwings/

這個錯誤的解決方法是什么?Ubuntu不支持xlwings嗎?我也試圖安裝相同的手動如下,但也失敗了。在

^{pr2}$

如有任何建議,我們將不勝感激。在

2019年7月10日更新

我運行了代碼export INSTALL_ON_LINUX=1,然后安裝了xlwings。安裝很好。

但是,當(dāng)我嘗試在Python中導(dǎo)入xlwings時,失敗了,出現(xiàn)以下錯誤:Python 3.6.8 (default, Jan 14 2019, 11:02:34)

[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import xlwings

Traceback (most recent call last):

File "", line 1, in

File "/usr/local/lib/python3.6/dist-packages/xlwings/__init__.py", line 44, in

from . import _xlmac as xlplatform

File "/usr/local/lib/python3.6/dist-packages/xlwings/_xlmac.py", line 10, in

import aem

ModuleNotFoundError: No module named 'aem'

我無法安裝程序包aem,錯誤如下:pip3 install aem

Collecting aem

Exception:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main

status = self.run(options, args)

File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run

wb.build(autobuilding=True)

File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build

self.requirement_set.prepare_files(self.finder)

File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files

ignore_dependencies=self.ignore_dependencies))

File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file

require_hashes

File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link

self.link = finder.find_requirement(self, upgrade)

File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement

all_candidates = self.find_all_candidates(req.name)

File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates

for page in self._get_pages(url_locations, project_name):

File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages

page = self._get_page(location)

File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page

return HTMLPage.get_page(link, session=self.session)

File "/usr/lib/python3/dist-packages/pip/index.py", line 795, in get_page

resp.raise_for_status()

File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status

raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/aem/

任何解決方案都將得到高度贊賞。在

創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎

總結(jié)

以上是生活随笔為你收集整理的linux aemv7,无法在我的Ubuntu machin中安装“xlwings”的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。