Package.version.InvalidVersion: Ungültige Version: „custom“ Beim Abrufen der Paketinformationen auf dem Conda-Tab wird ePython

Python-Programme
Guest
 Package.version.InvalidVersion: Ungültige Version: „custom“ Beim Abrufen der Paketinformationen auf dem Conda-Tab wird e

Post by Guest »

Ich habe einen internen Serverfehler erhalten, als ich versuche, die Registerkarte „Conda“ auf der Benutzeroberfläche meines Jupyter-Notebooks zu öffnen.
Meine Python-Version ist 3.12.7.
Bitte helfen Sie mir.
Ich lerne etwas über das Jupyter-Notebook und bekomme jetzt dieses. Ich habe versucht, das Versionsproblem neu zu installieren und anzupassen. Aber nicht reflektieren.

Code: Select all

    To access the notebook, open this file in a browser:
file:///Users/suyinmyoaung/Library/Jupyter/runtime/nbserver-68542-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=826852b182c5ed465ee20d1c2c7cc90c7bd0acef711e6c7c
or http://127.0.0.1:8888/?token=826852b182c5ed465ee20d1c2c7cc90c7bd0acef711e6c7c
[E 10:37:57.953 NotebookApp] Uncaught exception GET /conda/packages/available?_=1736307471860 (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/packages/available?_=1736307471860', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/tornado/web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/notebook/base/handlers.py", line 782, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/nb_conda/handlers.py", line 230, in get
data = searcher.list_available(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/nb_conda/handlers.py", line 197, in list_available
version = parse_version(entry.get('version', ''))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/packaging/version.py", line 202, in __init__
raise InvalidVersion(f"Invalid version: {version!r}")
packaging.version.InvalidVersion: Invalid version: 'custom'
[W 10:37:57.955 NotebookApp] Unhandled error
[E 10:37:57.956 NotebookApp] {
"Host": "localhost:8888",
"Accept": "application/json, text/javascript, */*; q=0.01",
"Referer": "http://localhost:8888/tree",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
}
[E 10:37:57.956 NotebookApp] 500 GET /conda/packages/available?_=1736307471860 (::1) 117.740000ms referer=http://localhost:8888/tree
[E 10:42:13.197 NotebookApp] Uncaught exception GET /conda/packages/available?_=1736307057432 (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/packages/available?_=1736307057432', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/tornado/web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/notebook/base/handlers.py", line 782, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/nb_conda/handlers.py", line 230, in get
data = searcher.list_available(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/nb_conda/handlers.py", line 197, in list_available
version = parse_version(entry.get('version', ''))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/my_env/lib/python3.12/site-packages/packaging/version.py", line 202, in __init__
raise InvalidVersion(f"Invalid version: {version!r}")
packaging.version.InvalidVersion: Invalid version: 'custom'
[W 10:42:13.197 NotebookApp] Unhandled error
[E 10:42:13.197 NotebookApp] {
"Host": "localhost:8888",
"Accept": "application/json, text/javascript, */*; q=0.01",
"Referer": "http://localhost:8888/tree",
"User-Agent": "Mozilla/5.0 (Macintosh;  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
}
[E 10:42:13.197 NotebookApp] 500 GET /conda/packages/available?_=1736307057432 (::1) 113.400000ms referer=http://localhost:8888/tree
^C[I 10:43:20.214 NotebookApp] interrupted ```

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post