Brownie.exe not launching after successful install - python

I'm getting a fatal error when I try to load brownie. It installed without any errors so I'm confused as to what went wrong. The full error is:
Fatal error in launcher: Unable to create process using '"c:\users\kenma\appdata\local\programs\python\python39\python.exe" "C:\Users\kenma\AppData\Local\Programs\Python\Python39\Scripts\brownie.exe" ': The system cannot find the file specified.
Any help would be great. Thanks!

You may need to restart your terminal after installing pipx.
Link: - https://eth-brownie.readthedocs.io/en/stable/install.html

Related

Error loading caffe2_detectron_ops.dll when importing torch in IDE

Pytorch GPU did work for me, but after reinstalling anaconda I got this error:
Error loading “caffe2_detectron_ops.dll” (when installing the cpu version) or
Error loading “caffe2_detectron_ops_gpu.dll” (when installing the gpu version)
This error appears already when importing torch in spyder IDE.
Total error message: "OSError: [WinError 182] The operating system cannot run %1. Error loading "C:\Users\konin\anaconda3\envs\pytorch_env\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies."
Simply deleting “caffe2_detectron_ops.dll” will give me a new error: Error loading “caffe2_module_test_dynamic.dll”, then error loading “caffe2_observers.dll”, …
Deleting all of them didn’t solve my problem, it ended up with error “ImportError: DLL load failed while importing _C”. I’m working in a conda environment (python 3.9.7), and starting new environments give the same errors. CPU or GPU download of pytorch won’t make a difference. Installing intel-openmp didn’t fix it. Reinstalling torch didn't help.
I've done everything I could find about this error message. It is actually working when using the CMD prompt, but not when running the file in spyder.
Any suggestion would be really appreciated, thanks
Btw, for everyone curious, got it solved by resetting all of my enviroments, and setting up my environments more cleanly. Probably this conda environment got corrupted by my base environment files.

performance openvino demo error --- python:command not found

when I execute follow script in the vm,it take place this erro:
(yolox_torch) [root#localhost cenos]# cd /opt/intel/openvino_2021/deployment_tools/model_optimizer/install_prerequisites/
(yolox_torch) [root#localhost install_prerequisites]# ./install_prerequisites_onnx.sh
sudo: python3.6: command not found
Error on or near line 64; exiting with status 1
I try to modify the python link,but it failed.
help!!
The error means that Python is not installed or your installation is damaged. Reinstalling Python will solve the error. Also, make sure to always run the setupvars.sh script before running any OpenVINO code. Refer to the instructions in the following guide:
https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_linux.html

xCode Stripping extended attributes failed / xattr

When I try to upload an app to the app store I get the following error:
Stripping extended attributes failed.
"/usr/bin/xattr -crs /var/folders/t2/fjp18t212bdc6kgb3pjzk81m0000gn/T/XcodeDistPipeline.ZBT/Root/Payload/testvgd.app" exited with a non-zero status. The /usr/bin/xattr tool may be damaged.
When I try to run this tool /usr/bin/xattr from command-line I get:
"pkg_resources.DistributionNotFound: The 'xattr==0.6.4' distribution was not found and is required by the application"
Where and how can I add this xattr distribution? I downloaded it from: https://pypi.python.org/pypi/xattr/0.6.4, but when I try to install this, I get: error: package directory 'xattr' does not exist.
Is there a fix or workaround for this? Thanks!
I was afraid I had to clean re-install of Mac, however: an update of MacOS was enough to solve the error in xattr
I hope I save someone the trouble of a clean install with this answer :)
I restart the MAC computer solved the problem.

Not able to build syntaxNet source?

I did everything given in their documentation but I'm getting this error again and again....I tried googling and finding if anyone got the same error but nopes, didn't work out. Heres the command --
bazel test --linkopt=-headerpad_max_install_names \
syntaxnet/... util/utf8/...
And heres the error -
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package 'external': Extension file '#org_tensorflow//tensorflow:tensorflow.bzl' may not be loaded from a WORKSPACE file since the extension file is located in an external repository.
INFO: Elapsed time: 0.052s
ERROR: Couldn't start the build. Unable to run test
here is a very useful script for installation on ubuntu-14.04
https://github.com/JoshData/models/blob/b72274d38f169f77e6a15e54834f463f627dc82a/syntaxnet/build/ubuntu-14.04_x64.sh
Finally solved it, it was related to the bazel version.
I had installed it before, so the version was 0.1.5. But in the docs, its written supported ones are 0.2 - 0.2.2b. I tried to upgrade it using brew but it didn't work.
So I tried to directly install it using the 0.2.2b installer and it worked :)

fuel setup on mac / h5py setup on mac - hdf5.h file not found

I'm trying to install HDF5 on Mac and getting an error message:
fatal error: 'hdf5.h' file not found
This is confusing to me for a few reasons.
First of all, I was able to locate the file in question in Finder... In a folder apparently created in 2011. I bought the laptop new in 2013. So it looks like HDF5 should already have been on my computer? But I was trying to install fuel earlier today and it kicked me off with this error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the ``HDF5_DIR`` environment
variable or by using the ``--hdf5`` command-line option.
error: Setup script exited with 1
I tried moving the folder in question into the folder that I downloaded with the h5py programs in it, but had the same issue when I tried installing HDF5 again (fatal error: 'hdf5.h' file not found).
Has anyone else encountered issues like this before? I've googled the error messages but can't seem to find a good answer (especially for the issue with the program being unable to find the file that is apparently on my computer). This is my first time installing Python packages, so any tips at all are appreciated!

Categories