IQSS / dataverse-sample-data

Scripts and sample data for demo purposes
6 stars 11 forks source link

Issues running dataverse-sample-data on Python 3.5.2 #2

Closed djbrooke closed 5 years ago

djbrooke commented 5 years ago

$ python3 Python 3.5.2 |Anaconda 4.2.0 (x86_64)| (default, Jul 2 2016, 17:52:12) [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin

This is the error that I get:

$ python3 -m venv ~/envs/dataverse-sample-data Error: Command '['/Users/dbrooke/envs/dataverse-sample-data/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

djbrooke commented 5 years ago

Trying to fix by installing xcode based on the advice here:

https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a

djbrooke commented 5 years ago

I still get the same error following install :(

djbrooke commented 5 years ago

I updated to 3.7 and it worked when I specify python3.7 in

python3.7 -m venv ~/envs/dataverse-sample-data

pdurbin commented 5 years ago

I feel like almost everyone hacking on Python these days has multiple versions installed and has a bit of a mess on their laptop. I am no exception and neither is the XKCD guy if https://xkcd.com/1987/ is any indication:

python_environment