Hi,
Good idea … I was assuming it was part of Python itself. However, I did
attempt one Python install (pip otree-core) before uninstalling, and it
looks to me now, like it’s probably only what was installed by that.
OK, that is what I was thinking we would find. It you install things
with pip you are effectively installing into the macPorts managed areas
files MacPorts does not know about, which can lead to issues like this.
Its generally not recommended, you should instead install the port
providing what you need, assuming it exists.
In this case I am not sure if it is available though, as 'port search
otree' gives me nothing. In which case the 'correct' way to go, from the
MP perspective, is to submit a update for inclusion for the package you
want.
Chris
$ ls -l /opt/local/Library/Frameworks/Python.framework/Versions/3.6
total 0
drwxr-xr-x 43 root wheel 1462 Jul 17 16:41 bin
drwxr-xr-x 3 root wheel 102 Jul 17 16:41 lib
ls -l /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin
total 488
drwxr-xr-x 4 root wheel 136 Jul 17 16:27 __pycache__
-rwxr-xr-x 1 root wheel 12043 Jul 17 16:27 asadmin
-rwxr-xr-x 1 root wheel 1609 Jul 17 16:27 bundle_image
-rwxr-xr-x 1 root wheel 3499 Jul 17 16:27 cfadmin
-rwxr-xr-x 1 root wheel 438 Jul 17 16:27 coverage
-rwxr-xr-x 1 root wheel 446 Jul 17 16:27 coverage-3.6
-rwxr-xr-x 1 root wheel 440 Jul 17 16:27 coverage3
-rwxr-xr-x 1 root wheel 3108 Jul 17 16:27 cq
-rwxr-xr-x 1 root wheel 5100 Jul 17 16:27 cwutil
-rwxr-xr-x 1 root wheel 313 Jul 17 16:27 daphne
-rwxr-xr-x 1 root wheel 324 Jul 17 16:27 django-admin
-rwxr-xr-x 1 root wheel 182 Jul 17 16:27 django-admin.py
-rwxr-xr-x 1 root wheel 2188 Jul 17 16:27 dynamodb_dump
-rwxr-xr-x 1 root wheel 3558 Jul 17 16:27 dynamodb_load
-rwxr-xr-x 1 root wheel 9748 Jul 17 16:27 elbadmin
-rwxr-xr-x 1 root wheel 1928 Jul 17 16:27 fetch_file
-rwxr-xr-x 1 root wheel 5301 Jul 17 16:27 glacier
-rwxr-xr-x 1 root wheel 274 Jul 17 16:27 honcho
-rwxr-xr-x 1 root wheel 442 Jul 17 16:27 huey_consumer
-rwxr-xr-x 1 root wheel 4994 Jul 17 16:27 huey_consumer.py
-rwxr-xr-x 1 root wheel 5833 Jul 17 16:27 instance_events
-rwxr-xr-x 1 root wheel 979 Jul 17 16:27 kill_instance
-rwxr-xr-x 1 root wheel 10660 Jul 17 16:27 launch_instance
-rwxr-xr-x 1 root wheel 3153 Jul 17 16:27 list_instances
-rwxr-xr-x 1 root wheel 3499 Jul 17 16:27 lss3
-rwxr-xr-x 1 root wheel 19203 Jul 17 16:27 mturk
-rwxr-xr-x 1 root wheel 444 Jul 17 16:27 otree
-rwxr-xr-x 1 root wheel 272 Jul 17 16:27 pbr
-rwxr-xr-x 1 root wheel 266 Jul 17 16:27 py.test
-rwxr-xr-x 1 root wheel 266 Jul 17 16:27 py.test-2.7
-rwxr-xr-x 1 root wheel 2672 Jul 17 16:27 pyami_sendmail
-rwxr-xr-x 1 root wheel 283 Jul 17 16:27 pybabel
-rwxr-xr-x 1 root wheel 280 Jul 17 16:27 raven
-rwxr-xr-x 1 root wheel 9089 Jul 17 16:27 route53
-rwxr-xr-x 1 root wheel 16894 Jul 17 16:27 s3put
-rwxr-xr-x 1 root wheel 7050 Jul 17 16:27 sdbadmin
-rwxr-xr-x 1 root wheel 3824 Jul 17 16:27 taskadmin
-rwxr-xr-x 1 root wheel 539 Jul 17 16:27 trial
-rwxr-xr-x 1 root wheel 456 Jul 17 16:27 twistd
-rwxr-xr-x 1 root wheel 2010 Jul 17 16:27 vba_extract.py
-rwxr-xr-x 1 root wheel 270 Jul 17 16:27 wheel
ls -l /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib
total 0
drwxr-xr-x 3 root wheel 102 Jul 17 16:41 python3.6
$ ls -l
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/
total 0
drwxr-xr-x 93 root wheel 3162 Jul 17 16:41 site-packages
$ ls -l
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/
total 312
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 Babel-2.3.4.dist-info
drwxr-xr-x 11 root wheel 374 Jul 17 16:27 Django-1.8.8.dist-info
drwxr-xr-x 7 root wheel 238 Jul 17 16:27 IPy-0.83-py3.6.egg-info
-rw-r--r-- 1 root wheel 61138 Apr 4 2015 IPy.py
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 Twisted-16.2.0-py3.6.egg-info
drwxr-xr-x 8 root wheel 272 Jul 17 16:27 XlsxWriter-0.9.3.dist-info
drwxr-xr-x 11 root wheel 374 Jul 17 16:41 __pycache__
drwxr-xr-x 33 root wheel 1122 Jul 17 16:27 _pytest
drwxr-xr-x 8 root wheel 272 Jul 17 16:27 asgi_redis
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 asgi_redis-0.14.1.dist-info
-rwxr-xr-x 1 root wheel 12478 Jul 17 16:27 asgi_redis.py
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 asgiref
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 asgiref-0.14.0.dist-info
drwxr-xr-x 12 root wheel 408 Jul 17 16:27 autobahn
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 autobahn-0.16.0.dist-info
drwxr-xr-x 19 root wheel 646 Jul 17 16:27 babel
drwxr-xr-x 75 root wheel 2550 Jul 17 16:27 boto
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 boto-2.42.0.dist-info
drwxr-xr-x 23 root wheel 782 Jul 17 16:27 channels
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 channels-0.17.3.dist-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 colorama
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 colorama-0.3.7.dist-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 contextlib2-0.5.4.dist-info
-rw-r--r-- 1 root wheel 14828 Jul 17 16:27 contextlib2.py
drwxr-xr-x 36 root wheel 1224 Jul 17 16:27 coverage
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 coverage-4.2-py3.6.egg-info
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 daphne
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 daphne-0.14.3.dist-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27
dj_database_url-0.4.1-py3.6.egg-info
-rw-r--r-- 1 root wheel 3738 Apr 6 2016 dj_database_url.py
drwxr-xr-x 20 root wheel 680 Jul 17 16:27 django
drwxr-xr-x 15 root wheel 510 Jul 17 16:27 django_countries
drwxr-xr-x 9 root wheel 306 Jul 17 16:27
django_countries-4.0.dist-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27
django_easymoney-0.7.2-py3.6.egg-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27
django_floppyforms-1.7.0-py3.6.egg-info
drwxr-xr-x 8 root wheel 272 Jul 17 16:27
django_idmap-0.4.1-py3.6.egg-info
drwxr-xr-x 7 root wheel 238 Jul 17 16:27
django_vanilla_views-1.0.4-py3.6.egg-info
drwxr-xr-x 10 root wheel 340 Jul 17 16:27
djangorestframework-3.4.6.dist-info
-rw-r--r-- 1 root wheel 8070 Apr 19 03:40 easymoney.py
drwxr-xr-x 14 root wheel 476 Jul 17 16:27 floppyforms
drwxr-xr-x 12 root wheel 408 Jul 17 16:27 honcho
drwxr-xr-x 11 root wheel 374 Jul 17 16:27 honcho-0.7.1.dist-info
drwxr-xr-x 14 root wheel 476 Jul 17 16:27 huey
drwxr-xr-x 8 root wheel 272 Jul 17 16:27 huey-1.2.0-py3.6.egg-info
drwxr-xr-x 12 root wheel 408 Jul 17 16:27 idmap
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 msgpack
drwxr-xr-x 7 root wheel 238 Jul 17 16:27
msgpack_python-0.4.8-py3.6.egg-info
drwxr-xr-x 44 root wheel 1496 Jul 17 16:27 otree
drwxr-xr-x 10 root wheel 340 Jul 17 16:27
otree_core-1.3.9-py3.6.egg-info
drwxr-xr-x 5 root wheel 170 Jul 17 16:27 otree_save_the_change
drwxr-xr-x 10 root wheel 340 Jul 17 16:27
otree_save_the_change-1.1.3-py3.6.egg-info
drwxr-xr-x 18 root wheel 612 Jul 17 16:27 pbr
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 pbr-1.10.0.dist-info
drwxr-xr-x 17 root wheel 578 Jul 17 16:27 py
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 py-1.4.31.dist-info
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 pytest-2.9.2.dist-info
-rw-r--r-- 1 root wheel 621 Jul 17 16:27 pytest.py
drwxr-xr-x 12 root wheel 408 Jul 17 16:27 pytest_django
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 pytest_django-3.0.0.dist-info
drwxr-xr-x 9 root wheel 306 Jul 17 16:27
python_redis_lock-3.2.0.dist-info
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 pytz
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 pytz-2016.6.1.dist-info
drwxr-xr-x 20 root wheel 680 Jul 17 16:27 raven
drwxr-xr-x 10 root wheel 340 Jul 17 16:27 raven-5.25.0.dist-info
drwxr-xr-x 11 root wheel 374 Jul 17 16:27 redis
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 redis-2.10.5.dist-info
drwxr-xr-x 5 root wheel 170 Jul 17 16:27 redis_lock
drwxr-xr-x 19 root wheel 646 Jul 17 16:27 requests
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 requests-2.11.1.dist-info
drwxr-xr-x 42 root wheel 1428 Jul 17 16:27 rest_framework
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 schema-0.6.2.dist-info
-rw-r--r-- 1 root wheel 9395 Jul 17 16:27 schema.py
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 six-1.10.0.dist-info
-rw-r--r-- 1 root wheel 30098 Jul 17 16:27 six.py
drwxr-xr-x 67 root wheel 2278 Jul 17 16:27 tests
drwxr-xr-x 28 root wheel 952 Jul 17 16:27 twisted
drwxr-xr-x 12 root wheel 408 Jul 17 16:27 txaio
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 txaio-2.5.1.dist-info
drwxr-xr-x 7 root wheel 238 Jul 17 16:27 unicodecsv
drwxr-xr-x 7 root wheel 238 Jul 17 16:27
unicodecsv-0.14.1-py3.6.egg-info
drwxr-xr-x 8 root wheel 272 Jul 17 16:27 vanilla
drwxr-xr-x 20 root wheel 680 Jul 17 16:27 wheel
drwxr-xr-x 11 root wheel 374 Jul 17 16:27 wheel-0.29.0.dist-info
drwxr-xr-x 14 root wheel 476 Jul 17 16:27 whitenoise
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 whitenoise-3.2.1.dist-info
drwxr-xr-x 15 root wheel 510 Jul 17 16:27 ws4py
drwxr-xr-x 9 root wheel 306 Jul 17 16:27 ws4py-0.3.5.dist-info
drwxr-xr-x 36 root wheel 1224 Jul 17 16:27 xlsxwriter
drwxr-xr-x 3 root wheel 102 Jul 17 16:27 zope
-rw-r--r-- 1 root wheel 529 Jul 17 16:27
zope.interface-4.2.0-py3.6-nspkg.pth
drwxr-xr-x 10 root wheel 340 Jul 17 16:27
zope.interface-4.2.0-py3.6.egg-info
So, I’m sure it’s safe for me to just delete that, but now I wonder if
that pip command may have installed things in other places too. Any
ideas? I’m new to Python and not familiar with how it handles it’s packages.
Thanks,
Ray