0

i have been writing a script in python in the IDE PyCharm , but pycurl is not being imported. This is the error which I recieve:

ImportError: dlopen(/Users/danielraad/PycharmProjects/VisualiseGrocery/venv/lib/python3.7/site-packages/pycurl.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libssl.1.1.dylib
  Referenced from: /Users/danielraad/PycharmProjects/VisualiseGrocery/venv/lib/python3.7/site-packages/pycurl.cpython-37m-darwin.so
  Reason: image not found

despite the fact that pip install pycurl returns Requirement already satisfied. I've tried to import it using the project interpreter through systems preferences but this hasnt changed anything.

I am running Python version 3.7

Would appreciate any help.

John Gordon
  • 29,573
  • 7
  • 33
  • 58
  • Does this answer your question? [Getting "Library not loaded: libssl.1.0.0.dylib", "Reason: image not found" with flask\_mysqldb](https://stackoverflow.com/questions/51966962/getting-library-not-loaded-libssl-1-0-0-dylib-reason-image-not-found-with) – RvdK Oct 28 '20 at 14:42
  • Are you sure the environment where you pip installed pycurl is the same used in pycharm for your project? Having the wrong interpreter selected for your project in pycharm is often the reason of such problems. – darcamo Oct 28 '20 at 15:27

0 Answers0