macos-big-sur

macOS Big Sur python3 cannot import numpy due to polyfit error

最后都变了- 提交于 2021-02-08 20:49:46
问题 update from Jan 2021: I performed a clean install of Big Sur in Jan 2021, and upgrade pip to latest version using python3 -m pip install --upgrade pip --user , and installed numpy without issues, and without the error message below. original question from Nov 2020 I'm using macOS big sur on 2019 macbook pro. I'm able to install numpy using python3 -m pip install numpy --user . Note I do not have brew; I'm just using the python3 from the Xcode command line tools. I've seen this error reported

Can't Connect to MySQL Server through Xcode application even tho I am able to connect it via Terminal

折月煮酒 提交于 2021-02-08 09:57:50
问题 I'm trying to create an application that fetches data from the MySQL server. I installed MySQL from Homebrew and using the PerfectMySql swift package. I want to test it on my localhost first but I'm unable to connect it from my application . When I mysql -u root -p in the command line, it works as it should. My code for MySQL connection: import PerfectHTTP import PerfectHTTPServer import PerfectMySQL import Foundation public class DB { let host = "localhost" // or "127.0.0.1" let user = "root

Can't Connect to MySQL Server through Xcode application even tho I am able to connect it via Terminal

强颜欢笑 提交于 2021-02-08 09:56:47
问题 I'm trying to create an application that fetches data from the MySQL server. I installed MySQL from Homebrew and using the PerfectMySql swift package. I want to test it on my localhost first but I'm unable to connect it from my application . When I mysql -u root -p in the command line, it works as it should. My code for MySQL connection: import PerfectHTTP import PerfectHTTPServer import PerfectMySQL import Foundation public class DB { let host = "localhost" // or "127.0.0.1" let user = "root

pod install failed on macOS Big sur

左心房为你撑大大i 提交于 2021-02-06 15:22:14
问题 I am pretty new to macOS and recently shift to macOS from windows, I started to working on react-native app and when I try react-native run-ios it gives me below error error Could not find "Podfile.lock" at /Users/saniranimantha/Documents/Learning/albums/ios/Podfile.lock. Did you run "pod install" in iOS directory? info Found Xcode project "albums.xcodeproj" info Launching iPhone 11 (iOS 14.3) info Building (using "xcodebuild -project albums.xcodeproj -configuration Debug -scheme albums

pod install failed on macOS Big sur

早过忘川 提交于 2021-02-06 15:20:54
问题 I am pretty new to macOS and recently shift to macOS from windows, I started to working on react-native app and when I try react-native run-ios it gives me below error error Could not find "Podfile.lock" at /Users/saniranimantha/Documents/Learning/albums/ios/Podfile.lock. Did you run "pod install" in iOS directory? info Found Xcode project "albums.xcodeproj" info Launching iPhone 11 (iOS 14.3) info Building (using "xcodebuild -project albums.xcodeproj -configuration Debug -scheme albums

pod install failed on macOS Big sur

眉间皱痕 提交于 2021-02-06 15:20:31
问题 I am pretty new to macOS and recently shift to macOS from windows, I started to working on react-native app and when I try react-native run-ios it gives me below error error Could not find "Podfile.lock" at /Users/saniranimantha/Documents/Learning/albums/ios/Podfile.lock. Did you run "pod install" in iOS directory? info Found Xcode project "albums.xcodeproj" info Launching iPhone 11 (iOS 14.3) info Building (using "xcodebuild -project albums.xcodeproj -configuration Debug -scheme albums

Homebrew fails on MacOS Big Sur

南楼画角 提交于 2021-02-06 06:48:28
问题 I upgraded from Mohave to Big Sur and found that homebrew is not working any more. I installed the command line tools using the command xcode-select --install After I run brew list , I get the following error ~ brew list Traceback (most recent call last): 11: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>' 10: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative' 9: from /usr/local/Homebrew/Library/Homebrew/global.rb:37:in `<top (required)>' 8: from /usr

PHPUnit always output “No tests executed!” on MacOS Big Sur

巧了我就是萌 提交于 2021-01-27 03:52:35
问题 When trying to run any PHPUnit tests, I always get a No tests executed! message on my MacOS machine. A simple way to reproduce, on this specific machine, is to install a fresh instance of Laravel and running the default tests : $ composer create-project --prefer-dist laravel/laravel blog $ cd blog $ vendor/bin/phpunit => No tests executed! The expected output would be OK (2 tests, 2 assertions) . As far as I know, this is not a PHPUnit configuration issue since the default Laravel code is

PHPUnit always output “No tests executed!” on MacOS Big Sur

雨燕双飞 提交于 2021-01-27 03:52:14
问题 When trying to run any PHPUnit tests, I always get a No tests executed! message on my MacOS machine. A simple way to reproduce, on this specific machine, is to install a fresh instance of Laravel and running the default tests : $ composer create-project --prefer-dist laravel/laravel blog $ cd blog $ vendor/bin/phpunit => No tests executed! The expected output would be OK (2 tests, 2 assertions) . As far as I know, this is not a PHPUnit configuration issue since the default Laravel code is

PHPUnit always output “No tests executed!” on MacOS Big Sur

孤街浪徒 提交于 2021-01-27 03:50:27
问题 When trying to run any PHPUnit tests, I always get a No tests executed! message on my MacOS machine. A simple way to reproduce, on this specific machine, is to install a fresh instance of Laravel and running the default tests : $ composer create-project --prefer-dist laravel/laravel blog $ cd blog $ vendor/bin/phpunit => No tests executed! The expected output would be OK (2 tests, 2 assertions) . As far as I know, this is not a PHPUnit configuration issue since the default Laravel code is