Comments (2)
Thanks for the quick response, and the tip about Python 3.9. I shouldn't have bothered you with this problem; it was an issue with how MacOS handles SSL certificates. In case you are curious:
https://stackoverflow.com/questions/69521959/ssl-certificate-problem-certificate-has-expire-in-macos
After fixing the SSL issue, the code installs from source with no problem and I can import Page
.
from wikitextprocessor.
The pypi.org package is outdated and thus the README lists install from source commands first. I think some part of the code uses API introduced since Python 3.9, so if you're using 3.8 you'll get runtime error.
luajit is the dependency of the lupa package, lupa by default doesn't build luajit on macos but I guess they still need to be cloned. Maybe your system's certifications need update, I just cloned the luajit repo and didn't get "certificate has expired" error. Can you open https://luajit.org/ in safari?
from wikitextprocessor.
Related Issues (20)
- zh edition dump missing many entries HOT 12
- Update README.md API section to mention need to iterate over Wtp.process() return value. HOT 4
- Parser chokes on valid HTML attribute that looks like Wiki text HOT 3
- Parser fails on HTML tag spanning multiple lines HOT 3
- Typo in README
- Lua parsing broken with (...) and `arg` HOT 3
- Differences between Lua versions : Invalid escape sequence near '".+\/' HOT 1
- HTML code in English word senses HOT 8
- The word senses for benzylidene are also not being parsed correctly. HOT 2
- Lua: differences in __tostring() between 5.1 and later? HOT 1
- Performance improvement ideas HOT 24
- {{trans-top}}{{multitrans}} cause misparsing when there is no newline between them HOT 2
- --categories-file is currently broken HOT 3
- Pages folder missing Modules and Templates, and issues with colons in word titles
- Major issues with Lua memory stuff not resetting properly HOT 20
- Detecting whether a page contains an entry for a specific language HOT 4
- Template regex in `Wtp._encode()` can't match templates that has `-{}-` argument HOT 1
- Filenames cause errors on exFAT HOT 4
- Paser can't parse templates that have `{}` in arguemnt
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 wikitextprocessor.