Skip to content

Default to python3 in the install script#1105

Open
cheriimoya wants to merge 10 commits intomininet:masterfrom
cheriimoya:feat/default-to-python3-in-install
Open

Default to python3 in the install script#1105
cheriimoya wants to merge 10 commits intomininet:masterfrom
cheriimoya:feat/default-to-python3-in-install

Conversation

@cheriimoya
Copy link
Contributor

when running mininet/util/install.sh -3fy, i ran into the following problem:

  File "setup.py", line 17, in <module>
    import setuptools
ImportError: No module named setuptools

this is because the installation script is not setting the PYPKG variable at all python dependencies correctly.

so down the rabbit hole i went and fixed some more stuff in the installation script.

the commits with their commit messages should be speaking for themselves.

also

Installing ryu script to /usr/local/bin
Installing ryu-manager script to /usr/local/bin
ln: failed to create symbolic link '/usr/local/bin/ryu-manager': File exists

gets fixed by this.

i tested this change by running mininet/util/install.sh -3fy and passed

@cheriimoya cheriimoya force-pushed the feat/default-to-python3-in-install branch from 1e0866f to 7748940 Compare April 3, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant