FNNDSC / FNNDSC/pfmisc

`cgi` library deprecated in py 3.11

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

[`C_stringCore`](https://github.com/FNNDSC/pfmisc/blob/master/pfmisc/C_stringCore.py#L37) has `from cgi import *` which generated an error for me trying to use `med2image` (depends on pfmisc) on `python 3.11.2`.
```
ModuleNotFoundError: No module named 'cgi'
```

[It looks like](https://docs.python.org/3.10/library/cgi.html) `cgi` was deprecated in py 3.11.

I was able to comment the import out to get `med2image` working. Not sure if there might be other consequences.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.