-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I'm trying to get the library running however I face a problem while trying to execute following code:
import otodom, os, logging
from otodom.category import get_category
from otodom.offer import get_offer_information
.
The error I get is following:
PS C:\Users\Dom\Dysk Google\Analizator Nieruchomosci> python .\example.py
'getconf' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File ".\example.py", line 7, in
from otodom.category import get_category
File "C:\Users\Dom\Anaconda3\lib\site-packages\otodom\category.py", line 9, in
from otodom.utils import get_response_for_url, get_url
File "C:\Users\Dom\Anaconda3\lib\site-packages\otodom\utils.py", line 14, in
from scrapper_helpers.utils import caching, normalize_text, key_sha1, get_random_user_agent
File "C:\Users\Dom\Anaconda3\lib\site-packages\scrapper_helpers\utils.py", line 22, in
MAX_FILENAME_LENGTH = subprocess.check_output("getconf NAME_MAX /", shell=True).strip()
File "C:\Users\Dom\Anaconda3\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Users\Dom\Anaconda3\lib\subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'getconf NAME_MAX /' returned non-zero exit status 1.