A Amit Yaron Apr 7, 2017 #1 Hi, How do I add numpy in python3? I've tried to do it with pip, but it failed with too many undefined references.
Hi, How do I add numpy in python3? I've tried to do it with pip, but it failed with too many undefined references.
SirDice Administrator Staff member Administrator Moderator Apr 7, 2017 #2 Untested but it should work, set the default to 3.5 (assuming that's the version you want) in /etc/make.conf: Code: DEFAULT_VERSIONS+=python=3.5 Then build math/py-numpy using the port. Have a look at /usr/ports/Mk/bsd.default-versions.mk to see which Python versions are available.
Untested but it should work, set the default to 3.5 (assuming that's the version you want) in /etc/make.conf: Code: DEFAULT_VERSIONS+=python=3.5 Then build math/py-numpy using the port. Have a look at /usr/ports/Mk/bsd.default-versions.mk to see which Python versions are available.
OP A Amit Yaron Apr 7, 2017 Thread Starter #3 I haven't found /etc/conf, defined the environment variable PYTHON_VERSION instead. Thanks!
SirDice Administrator Staff member Administrator Moderator Apr 7, 2017 #4 The file doesn't exist by default. Just create it.