I encountered a few issues when setting up things (Ubuntu 18.10 with conda 4.7.12 and python 3.7.4 ). Since they all relate I am raising them in this one issue.
-
After conda create --name pyrk there were several issues with package versions when running pip install -r env.pip after running conda activate pyrk. It turns out that in pyrk python 2.7 was being used from /usr/bin/python rather than python 3.7 from anaconda. It would probably be better to change the env creation command to conda create --name pyrk python=3.7 (or suitable python 3.X) to avoid this problem.
-
Since the assumption is that we are already in a conda env perhaps it's best to rm conda==4.5.12 from env.pip? Otherwise there is a version error anyway.
-
The coffea install in env.pip -e git+https://github.com/CoffeaTeam/coffea.git@da7d16002148a77e5dc05d8fe994e15c5a92b21c#egg=coffea fails due to a ModuleNotFoundError, not finding six. This is caused by six not actually being installed yet. It is only really installed when the pip command is successfully completed, which it isn't due to the coffea install error. I had to comment out the coffea line, run pip install -r env.pip once, then uncomment and run again.
-
I had to rm the explicit subdirectory in the coffea install line
-
Speaking of coffea, it looks like coffea is already included as a submodule. Perhaps better to just install it using pip like everything else?
I encountered a few issues when setting up things (Ubuntu 18.10 with conda 4.7.12 and python 3.7.4 ). Since they all relate I am raising them in this one issue.
After
conda create --name pyrkthere were several issues with package versions when runningpip install -r env.pipafter runningconda activate pyrk. It turns out that inpyrkpython 2.7 was being used from/usr/bin/pythonrather than python 3.7 from anaconda. It would probably be better to change the env creation command toconda create --name pyrk python=3.7(or suitable python 3.X) to avoid this problem.Since the assumption is that we are already in a conda env perhaps it's best to rm
conda==4.5.12from env.pip? Otherwise there is a version error anyway.The coffea install in env.pip
-e git+https://github.com/CoffeaTeam/coffea.git@da7d16002148a77e5dc05d8fe994e15c5a92b21c#egg=coffeafails due to aModuleNotFoundError, not findingsix. This is caused bysixnot actually being installed yet. It is only really installed when the pip command is successfully completed, which it isn't due to the coffea install error. I had to comment out the coffea line, runpip install -r env.piponce, then uncomment and run again.I had to rm the explicit subdirectory in the coffea install line
Speaking of coffea, it looks like coffea is already included as a submodule. Perhaps better to just install it using pip like everything else?