-
Notifications
You must be signed in to change notification settings - Fork 17
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
help /// #5
Comments
Which version of SDK do you install? Which line does this error occur? I think this error comes from the SDK dependency settings. |
My sdk is 2019. I will check the mistake according to your suggestion tomorrow. My programming skills are poor. It took a long time and it was frustrating. Thank you for your help! |
Which version of pythonnet do you have? |
pythonnet 2. 4.0 |
I can run the program now, but I don't fully understand the principle. This time I used conda install -c pythonnet instead of pip install pythonnet and then it worked. I just wonder why conda install -c pythonnet pythonnet must be used. |
When you download pythonnet through the pythonnet channel, you get the 2.3 version, while you get the 2.4 version with pip. Different versions, hence different behaviours apparently, that's why your code broke. |
Thank you ! and i want to know how can i get the information of sdk's methods or functions ? Because I want to make some other tools. |
The mistake happened again, After my test, the attribute of iteminfo cannot be explained, The pythonnet 2.4.0 has been installed and other uninstalled. I used the anconda running it . I retested it on a different computer and got the same result |
I found the answer that 2.4 version leads this error. |
@robjameswall @maximlt @zzme110 @Felix-James which tech guru can send me the MIKE 2019 SDK |
An Error Has Occurred,when i ran this dode: dhitools/notebooks/dfs012_analysis.ipynb,
and my version of python is 3.7. (anconda) Can u help me solve this error?,thanks
error:
File "C:\ProgramData\Anaconda3\lib\site-packages\dhitools\dfs.py", line 45, in dfs_info
self.num_items = dfs_object.ItemInfo.Count
AttributeError: 'list' object has no attribute 'Count'
The text was updated successfully, but these errors were encountered: