前提・実現したいこと
以前はpipenv install <package>
ができていたが、いつからかできなくなった。
できればpipenv使いたい
発生している問題・エラーメッセージ
pipenv install schedule ... [pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies. First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again. Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation. Hint: try $ pipenv lock --pre if it is a pre-release dependency. ERROR: ERROR: Could not find a version that matches schedule No versions found Was https://pypi.org/simple reachable?
情報
- python 3.8
- windows10
- python, pip, pipenvのコマンドは使える状態
- PIPENV_VENV_IN_PROJECT環境変数はtrue
試したこと
pipenv install schedule
:上記のエラーで失敗pip install schedule
:すでにpythonにインストール済みのためRequirement already satisfied: schedule
pipenv run pip install schedule
:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/schedule/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/schedule/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/schedule/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/schedule/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/schedule/ Could not fetch URL https://pypi.org/simple/schedule/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/schedule/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement schedule (from versions: none) ERROR: No matching distribution found for schedule
sslのせいかと思い、opensslをインストール
上記を試しましたが、依然pipenv install <package>
でエラーが出ます。
最悪requirements.txtでパッケージ管理しようと思っているのですが、pipenvのほうが環境再現が簡単そうなのでできればpipenvを使いたいです。
原因がわかる方がいらっしゃいましたらぜひともご回答いただければと思います。
よろしくおねがいします。
あなたの回答
tips
プレビュー