Comments (5)
Hello, thanks for reporting the issue.
Please upgrade to DeepDiff 6.4.1.
from deepdiff.
I have the same issue. v6.3.1 worked/works fine but v6.4.0 gives error:
webserver | Traceback (most recent call last):
webserver | File "/app/webserver.py", line 2, in <module>
webserver | import run_actions
webserver | File "/app/run_actions.py", line 13, in <module>
webserver | import actions
webserver | File "/app/actions/__init__.py", line 1, in <module>
webserver | from actions.api_basics import ApiBasics
webserver | File "/app/actions/api_basics.py", line 4, in <module>
webserver | from .zs4u_essentials import Zs4uEssentials
webserver | File "/app/actions/zs4u_essentials.py", line 8, in <module>
webserver | from .scorch_the_earth import ScorchTheEarth
webserver | File "/app/actions/scorch_the_earth.py", line 4, in <module>
webserver | from deepdiff import DeepDiff
webserver | File "/usr/local/lib/python3.11/site-packages/deepdiff/__init__.py", line 10, in <module>
webserver | from .diff import DeepDiff
webserver | File "/usr/local/lib/python3.11/site-packages/deepdiff/diff.py", line 19, in <module>
webserver | from deepdiff.helper import (strings, bytes_type, numbers, uuids, datetimes, ListItemRemovedOrAdded, notpresent,
webserver | File "/usr/local/lib/python3.11/site-packages/deepdiff/helper.py", line 158, in <module>
webserver | if get_semvar_as_integer(np.__version__) < 1019000:
webserver | ^^^^^^^^^^^^^^
webserver | AttributeError: 'NoneType' object has no attribute '__version__'
webserver exited with code 1
I'm running it in a Docker container named "webserver" and these are the docker-compose logs output.
from deepdiff.
from deepdiff.
Tested. My code runs successfully on v6.4.1.
from deepdiff.
Thanks, all seems to be fixed in 6.4.1 as well.
from deepdiff.
Related Issues (20)
- Unsupported Operation: readline + Debug Feature HOT 2
- iterable_compare_func not working properly HOT 4
- 6.4.0 - AttributeError: 'NoneType' object has no attribute '__version__' HOT 1
- Simple typo in test paths generation. HOT 1
- Delta.__add__ breaks with esoteric dict keys HOT 1
- Function `parse_path` doesn't exist but is referenced in the docs. HOT 1
- Keys containing "__a__" at the beginning will be ignored. HOT 1
- Diff does not work for attributes of a class that inherits from dict or collections.UserDict HOT 4
- DeepDiff raises decimal exception when using significant digits HOT 3
- Can't compare dicts with both single and double quotes in keys HOT 3
- Inconsistent Behavior with math_epsilon and ignore_order HOT 1
- max_diffs doesn't use ignore_nan_inequality flag
- Wrong diff on list of strings HOT 3
- DeepDiff fails when dictionary keys are unrepresentable and exclude_regex_paths is not None
- Errors with dictionary_item_removed and dictionary_item_added HOT 3
- Error on Delta With None Key and Removed Item from List
- Need to be able to see full path on all outputs HOT 1
- Error when subtracting Delta from a dictionary HOT 4
- Documentation on how to consume keys 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 deepdiff.