You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using library inside virtualenv, and so far when I attempt to import it, I receive the message:
In [1]: fromindeedimportIndeedClient---------------------------------------------------------------------------ImportErrorTraceback (mostrecentcalllast)
CellIn[1], line1---->1fromindeedimportIndeedClientFile~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/indeed/__init__.py:1---->1importrequests3DEFAULT_FORMAT="json"4API_ROOT="http://api.indeed.com/ads"File~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/__init__.py:5855exceptImportError:
56pass--->58from . importutils59from .modelsimportRequest, Response, PreparedRequest60from .apiimportrequest, get, head, post, patch, put, delete, optionsFile~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/utils.py:2321from . import__version__22from . importcerts--->23from .compatimportparse_http_listas_parse_list_header24from .compatimport (quote, urlparse, bytes, str, OrderedDict, urlunparse,
25is_py2, is_py3, builtin_str, getproxies, proxy_bypass)
26from .cookiesimportRequestsCookieJar, cookiejar_from_dictFile~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/compat.py:71# -*- coding: utf-8 -*-3""" 4 pythoncompat 5 """---->7from .packagesimportcharadeaschardet9importsys11# -------12# Pythons13# -------1415# Syntax sugar.File~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/packages/__init__.py:31from __future__ importabsolute_import---->3from . importurllib3File~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/packages/urllib3/__init__.py:2422from . importexceptions23from .filepostimportencode_multipart_formdata--->24from .poolmanagerimportPoolManager, ProxyManager, proxy_from_url25from .responseimportHTTPResponse26from .utilimportmake_headers, get_host, TimeoutFile~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/packages/urllib3/poolmanager.py:1411exceptImportError:
12fromurlparseimporturljoin--->14from ._collectionsimportRecentlyUsedContainer15from .connectionpoolimportHTTPConnectionPool, HTTPSConnectionPool16from .connectionpoolimportport_by_schemeFile~/.local/share/virtualenvs/herman-UxExri3D/lib/python3.10/site-packages/requests/packages/urllib3/_collections.py:71# urllib3/_collections.py2# Copyright 2008-2013 Andrey Petrov and contributors (see CONTRIBUTORS.txt)3#4# This module is part of urllib3 and is released under5# the MIT License: http://www.opensource.org/licenses/mit-license.php---->7fromcollectionsimportMutableMapping8fromthreadingimportRLock10try: # Python 2.7+ImportError: cannotimportname'MutableMapping'from'collections' (/usr/local/lib/python3.10/collections/__init__.py)
What concerns me the most is line 10, that states try Python 2.7. It appears this library has not been touched in eight years. Is this library even compatible with python 3? Is it even still maintained?
The text was updated successfully, but these errors were encountered:
Using library inside virtualenv, and so far when I attempt to import it, I receive the message:
What concerns me the most is line 10, that states
try Python 2.7
. It appears this library has not been touched in eight years. Is this library even compatible with python 3? Is it even still maintained?The text was updated successfully, but these errors were encountered: