While running classify.py file ,I am getting:
Import Error libhdf5_hl.so.9 cannot open shared object file
It's very difficult for me to understand this error. I thought this error was just because of anaconda so I updated anaconda.. still getting the same error.. I don't know why this error is coming. please help me. Thanks in advance.
Related
I wanted to make an Instagram bot so I can automate my posts and whatever. My problem is, I get the following Error when I try importing the module/library named "instagrapi":
Exception has occurred: ModuleNotFoundError
No module named 'instagrapi'
File "C:\Users\Simon\Desktop\Py\bot.py", line 1, in <module>
from instagrapi import Client
the error is in line 1 of my code, which simply states "from instagrapi import Client"
Now to my question: I already installed instagrapi, but VSCode tells me I didn't. I installed Python 3.11 but it runs in 3.10 or what so ever.
If someone can help me, please do so, thanks in advance
I tried reinstalling the library and restarting vscode, but it didn't help.
I'm running out of ideas
I tried running a python script that imports maya.cmds and maya.mel as Maya python script in windows. (Maya - animation software by Autodesk)
I am getting errors while importing the modules. Can someone help me figure out this error?
Error screenshot
Please do not post screenshots with errors or code. Just post the code here.
Do you work with mayapy? And do you set your pythonpath appropriately?
My teammates and I get the following error when we try to run the code for our class project. We used this colab notebook to install caffe before, but still ran into the error: https://colab.research.google.com/github/Huxwell/caffe-colab/blob/main/caffe_details.ipynb#scrollTo=vCy0jVs6Bo7G. We tried every possible option, but still no luck. :// Anyone got an idea of how can we resolve this error?
from caffe.proto import caffe_pb2
I am trying to convert my .py code to .exe. I tried all the options from posts on here and on the web, and all I could up with was the error below when I used cx_Freeze, and the .exe not opening when I used pyinstaller.
can someone help with the error below or give an alternative that works?
PS: my py code is actually ipython code from my jupyter notebook, but I'm trying not to share the code source.
Finally got it working while using pyinstaller, the key was to open the .exe file from the command window to be able to see the warning, which was "Import cv2 not found" after I deleted that line(since I was not using that module) and re built it, the .exe file now works. Hope this will help someone one day
I am making an SFTP application that connects to my schools server where I have to upload my Python Programs to for class. After adding pysftp, pycrypto and paramiko to the Python 3.5 Library I tried importing the pysftp module only to get an Invalid Syntax Error from a line in PyCrypto's DSA.py file. The error is being raised on this line if pow(2,159L) < q < pow(2,160L): on the "L" value in the class error(Exception): class. I tried researching to find a solution or to see if someone else experienced this issue but was unable to find anything. Has anyone else experienced the Syntax Error when importing pysftp on Python 3.5.1. If so how can I resolve this issue? Any insight on how to resolve this?
for python 3x, use the following code for making an sftp application:
from ftplib import FTP