-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TypeError: expected str, bytes or os.PathLike object, not NoneType. File "<frozen os>", line 824, in fsdecode #4692
Comments
Hi @fridary, the code you highlighted iterates over Could you please double check that all the entries in |
@abravalheri is it what you are asking for?
import sys
# Check before importing
print("Before importing attributedict:")
for path in sys.path:
if path is None:
print("None found in sys.path!")
else:
print(path)
from attributedict.collections import AttributeDict
print("\nAfter importing attributedict:")
for path in sys.path:
if path is None:
print("None found in sys.path!")
else:
print(path)
import pandas_ta as pta |
Yes, thank you very much. So, for some reason, That does not seem quite right, does it? You should probably try contacting |
setuptools version
75.2.0
Python version
3.11.8
OS
Ubuntu 20.04.6 LTS
Additional environment information
Server: Intel(R) Xeon(R) CPU E5-2695 v4 @ 2.10GHz
Python: 3.11.8 (conda)
pip: 24.2 (latest)
pandas-ta: 0.4.19b0 (latest)
attributedict: 0.3.0
Description
Problem: I can not import
pandas-pta
lib because of error below. I created issue on official page twopirllc/pandas-ta#831, but author said I need to ask here. Error is because of importingattributedict
lib. Without it everything works.Expected behavior
print('ok')
How to Reproduce
Output
The text was updated successfully, but these errors were encountered: