how do i uninstall ncbi blast while the uninstall program failed - blast

I've download the ncbi blast, but the version is too old ,so i want to uninstall it and reinstall a new one ,but the uninstall program the dmg contain failed me, I think maybe because the mac m1 chip do not support, so how do i uninstall it
[1]: https://i.stack.imgur.com/Xjw6v.png
[2]: https://i.stack.imgur.com/Ix4Qg.png
[3]: https://i.stack.imgur.com/V8jIM.png

Related

MySQL Workbench cannot open on Mac

MySQL Workbench on Mac (10.14) opens only for a moment and closes immediately without any (visible) error message. Re-installing it does not solve the problem.
What can I do to fix this problem?
MySQLWorkbench need Python3.7 Framework in /Library/Frameworks/Python.framework/Versions
brew install python#3.7
sudo cp -r /usr/local/Cellar/python#3.7/3.7.12/Frameworks/Python.framework/Versions/3.7 /Library/Frameworks/Python.framework/Versions
open MySQLWorkbench, it's work
One solution worked with me:
System Preferences -> Security & Privacy -> click “Open Anyway”.
And don't forget to unlock the Lock icon at the bottom left.
I solved downloading an older version of Workbench (8.0.20)
I faced this problem when my mac was updated to Monterey. I downloaded the workbench again from this link Official Mysql and installed it. I replaced the older workbench into my Applications and was able to retrieve servers i setup with the older workbench.
Cheers.
There are a couple of things potentially going on.
One is the Mac Security and Privacy control, addressed nicely by Mahmoud Mostafa in another answer.
But even once that's gotten around, there is the problem of where this app is looking for Python. Running Catalina 10.15.7, I used the terminal command suggested by Phil Nguyen and got a different error message:
Fatal Python error: initfsencoding: unable to load the file system codec, sys.path = ['/Applications/MySQLWorkbench.app/Contents/Resources/libraries', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload']
ModuleNotFoundError: No module named 'encodings'
To my surprise, I saw that there was no Python.framework within /Library/Frameworks/ at all. I'd been using Anaconda, which installed Python under my user directory.
As I had also installed Xcode tools, I just made a symbolic link* within /Library/Frameworks/ pointing to the Python framework at
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework
and changed the name of the symbolic link to Python.framework. That provides a Python 3.7 instead of forcing things back to Python 2 or using an old version of Workbench. Worked for me; YMMV.
*This needs to be a symbolic link made by ln -s in a Terminal window and not a Finder-generated alias. Working in /Library/Frameworks/ will require sudo.
I had the same issue as above. Downloading the older version from archives resolved the issue.
macOS Monterey, using version ( 8.0.29 ) solved the issue
Open your terminal and type:
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose
if your terminal said:
Your PYTHONPATH points to a site-packages dir for Python 3.x but you are running Python 2.x!
PYTHONPATH is currently: ":/Applications/MySQLWorkbench.app/Contents/Resources/libraries"
You should `unset PYTHONPATH` to fix this.
Type this:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
If you are using macOS 10.15 or lesser version just switch to older version of workbench(8.0.11), which is the stabile version and compatible with macOS 10.15 or lesser version. For download Click here
I upgraded the OS and I faced the issue with the Workbench. It was not loading. So, I downloaded it and installed it again. I got an option to keep both or replace them. I choose to Replace. This resolved the loading issue. Now, it's opening.
Try running the following command in your terminal, to remove the app from quarantine:
xattr -d com.apple.quarantine /path/to/MySQLWorkbench.app
Note that the default path is /Applications, i.e., the default filename is /Applications/MySQLWorkbench.app
I just installed newer version and it automatically replaced the old version and it worked!
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench --verbose
I opened with this command once and it after that it started opening normally.
PS I have python 3.7 installed
I also have faced a similar problem after upgrading MAC OS To Monterey,
The solution worked just upgrade your MySQL Workbench 8.0.30.
Link: https://dev.mysql.com/downloads/workbench/

404 error when using brew to install mysql - macOS Sierra

This question has been asked before here (404 error when using brew to install mysql), but unfortunately the fix doesn't work for me. I have already ran brew update, so I'm up to date.
I'm on the latest version of MacOS 10.12 and I am running Xcode 8 if that matters.
brew install mysql
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
==> Downloading https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.11.tar.gz
curl: (22) The requested URL returned error: 404 Not Found Error:
Failed to download resource "mysql" Download failed:
https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.11.tar.gz
I know it says this is a pre-release version, but is there any hope here?
Thanks
The 5.7.11 mysql download you reference no longer exists (it certainly is 404).
Looking at the homebrew formula for mysql, it has been updated to point to the latest mysql version.
So it seems that you are not in fact up to date. Try running brew update twice, then brew doctor and fix any warnings.
There have been some big changes in homebrew over the last 9 months, if you have an old install it might be easier to uninstall totally. There are also several ownership and directory location changes that need to be straightened out with the upgrade to homebrew 1.0
I followed the steps laid out here: Brew Update not working after mac 10.9
In case that's not visible anymore, here's that answer:
cd `brew --prefix`
git fetch origin
git reset --hard origin/master
After that, you should be able to brew update and then brew install mysql
For those who are still struggling to resolve this.
Please try:
brew update-reset
brew update
I found this gem here.
P.S.: If you have a shallow clone, after brew update-reset command, run the following command to unshallow:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

Why can't I install Xcode7 beta5?

I have downloaded Xcode7 beta5 from Xcode link.However,when I click the dmg file,and the prompt interface is:
Why there is a forbidden mark above the Xcode icon?Does anyone knows how to fix it.
My system version is OS X Yosemite 10.10.3.
I have figured it out. Xcode7 beta5 requires OSX version to be 10.10.4 or above.
I believe it only installs OS X 10.10.3 or later. Is that what you are running?

Mysql-dev for mac os

I'm installing sphinx for my macbook pro but I failed when I ran "sudo make", it generate the following error.
error: mysql.h: No such file or directory.
I navigate throw the web searching for a solution & the solution was to setup mysql-devel.
The new problem is that I can't find it for mac?? what shall I do?
You can use the Fink package management system to install mysql-dev. There is some getting started information here for fink. It may seem like a roundabout way to get things installed but in the long term it will pay dividends.
Good luck,
Chris

MySQL driver module issue with Movable Type

I am able to get mt-check to run, but it says that DBD::MySQL module is not installed. Here is what it says:
DBI (version >= 1.21)
Your server has DBI installed (version 1.52).
DBD::mysql
Your server does not have DBD::mysql installed, or DBD::mysql requires another module that is not installed. The DBD::mysql database driver is required to use MySQL Database. Please consult the installation instructions for help in installing DBD::mysql.
However, when I run sudo cpan DBD:mysql it says that it is up-to-date:
CPAN: Storable loaded ok (v2.19)
Going to read /Users/.../.cpan/Metadata
Database was generated on Thu, 01 Jul 2010 04:28:19 GMT
DBD::mysql is up to date (4.014).
When I try to run mt.cgi I get an error:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in #INC...
When I checked perl -V (or sudo perl -V) the #INC value doesn't include the path that is listed by cpan for being correctly installed.
Is the issue that it is installed for me (user) rather than the system? Do I need to reinstall the module? Have you come across this?
If it helps, I am using Mac OS 10.5.5 with MT 4.3.2.I
Any help is greatly appreciated.
Thanks!
I'm posting on this old question because getting Movable Type to run on MacOS X has been a challenge for me, and I am in the business of providing technical support for Movable Type.
Successful installation procedures vary by build of MacOS X. This means that the easiest way to get Movable Type running on MacOS X 10.5.5 may not be the easiest for 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion), etc. Successful installation procedures differ if you are running MacOS X Server instead of MacOS X, especially prior to Mountain Lion.
In terms of getting MacOS X 10.5.5 to run Movable Type 4.3x, which was the original question, I'd recommend reading and following Install Movable Type on a Mac written by Beau Smith back in May 2009. This contains very specific instructions for MacOS X 10.5.5. I successfully installed Movable Type on that build of MacOS by following these instructions.
try running sudo cpan force install DBD::mysql
I have had similar experiences as Dave, with configs changing by each version of OSX. The latest issue was after upgrading from Mountain Lion to Mavericks (10.9). I got the same error the original user reported. HaloWebMaster’s answer was close to what I needed, but my OSX does not have cpan as an available Terminal command by default, so I resolved it this way:
sudo perl -MCPAN -e shell
# enter password, then hit enter to accept defaults at all prompts if CPAN needs to set up
cpan[1]> install DBD::mysql
This ended with /usr/bin/make install -- OK, and then I typed exit to exit CPAN shell.
At this point, I reloaded mt.cgi and everything was back to normal.
The problem maybe with PERL. I SOLVED this problem using the tutorial - http://codesphpjs.blogspot.com/2015/04/install-movabletype-on-wamp-server.html
installing Strawberry Perl was solution