Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing with Mac OS X #3

Closed
markph0204 opened this issue Nov 29, 2018 · 5 comments
Closed

Installing with Mac OS X #3

markph0204 opened this issue Nov 29, 2018 · 5 comments
Labels
good first issue Good for newcomers

Comments

@markph0204
Copy link

markph0204 commented Nov 29, 2018

How to install on Mac...

python3 -m venv .venv
source .venv/bin/activate
brew install graphviz
pip install swift-code-metrics

I would have added this to Wiki -- but it was not turned on ... couldn't access.

@matsoftware
Copy link
Owner

Hi Mark, thanks for flagging this out. Wiki should be accessible by everyone now.
Actually I don’t think you need to activate a python environment to install graphviz. brew install graphiz would just work. Have you tried it directly?

@markph0204
Copy link
Author

Correct you do not need to create or activate the working virtualenv to install brew. I was including complete steps.

@matsoftware matsoftware added the good first issue Good for newcomers label Feb 14, 2019
@matsoftware
Copy link
Owner

I've created the Wiki and added the informations there:

https://github.com/matsoftware/swift-code-metrics/wiki

Thanks for raising the issue 👍

@andrew-skrypnyk
Copy link

Hi,

macOS 10.14.3

I had this:

$ python3 -m .venv
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3: Relative module names not supported
$ source .venv/bin/activate
-bash: .venv/bin/activate: No such file or directory

Any ideas where I should run this or how to avoid such error?

@markph0204
Copy link
Author

@AnarH93 I mistakenly freehand typed it wrong, please see the updated line:

python3 -m venv .venv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants