why are all packages in 2.7/dist-packages (python) -
i wondering why if have both python 2 , 3, python 3 doesn't have packages in folder, p2 has them all. how python3 run if doesn't have anything? both working far
cchilders:/usr/local/lib$ cd python3.4/ cchilders:/usr/local/lib/python3.4$ ls dist-packages cchilders:/usr/local/lib/python3.4$ cd dist-packages/ cchilders:/usr/local/lib/python3.4/dist-packages$ ls cchilders:/usr/local/lib/python3.4$ /usr/local/lib python2.7 python3.4 cchilders:/usr/local/lib/python3.4$ /usr/local/lib python2.7 python3.4 cchilders:/usr/local/lib$ cd python2.7/ cchilders:/usr/local/lib/python2.7$ ls dist-packages site-packages cchilders:/usr/local/lib/python2.7$ cd site-packages/ cchilders:/usr/local/lib/python2.7/site-packages$ ls cchilders:/usr/local/lib/python2.7/site-packages$ /usr/local/lib/python2.7 dist-packages site-packages cchilders:/usr/local/lib/python2.7$ cd dist-packages/ cchilders:/usr/local/lib/python2.7/dist-packages$ ls amqp pexpect-4.0.1.egg-info amqp-1.4.9.dist-info pickleshare-0.6.dist-info anyjson pickleshare.py anyjson-0.3.3.egg-info pickleshare.pyc after installing ipython3, seems python3 doesn't have access other packages after all
this due to:
- your default python version 2.7
- the packages installing still python 2.7 packages (perhaps couldn't find compatible version, or python 3 still uses old version's package). python 3 can use dependencies python 2.7, isn't should worry unless starts cause problems code.
Comments
Post a Comment