Skip to content
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

ModuleNotFoundError: No module named 'requests' when importing rows #332

Open
mrioqueiroz opened this issue Sep 15, 2019 · 0 comments
Open
Milestone

Comments

@mrioqueiroz
Copy link

Hey, @turicas! This is the traceback of the exception that happened when we tried to import rows on Python Sul.

Traceback (most recent call last):
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/utils.py", line 80, in <module>
    import urllib3
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'urllib3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/__init__.py", line 22, in <module>
    import rows.plugins as plugins
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/plugins/__init__.py", line 18, in <module>
    from . import plugin_json as json  # NOQA
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/plugins/plugin_json.py", line 26, in <module>
    from rows.plugins.utils import (
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/plugins/utils.py", line 37, in <module>
    from rows.utils import Source
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/mrioqueiroz/PycharmProjects/rows_python_sul/venv/lib/python3.7/site-packages/rows/utils.py", line 82, in <module>
    from requests.packages import urllib3
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'requests'

Let me know if you need any other information.

@turicas turicas added this to the Version 0.5.0 milestone Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants