国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

這篇具有很好參考價(jià)值的文章主要介紹了服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32。希望對大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

服務(wù)器安裝pywin32報(bào)錯(cuò):

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?這個(gè)沒解決我的問題:

pycharm安裝pywin32 報(bào)錯(cuò):No matching distribution found for pywin32_棠寧的博客-CSDN博客_no matching distribution found for pywin32

然后還有人這樣:

Could not find a version that satisfies the requirement win32api (from versions: ) No matching distribution found for win32api - 咣咣敲代碼 - 博客園

我的問題還沒解決。

有的人用下面這三種方法可以成功,而我都試了一遍,仍舊沒用。

pip install pywin32

or

python -m pip install pywin32

or

pip --trusted-host pypi.python.org install pywin32

然后使用了下面鏡像網(wǎng)站安裝的一些方法,仍舊沒用。

pip install pywin32 -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com

pip install pywin32 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.co

pip install pywin32 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn

報(bào)錯(cuò)大同小異,如下:

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?于是有試用了一下三個(gè)云鏡像站。

1)http://mirrors.aliyun.com/pypi/simple/ 阿里云
2)https://pypi.mirrors.ustc.edu.cn/simple/ 中國科技大學(xué)
3) http://pypi.mirrors.ustc.edu.cn/simple/ 中國科學(xué)技術(shù)大學(xué)

如前面一樣把地址換成這三個(gè)試試。

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?很多人都已經(jīng)解決了,我的問題依舊頑固,沒弄好。

幸運(yùn)的小伙伴問題到這里基本已經(jīng)解決了。

不幸的小伙伴還要往后看,作者痛苦,讀者也痛苦。

不像那些畫美女圖的畫手,畫手開心,觀眾也開心。

程序就是一條不歸路。

繼續(xù)往下看吧。

這一個(gè):

先升級pip,再安裝pywin32

python -m pip install --upgrade pip

Pycharm 中安裝pywin32報(bào)錯(cuò)_pywin32安裝失敗_中二騷年的博客-CSDN博客

仍舊報(bào)同樣的錯(cuò)。

ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32

于是

更新了一下

pip install --upgrade setuptools

然后再安裝pywin32,仍舊報(bào)錯(cuò)

pip install pypiwin32==228
ERROR: Could not find a version that satisfies the requirement pypiwin32==228 (from versions: 219, 223)
ERROR: No matching distribution found for pypiwin32==228

參考:

完美解決 Could not find a version that satisfies the requirement 安裝包名字 (from versions: )_戴國進(jìn)的博客-CSDN博客

安裝pip

LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~/2080$ python -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (22.3.1)

創(chuàng)建虛擬環(huán)境

pip3 install virtualenv

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~/2080$ pip3 install virtualenv
Collecting virtualenv
  Downloading virtualenv-20.17.1-py3-none-any.whl (8.8 MB)
     |████████████████████████████████| 8.8 MB 571 kB/s 
Collecting distlib<1,>=0.3.6
  Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
     |████████████████████████████████| 468 kB 43.4 MB/s 
Collecting filelock<4,>=3.4.1
  Downloading filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting platformdirs<3,>=2.4
  Downloading platformdirs-2.6.2-py3-none-any.whl (14 kB)
Installing collected packages: distlib, filelock, platformdirs, virtualenv
  WARNING: The script virtualenv is installed in '/home/LIST_2080Ti/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed distlib-0.3.6 filelock-3.9.0 platformdirs-2.6.2 virtualenv-20.17.1

查詢虛擬環(huán)境位置

whereis env

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?

安裝虛擬擴(kuò)展包

LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~/2080$ pip install virtualenvwrapper
Collecting virtualenvwrapper

  Downloading virtualenvwrapper-4.8.4.tar.gz (334 kB)
     |████████████████████████████████| 334 kB 438 kB/s 
Collecting stevedore
  Downloading stevedore-4.1.1-py3-none-any.whl (50 kB)
     |████████████████████████████████| 50 kB 3.6 MB/s 
Requirement already satisfied: virtualenv in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (from virtualenvwrapper) (20.17.1)
Collecting virtualenv-clone
  Downloading virtualenv_clone-0.5.7-py3-none-any.whl (6.6 kB)
Collecting pbr!=2.1.0,>=2.0.0
  Using cached pbr-5.11.1-py2.py3-none-any.whl (112 kB)
