Comments (5)
installing markunsafe 2.0.1 worked for me as well.
from docker-nut.
What issue?
from docker-nut.
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/nut/venv/lib/python3.10/site-packages/markupsafe/init.py)
from docker-nut.
What am i doing wrong here?
EDIT: I have installed markupsafe==2.0.1 too, and still getting below.
Traceback (most recent call last):
File "/nut/nut.py", line 18, in <module>
from nut import Title
File "/nut/nut/__init__.py", line 24, in <module>
import Fs
File "/nut/Fs/__init__.py", line 3, in <module>
from Fs.Nsp import Nsp
File "/nut/Fs/Nsp.py", line 22, in <module>
from nut import blockchain
File "/nut/nut/blockchain.py", line 25, in <module>
loading blacklist /nut/conf/blacklist.online.txt
from flask import Flask, jsonify, request
File "/nut/venv/lib/python3.10/site-packages/flask/__init__.py", line 14, in <module>
from jinja2 import escape
File "/nut/venv/lib/python3.10/site-packages/jinja2/__init__.py", line 12, in <module>
from .environment import Environment
File "/nut/venv/lib/python3.10/site-packages/jinja2/environment.py", line 25, in <module>
from .defaults import BLOCK_END_STRING
File "/nut/venv/lib/python3.10/site-packages/jinja2/defaults.py", line 3, in <module>
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/nut/venv/lib/python3.10/site-packages/jinja2/filters.py", line 13, in <module>
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/nut/venv/lib/python3.10/site-packages/markupsafe/__init__.py)
from docker-nut.
Sorry for the late reply, the markupsafe issue was resolved in v3.3.2 but reintroduced with v3.3.3 so I didn't get why people still have this issue.
Since I was using the edge
image I also didn't have this bug since the latest master
branch from NUT doesn't have the markupsafe issue.
Edit: v3.3.4 should fix this issue again
from docker-nut.
Related Issues (8)
- Found files in the titles folder HOT 4
- Compatibility report: Raspberry Pi 4B HOT 2
- Add option to specify user/password HOT 1
- Update titledb flag is incorrect HOT 1
- AttributeError: module 'collections' has no attribute 'Mapping' HOT 3
- Add support for custom parameters at startup HOT 2
- Organize API returns 404 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nut.