Closed ahmadsmadi990 closed 3 years ago
Having same issue. Installing the web3 module as directed doesn't seem to work.
I tried adding the node_modules folder to the pathway by creating a settings.json in the vscode folder as directed here. Still didn't work.
Also tried upgrading Python and installing web3.py instead of web3.js using $ pip install web3
. The program was able to find the module however this was the log:
[Info] Web3 successfully connected Traceback (most recent call last): File "c:\xxx\BSCTokenSniper\BSCTokenSniper.py", line 105, in
updateTitle() File "c:\xxx\BSCTokenSniper\BSCTokenSniper.py", line 101, in updateTitle walletBalance = web3.fromWei(web3.eth.get_balance(walletAddress),'ether') #There are references to ether in the code but it's set to BNB, its just how Web3 was originally designed File "C:\Python39\lib\site-packages\web3\module.py", line 53, in caller (method_str, params), response_formatters = method.process_params(module, *args, kwargs) # noqa: E501 File "C:\Python39\lib\site-packages\web3\method.py", line 194, in process_params _apply_request_formatters(params, self.request_formatters(method))) File "C:\Python39\lib\site-packages\eth_utils\functional.py", line 45, in inner return callback(fn(*args, *kwargs)) File "C:\Python39\lib\site-packages\web3\method.py", line 50, in _apply_request_formatters formatted_params = pipe(params, request_formatters) File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe return c_pipe(data, funcs) File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe data = func(data) File "cytoolz/functoolz.pyx", line 505, in cytoolz.functoolz.Compose.call ret = func(ret) File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.call return self.func(args, kwargs) File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 799, in map_abi_data return pipe(data, pipeline) File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe return c_pipe(data, funcs) File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe data = func(data) File "cytoolz/functoolz.pyx", line 250, in cytoolz.functoolz.curry.call return self.func(args, *kwargs) File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 833, in data_tree_map return recursive_map(map_to_typed_data, data_tree) File "C:\Python39\lib\site-packages\web3_utils\decorators.py", line 30, in wrapped wrapped_val = to_wrap(args) File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 89, in recursive_map items_mapped = map_collection(recurse, data) File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 76, in map_collection return datatype(map(func, collection)) File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 88, in recurse return recursive_map(func, item) File "C:\Python39\lib\site-packages\web3_utils\decorators.py", line 30, in wrapped wrapped_val = to_wrap(args) File "C:\Python39\lib\site-packages\web3_utils\formatters.py", line 90, in recursive_map return func(items_mapped) File "C:\Python39\lib\site-packages\web3_utils\abi.py", line 830, in map_to_typed_data return ABITypedData(func(elements)) File "C:\Python39\lib\site-packages\web3_utils\normalizers.py", line 78, in wrapper modified = to_wrap(type_str, data) File "C:\Python39\lib\site-packages\web3_utils\normalizers.py", line 196, in abi_address_to_hex validate_address(data) File "C:\Python39\lib\site-packages\web3_utils\validation.py", line 169, in validate_address raise InvalidAddress(f"ENS name: '{value}' is invalid.") web3.exceptions.InvalidAddress: ENS name: 'xxx' is invalid.
Is there away around this?
Install web3 from under venv (pip install web3)
C:\Users\dsobe>npm install Web3 npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to https://registry.npmjs.org/Web3 failed, reason: self signed certificate in certificate chain
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\dsobe\AppData\Roaming\npm-cache_logs\2021-07-30T02_10_35_851Z-debug.log
This the error when I tried installing Web3
pip install web3 or pip install --upgrade web3
pip install web3 or pip install --upgrade web3
'pip' is not recognized as an internal or external command, operable program or batch file.
pip install web3 or pip install --upgrade web3
'pip' is not recognized as an internal or external command, operable program or batch file.
You need to add the path of your pip installation to your PATH system variable.
Open CMD with administrator.
and run this
setx PATH "%PATH%;C:\Python39\Scripts"
already tried setx PATH "%PATH%;C:\Python39\Scripts" same problem
On Sun, Aug 1, 2021 at 12:37 PM Nathan Fargo @.***> wrote:
pip install web3 or pip install --upgrade web3
'pip' is not recognized as an internal or external command, operable program or batch file.
You need to add the path of your pip installation to your PATH system variable. Open CMD with administrator. and run this setx PATH "%PATH%;C:\Python39\Scripts"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890448902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIV4GH43FSAGKM37OPTT2TFO5ANCNFSM477BQEPQ .
I didnt use Python39 instead Python30, is that ok? since I am using python3.0
On Sun, Aug 1, 2021 at 12:39 PM bry razo @.***> wrote:
already tried setx PATH "%PATH%;C:\Python39\Scripts" same problem
On Sun, Aug 1, 2021 at 12:37 PM Nathan Fargo @.***> wrote:
pip install web3 or pip install --upgrade web3
'pip' is not recognized as an internal or external command, operable program or batch file.
You need to add the path of your pip installation to your PATH system variable. Open CMD with administrator. and run this setx PATH "%PATH%;C:\Python39\Scripts"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890448902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIV4GH43FSAGKM37OPTT2TFO5ANCNFSM477BQEPQ .
I have just installed python on my laptop (windows 8) and got it successfully to work. I installed python 3.9.6 and installed web3 using 'npm install web3' but that didn't work.
Fix that worked for me: Try 'py -m pip install web3' or replace 'py' with python if you have a python older version.
Worked right away after that. Let me know if that works.
Hi,
I tried installing 3.9.6 and fix with 'py -m pip install web3' look successful but at the end this error encountered.
ERROR: Command errored out with exit status 1: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' Check the logs for full command output.
Any suggestion/next step.thanks.
On Mon, Aug 2, 2021 at 4:02 AM BytePhoenixData @.***> wrote:
I have just installed python on my laptop (windows 8) and got it successfully to work. I installed python 3.9.6 and installed web3 using 'npm install web3' but that didn't work.
Fix that worked for me: Try 'py -m pip install web3' or replace 'py' with python if you have a python older version.
Worked right away after that. Let me know if that works.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890577527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIQ4EZ4NDH7Y67ACDLTT2WR4FANCNFSM477BQEPQ .
trying to install visual studio as instructed.
On Mon, Aug 2, 2021 at 9:16 AM bry razo @.***> wrote:
Hi,
I tried installing 3.9.6 and fix with 'py -m pip install web3' look successful but at the end this error encountered.
Running setup.py install for cytoolz ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' cwd: C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\ Complete output (50 lines): ALERT: Cython not installed. Building without Cython. running install running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\cytoolz copying cytoolz\compatibility.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils_test.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_signatures.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_version.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz__init.py -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\exceptions.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\operator.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\init.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\dicttoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\cpython.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\dicttoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\init__.pxd -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_compatibility.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dicttoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_docstrings.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_doctests.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_functoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_inspect_args.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_itertoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_none_safe.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_recipes.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_serialization.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_signatures.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_tlz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_utils.py -> build\lib.win-amd64-3.9\cytoolz\tests running build_ext building 'cytoolz.dicttoolz' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Command errored out with exit status 1: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' Check the logs for full command output.
Any suggestion/next step.thanks.
On Mon, Aug 2, 2021 at 4:02 AM BytePhoenixData @.***> wrote:
I have just installed python on my laptop (windows 8) and got it successfully to work. I installed python 3.9.6 and installed web3 using 'npm install web3' but that didn't work.
Fix that worked for me: Try 'py -m pip install web3' or replace 'py' with python if you have a python older version.
Worked right away after that. Let me know if that works.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890577527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIQ4EZ4NDH7Y67ACDLTT2WR4FANCNFSM477BQEPQ .
Hi,
I'm done with visual c++ installation and rerun pip then I got this new warning/errors.
Running setup.py install for parsimonious ... done WARNING: The script netaddr.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script normalizer.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script base58.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script chardetect.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jsonschema.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Are those executable files required? and if do so, how to use path for those. thanks.
On Mon, Aug 2, 2021 at 9:16 AM bry razo @.***> wrote:
Hi,
I tried installing 3.9.6 and fix with 'py -m pip install web3' look successful but at the end this error encountered.
Running setup.py install for cytoolz ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' cwd: C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\ Complete output (50 lines): ALERT: Cython not installed. Building without Cython. running install running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\cytoolz copying cytoolz\compatibility.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils_test.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_signatures.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_version.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz__init.py -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\exceptions.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\operator.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\init.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\dicttoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\cpython.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\dicttoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\init__.pxd -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_compatibility.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dicttoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_docstrings.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_doctests.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_functoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_inspect_args.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_itertoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_none_safe.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_recipes.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_serialization.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_signatures.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_tlz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_utils.py -> build\lib.win-amd64-3.9\cytoolz\tests running build_ext building 'cytoolz.dicttoolz' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Command errored out with exit status 1: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' Check the logs for full command output.
Any suggestion/next step.thanks.
On Mon, Aug 2, 2021 at 4:02 AM BytePhoenixData @.***> wrote:
I have just installed python on my laptop (windows 8) and got it successfully to work. I installed python 3.9.6 and installed web3 using 'npm install web3' but that didn't work.
Fix that worked for me: Try 'py -m pip install web3' or replace 'py' with python if you have a python older version.
Worked right away after that. Let me know if that works.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890577527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIQ4EZ4NDH7Y67ACDLTT2WR4FANCNFSM477BQEPQ .
I've tried to run batch file and it didn't open in a cmd window and load, always popping in/out. any advise.thanks.
On Mon, Aug 2, 2021 at 12:19 PM bry razo @.***> wrote:
Hi,
I'm done with visual c++ installation and rerun pip then I got this new warning/errors.
Running setup.py install for parsimonious ... done WARNING: The script netaddr.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script normalizer.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script base58.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script chardetect.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jsonschema.exe is installed in 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Are those executable files required? and if do so, how to use path for those. thanks.
On Mon, Aug 2, 2021 at 9:16 AM bry razo @.***> wrote:
Hi,
I tried installing 3.9.6 and fix with 'py -m pip install web3' look successful but at the end this error encountered.
Running setup.py install for cytoolz ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' cwd: C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\ Complete output (50 lines): ALERT: Cython not installed. Building without Cython. running install running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\cytoolz copying cytoolz\compatibility.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils_test.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_signatures.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz_version.py -> build\lib.win-amd64-3.9\cytoolz copying cytoolz__init.py -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\exceptions.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\operator.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\curried\init.py -> build\lib.win-amd64-3.9\cytoolz\curried copying cytoolz\dicttoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pyx -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\cpython.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\dicttoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\functoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\itertoolz.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\recipes.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\utils.pxd -> build\lib.win-amd64-3.9\cytoolz copying cytoolz\init__.pxd -> build\lib.win-amd64-3.9\cytoolz creating build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_compatibility.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_curried_toolzlike.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dev_skip_test.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_dicttoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_docstrings.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_doctests.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_embedded_sigs.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_functoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_inspect_args.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_itertoolz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_none_safe.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_recipes.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_serialization.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_signatures.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_tlz.py -> build\lib.win-amd64-3.9\cytoolz\tests copying cytoolz\tests\test_utils.py -> build\lib.win-amd64-3.9\cytoolz\tests running build_ext building 'cytoolz.dicttoolz' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Command errored out with exit status 1: 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"'; file='"'"'C:\Users\dsobe\AppData\Local\Temp\pip-install-rtnqmsk1\cytoolz_2788b0c8cca84e7984506fac4b50694f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\dsobe\AppData\Local\Temp\pip-record-6dpl1ljq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\dsobe\AppData\Local\Programs\Python\Python39\Include\cytoolz' Check the logs for full command output.
Any suggestion/next step.thanks.
On Mon, Aug 2, 2021 at 4:02 AM BytePhoenixData @.***> wrote:
I have just installed python on my laptop (windows 8) and got it successfully to work. I installed python 3.9.6 and installed web3 using 'npm install web3' but that didn't work.
Fix that worked for me: Try 'py -m pip install web3' or replace 'py' with python if you have a python older version.
Worked right away after that. Let me know if that works.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-890577527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIQ4EZ4NDH7Y67ACDLTT2WR4FANCNFSM477BQEPQ .
When I installed python I originally installed it in appdata path. I uninstalled and reinstalled it to C:/Python39 and suggest you do the same, made things easier for me.
Then try to run the script again, open cmd prompt this time and cd to directory where bsctokensniper.py is installed, and type 'python bsctokensniper.py' and enter, you should be able to read the error message that comes up (if any). Paste the error message contents after running it so I can see whats happening.
Done uninstalling Python39 and have installed under c:\Python39 folder. After restarting pc, I tried running the script on given instruction but I got an error as follows;
'Python' is not recognized as an internal or external command, operable program or batch file.
I've tried typing 'py bsctokensniper.py' and got an error message too,
'Loading...
Traceback (most recent call last);
File "C:\BSCTokenSniper\bsctokensniper.py", line 3, in
Thanks.
On Tue, Aug 3, 2021 at 7:02 AM BytePhoenixData @.***> wrote:
When I installed python I originally installed it in appdata path. I uninstalled and reinstalled it to C:/Python39 and suggest you do the same, made things easier for me.
Then try to run the script again, open cmd prompt this time and cd to directory where bsctokensniper.py is installed, and type 'python bsctokensniper.py' and enter, you should be able to read the error message that comes up (if any). Paste the error message contents after running it so I can see whats happening.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-891388303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIRG7PXB4YARU3PA5UDT24PYXANCNFSM477BQEPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
it's now working, I will let you know if ever got an issue. Thank you very much.
On Tue, Aug 3, 2021 at 7:16 PM bry razo @.***> wrote:
Done uninstalling Python39 and have installed under c:\Python39 folder. After restarting pc, I tried running the script on given instruction but I got an error as follows;
'Python' is not recognized as an internal or external command, operable program or batch file.
I've tried typing 'py bsctokensniper.py' and got an error message too,
'Loading... Traceback (most recent call last); File "C:\BSCTokenSniper\bsctokensniper.py", line 3, in
from web3 import Web3 ModuleNotFoundError: No module name 'web3' Thanks.
On Tue, Aug 3, 2021 at 7:02 AM BytePhoenixData @.***> wrote:
When I installed python I originally installed it in appdata path. I uninstalled and reinstalled it to C:/Python39 and suggest you do the same, made things easier for me.
Then try to run the script again, open cmd prompt this time and cd to directory where bsctokensniper.py is installed, and type 'python bsctokensniper.py' and enter, you should be able to read the error message that comes up (if any). Paste the error message contents after running it so I can see whats happening.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-891388303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOIRG7PXB4YARU3PA5UDT24PYXANCNFSM477BQEPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
it's now working, I will let you know if ever got an issue. Thank you very much. … On Tue, Aug 3, 2021 at 7:16 PM bry razo @.> wrote: Done uninstalling Python39 and have installed under c:\Python39 folder. After restarting pc, I tried running the script on given instruction but I got an error as follows; 'Python' is not recognized as an internal or external command, operable program or batch file. I've tried typing 'py bsctokensniper.py' and got an error message too, 'Loading... Traceback (most recent call last); File "C:\BSCTokenSniper\bsctokensniper.py", line 3, in
from web3 import Web3 ModuleNotFoundError: No module name 'web3' Thanks. On Tue, Aug 3, 2021 at 7:02 AM BytePhoenixData @.> wrote: > When I installed python I originally installed it in appdata path. I > uninstalled and reinstalled it to C:/Python39 and suggest you do the same, > made things easier for me. > > Then try to run the script again, open cmd prompt this time and cd to > directory where bsctokensniper.py is installed, and type 'python > bsctokensniper.py' and enter, you should be able to read the error message > that comes up (if any). Paste the error message contents after running it > so I can see whats happening. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#3 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AU4SOIRG7PXB4YARU3PA5UDT24PYXANCNFSM477BQEPQ > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email > . >
@ dsobe369 so how did you solve the issue. Thanks in advance
I just reinstall 'py -m pip install web3' and restart computer then its working fine.
On Wed, Aug 18, 2021 at 2:15 AM BSC-Contarcts @.***> wrote:
it's now working, I will let you know if ever got an issue. Thank you very much. … <#m4509628366066014142> On Tue, Aug 3, 2021 at 7:16 PM bry razo @.> wrote: Done uninstalling Python39 and have installed under c:\Python39 folder. After restarting pc, I tried running the script on given instruction but I got an error as follows; 'Python' is not recognized as an internal or external command, operable program or batch file. I've tried typing 'py bsctokensniper.py' and got an error message too, 'Loading... Traceback (most recent call last); File "C:\BSCTokenSniper\bsctokensniper.py", line 3, in from web3 import Web3 ModuleNotFoundError: No module name 'web3' Thanks. On Tue, Aug 3, 2021 at 7:02 AM BytePhoenixData @.> wrote: > When I installed python I originally installed it in appdata path. I > uninstalled and reinstalled it to C:/Python39 and suggest you do the same, > made things easier for me.
Then try to run the script again, open cmd prompt this time and cd to > directory where bsctokensniper.py is installed, and type 'python > bsctokensniper.py' and enter, you should be able to read the error message that comes up (if any). Paste the error message contents after running it so I can see whats happening. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#3 (comment) https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-891388303>, or unsubscribe > https://github.com/notifications/unsubscribe-auth/AU4SOIRG7PXB4YARU3PA5UDT24PYXANCNFSM477BQEPQ . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android > https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . >
@ dsobe369 so how did you solve the issue. Thanks in advance
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BytePhoenixData/BSCTokenSniper/issues/3#issuecomment-900524838, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOITA4VMPJSFEJPE6YA3T5KRKRANCNFSM477BQEPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
I just reinstall 'py -m pip install web3' and restart computer then its working fine. On Wed, Aug 18, 2021 at 2:15 AM BSC-Contarcts @.**> wrote: … it's now working, I will let you know if ever got an issue. Thank you very much. … <#m4509628366066014142> On Tue, Aug 3, 2021 at 7:16 PM bry razo @.> wrote: Done uninstalling Python39 and have installed under c:\Python39 folder. After restarting pc, I tried running the script on given instruction but I got an error as follows; 'Python' is not recognized as an internal or external command, operable program or batch file. I've tried typing 'py bsctokensniper.py' and got an error message too, 'Loading... Traceback (most recent call last); File "C:\BSCTokenSniper\bsctokensniper.py", line 3, in from web3 import Web3 ModuleNotFoundError: No module name 'web3' Thanks. On Tue, Aug 3, 2021 at 7:02 AM BytePhoenixData @.*> wrote: > When I installed python I originally installed it in appdata path. I > uninstalled and reinstalled it to C:/Python39 and suggest you do the same, > made things easier for me. > > Then try to run the script again, open cmd prompt this time and cd to > directory where bsctokensniper.py is installed, and type 'python > bsctokensniper.py' and enter, you should be able to read the error message > that comes up (if any). Paste the error message contents after running it > so I can see whats happening. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <#3 (comment) <#3 (comment)>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AU4SOIRG7PXB4YARU3PA5UDT24PYXANCNFSM477BQEPQ > . > Triage notifications on the go with GitHub Mobile for iOS > https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 > or Android > https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email > . > @ dsobe369 so how did you solve the issue. Thanks in advance — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4SOITA4VMPJSFEJPE6YA3T5KRKRANCNFSM477BQEPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Thanks as soon as i installed the correct visual C++ and reinstalled the pip intsall web3 it worked liuke a charm. the only issue now are the not showing colors described in py file. thanks mate
i keep getting BSCTokenSniper-main\BSCTokenSniper.py", line 3, in
from web3 import web3
ModuleNotFoundError: No module named 'web3'