Requirement already satisfied: platformdirs<3,>=2.4 in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (from virtualenv->virtualenvwrapper) (2.6.2)
Requirement already satisfied: distlib<1,>=0.3.6 in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (from virtualenv->virtualenvwrapper) (0.3.6)
Requirement already satisfied: filelock<4,>=3.4.1 in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (from virtualenv->virtualenvwrapper) (3.9.0)
Building wheels for collected packages: virtualenvwrapper
  Building wheel for virtualenvwrapper (setup.py) ... done
  Created wheel for virtualenvwrapper: filename=virtualenvwrapper-4.8.4-py2.py3-none-any.whl size=24833 sha256=79e4bcd94bd1bd3b9463cdc7948cf2f4c082925ae928146d856d82af6d1908f6
  Stored in directory: /home/LIST_2080Ti/.cache/pip/wheels/47/15/3d/7a26eaf92e79f80a3df3ac5f8e0f0f5b7efdf24d313c594a44
Successfully built virtualenvwrapper
Installing collected packages: pbr, stevedore, virtualenv-clone, virtualenvwrapper
  WARNING: The script pbr is installed in '/home/LIST_2080Ti/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script virtualenv-clone is installed in '/home/LIST_2080Ti/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pbr-5.11.1 stevedore-4.1.1 virtualenv-clone-0.5.7 virtualenvwrapper-4.8.4

pip in /home/LIST_2080Ti/.local/lib/python3.8/site-packages (22.3.1)

使用:

python -m pip install pypiwin32

報(bào)錯(cuò)?

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?

$  python -m pip install pypiwin32
Defaulting to user installation because normal site-packages is not writeable
Collecting pypiwin32
  Using cached pypiwin32-223-py3-none-any.whl (1.7 kB)
  Using cached pypiwin32-219.zip (4.8 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-7pq5lm_i/pypiwin32_ec6fed72462f42b88a11496e25dbe88a/setup.py", line 121
          print "Building pywin32", pywin32_version
                ^
      SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Building pywin32", pywin32_version)?
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

進(jìn)入虛擬環(huán)境,直接在bin文件夾處,右鍵Copy Relative Path

source venv/bin/activate

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?

LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~$ source venv/bin/activate
(venv) LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~$ pip3 install -r niejianhao/CHB-MIT-DATA/epilepsy_eeg_classification/requirements.txt 
Collecting appdirs==1.4.4

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

退出虛擬環(huán)境

deactivate

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

?

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

修改系統(tǒng)環(huán)境變量——備注說明?

服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32

創(chuàng)建虛擬環(huán)境

(mrtrix3) LIST_2080Ti@ubuntu-SYS-7049GP-TRT:~$ virtualenv venvnjh?
created virtual environment CPython3.10.8.final.0-64 in 303ms
? creator CPython3Posix(dest=/home/LIST_2080Ti/venvnjh, clear=False, no_vcs_ignore=False, global=False)
? seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/LIST_2080Ti/.local/share/virtualenv)
? ? added seed packages: pip==22.3.1, setuptools==65.6.3, wheel==0.38.4
? activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

當(dāng)我試驗(yàn)了上面的所有方法都沒有解決的時(shí)候,我只能把需求依賴集合中的pywin32注釋掉,然后,問題沒有了。

下面的這個(gè)討論帖對于pywin32價(jià)值較大,僅供參考。

Could not find a version that satisfies the requirement pywin32>=223 · Issue #1172 · mhammond/pywin32 · GitHub文章來源地址http://www.zghlxwxcb.cn/news/detail-445464.html

到了這里,關(guān)于服務(wù)器pip3配置requirements.txt時(shí)候could not find a version that satisfies the requirement pywin32的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • pip/conda導(dǎo)出 requirements.txt 注意事項(xiàng)

    Python 提供了強(qiáng)大的模塊功能,能夠方便開發(fā)者更加易于進(jìn)行包的管理。 怎么將當(dāng)前環(huán)境的安裝包依賴信息導(dǎo)出呢? pip/conda提供了生成 requirements.txt 的功能,可以方便開發(fā)者在新的環(huán)境下進(jìn)行一步式的依賴項(xiàng)安裝。 有兩種方式: 生成requirements.txt,pip freeze會(huì)將當(dāng)前PC環(huán)境下所

    2023年04月14日
    瀏覽(23)
  • 解決pip install -r requirements.txt 超時(shí)

    解決pip install -r requirements.txt 超時(shí)

    解決方案: 測試驗(yàn)證

    2024年02月08日
    瀏覽(23)
  • 【Python】使用 requirements.txt 和 pip 打包批量安裝

    當(dāng)我們程序越來越復(fù)雜,使用pip管理Python包(庫)。我們可以方便的使用配置文件 requirements.txt 批量安裝指定版本的指定包。 關(guān)于涉及到的pip官方的手冊在這個(gè)位置: pip documentationv23.1.dev0 本文對以下內(nèi)容進(jìn)行說明: pip 的批量安裝選項(xiàng): -r requirements.txt 配置文件 requirements

    2024年02月16日
    瀏覽(223)
  • 設(shè)置pip3配置國內(nèi)源

    設(shè)置pip3配置國內(nèi)源

    豆瓣源: ? ?`https://pypi.douban.com/simple/` 阿里源: ? `https://mirrors.aliyun.com/pypi/simple` 驗(yàn)證 ? ? ? ? 安裝一個(gè)增強(qiáng)版的解釋器ipython用于測試 安裝完成 安裝新的pip

    2024年02月08日
    瀏覽(25)
  • 【問題記錄】pip install -r requirements.txt 安裝失敗

    【問題記錄】pip install -r requirements.txt 安裝失敗

    一般在使用 pip 安裝 python 相關(guān)的包的時(shí)候,可能會(huì)由于網(wǎng)絡(luò)問題失敗 可以采用國內(nèi)鏡像進(jìn)行下載安裝,復(fù)制下面代碼重新進(jìn)行下載安裝: 安裝成功:

    2024年02月15日
    瀏覽(25)
  • pip批量安裝Python庫 requirement.txt 離線環(huán)境無互聯(lián)網(wǎng)環(huán)境下pip安裝Python庫

    pip批量安裝Python庫 requirement.txt 離線環(huán)境無互聯(lián)網(wǎng)環(huán)境下pip安裝Python庫

    平常需要寫用Python寫一些腳本處理數(shù)據(jù) 但是工作的環(huán)境比較特殊 開發(fā)環(huán)境是有互聯(lián)網(wǎng)環(huán)境的 部署環(huán)境是隔離環(huán)境 沒有互聯(lián)網(wǎng) 所以記錄一下處理的方案 將當(dāng)前電腦環(huán)境的所有庫全部導(dǎo)出 首先 將本地的所有庫 導(dǎo)出到一個(gè)文本文件中 (本地可能是 pip 也可能是 pip3 ) 接著 在目錄

    2024年02月20日
    瀏覽(31)
  • MAC解決pip install -r requirements.txt報(bào)錯(cuò):error: externally-managed-environment

    python環(huán)境簡直讓人頭疼,尤其有好幾個(gè)版本的python、python升級等后 這里試過非常多方法:比如強(qiáng)制刪除 毫無用處。。 最后還是使用簡單老方法完美解決: 使用虛擬環(huán)境:創(chuàng)建、激活、安裝

    2024年04月12日
    瀏覽(21)
  • 我們在選擇服務(wù)器的時(shí)候,經(jīng)常會(huì)看到單線服務(wù)器,多線服務(wù)器和BGP服務(wù)器,那這些線路的服務(wù)器有存在哪些不同呢?

    我們在選擇服務(wù)器的時(shí)候,經(jīng)常會(huì)看到單線服務(wù)器,多線服務(wù)器和BGP服務(wù)器,那這些線路的服務(wù)器有存在哪些不同呢? 單線 所謂的單線服務(wù)器是單網(wǎng)卡單個(gè)IP,指只有電信、聯(lián)通或者移動(dòng)一條線路。 缺點(diǎn):由于線路單一,所選線路為電信線路時(shí),聯(lián)通或移動(dòng)的用戶訪問時(shí)可

    2024年02月12日
    瀏覽(20)
  • 輪詢的時(shí)候,總是報(bào)500服務(wù)器無法處理大量的請求

    HTTP 500 錯(cuò)誤通常表示服務(wù)器內(nèi)部錯(cuò)誤。這意味著后端服務(wù)器出現(xiàn)了一些問題,導(dǎo)致它無法處理請求。如果你在調(diào)用任務(wù)狀態(tài)的接口時(shí)總是遇到這個(gè)錯(cuò)誤,可能有以下一些原因: 1.后端代碼出現(xiàn)了錯(cuò)誤,導(dǎo)致服務(wù)器無法正確處理請求。你可以查看服務(wù)器的日志,找出具體的錯(cuò)誤

    2023年04月14日
    瀏覽(18)
  • ZLMediaKit流媒體服務(wù)器 RTSP推流時(shí)候的堆棧

    ZLMediaKit流媒體服務(wù)器 RTSP推流時(shí)候的堆棧

    先直接看圖 這是ffmpeg向流媒體服務(wù)器推流時(shí)候的堆棧 引入C++ 11之后? 堆棧會(huì)顯得特別繁復(fù)冗余 看起來 也沒有 以前沒有C++11之前那樣 簡單明了? ?太復(fù)雜了 標(biāo)記下??很多函數(shù)名字被我改了 因?yàn)樵瓉淼目雌饋?同名函數(shù)太多了 C++11 和lambada 匿名函數(shù) 讓看堆棧 成了地獄模式?

    2023年04月20日
    瀏覽(29)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包