Skip to content

Error in importing Scraper #18

Description

@rcf202324

I am trying to use scraper.datasafety. However I run into the following error. Please note that i have nodejs installed. I am using Jupyter Notebook. Kindly help.

FileNotFoundError Traceback (most recent call last)
C:\Users\ASHISH~1\AppData\Local\Temp/ipykernel_7440/3917561884.py in
----> 1 import scraper
2
3 result = scraper.app(appId='com.rupeecircle.maxapp')
4 print(result)

~\anaconda3\lib\site-packages\scraper_init_.py in
----> 1 from .scraper import *
2
3 # Version of the google-play-scraper-py package.
4 version = "0.3.1"

~\anaconda3\lib\site-packages\scraper\scraper.py in
----> 1 import scraper.wrapper as _wrapper
2 import scraper.exceptions as _exceptions
3
4 # Public module attribues.
5 collection = _wrapper.collection

~\anaconda3\lib\site-packages\scraper\wrapper.py in
92 # Private module attributes.
93 _wrapper = _Wrapper()
---> 94 _wrapper.update_modules()
95
96 # Set wrapper fields.

~\anaconda3\lib\site-packages\scraper\wrapper.py in update_modules(self)
44 def update_modules(self):
45 install_args = ['npm', '--prefix', SELF_DIR, 'update']
---> 46 return subprocess.run(install_args, capture_output=True, check=True)
47
48 def set_vars(self, vars=[]):

~\anaconda3\lib\subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
503 kwargs['stderr'] = PIPE
504
--> 505 with Popen(*popenargs, **kwargs) as process:
506 try:
507 stdout, stderr = process.communicate(input, timeout=timeout)

~\anaconda3\lib\subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask)
949 encoding=encoding, errors=errors)
950
--> 951 self._execute_child(args, executable, preexec_fn, close_fds,
952 pass_fds, cwd, env,
953 startupinfo, creationflags, shell,

~\anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_gid, unused_gids, unused_uid, unused_umask, unused_start_new_session)
1418 # Start the process
1419 try:
-> 1420 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
1421 # no special security
1422 None, None,

FileNotFoundError: [WinError 2] The system cannot find the file specified

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions