Comments (6)
I've just installed python-magic:
pip install python-magic
from eml_parser.
Hi,
I must admit that I have never tried eml_parser on windows. My guess is that you don't have the "magic" library installed (in addition to the python lib).
See the windows dependencies on https://github.com/ahupp/python-magic (not the library required for eml_parser but same windows deps).
Let me know if this works for you.
from eml_parser.
I have the same error. Windows 10, Python 3.6.3
I installed magic using: pip install libmagic
I found a few threads that discuss similar errors. For example pymedusa/Medusa#1843
This and other threads refer to the following bug: http://bugs.python.org/issue29082 which exists for more then one year. But with my knowledge I can not find a solution to solve this issue.
Do you have any clue?
from eml_parser.
I'm sorry but I can't really help you with Windows problems here besides the link I posted earlier :-/
If you don't necessarily need mime parsing support, give it a try without the mime library.
from eml_parser.
I submitted a pull request with the fix. It works on my machine now.
Check if it is a windows machine and if it is, use libmagic
from eml_parser.
Unfortunately as noted in the PR #16 , that is not a valid fix.
You must either remove the file-magic python library or properly install libmagic DLL.
from eml_parser.
Related Issues (20)
- Hello, HOT 1
- module 'eml_parser' has no attribute 'EmlParser' HOT 2
- 'NoneType' object has no attribute 'group' HOT 1
- Distinguishing the body of attached emails from the main email body HOT 7
- Message ID parsing fails if no new line exists after value HOT 3
- KeyError when parsing subject HOT 7
- Infinite loop in regex searching for URL ending with unicode characters HOT 4
- Enhancement: Match HTML Anchor href and Image src HOT 2
- Email body parsing HOT 2
- Сonstantly different conclusion HOT 1
- can not install the latest version HOT 3
- How to solve email with pic HOT 2
- Domain Parser parsing out incorrect CSS/HTML Values HOT 3
- Unable to parse via stdin HOT 3
- "To", "From" or "Subject" sometimes None while analyzing the enron E-Mails HOT 1
- Parsing Fails on Malformed Address Parts HOT 1
- Handle invalid message-id format
- Documentation on expected output structures HOT 1
- Trouble installing HOT 1
- TypeError on load HOT 4
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 eml_parser.