phy installation on MacOS Catalina - stuck in Building wheel for PyYAML (setup.py)

333 views
Skip to first unread message

Diogo Duarte

unread,
Mar 12, 2020, 12:06:56 PM3/12/20
to phy-users
Hi,

I have run phy2 smoothly under MacOS Mojave in the past.

After the upgrade had to reinstall anaconda and phy. 

When running:
pip install phy --pre --upgrade

It gets stuck / frozen / unresponsive at 

Building wheels for collected packages: PyYAML, future, nltk, regex, backcall

 Building wheel for PyYAML (setup.py) ... -



Since this happened, I created a second, separate environment in which I run 
pip install phy --pre 
pip install phy --upgrade

Separately. It then misses packages 'traitlets' and 'click', which I install, only to fail with:

phy template-gui params.py


Usage: phy [OPTIONS] COMMAND [ARGS]...


Error: No such command "template-gui".



I'm running out of ideas. Any help is highly appreciated!!

Diogo

Cyrille Rossant

unread,
Mar 12, 2020, 12:13:06 PM3/12/20
to Diogo Duarte, phy-users
What if you do : 

pip install phylib --pre --upgrade

?

Cyrille


--
You received this message because you are subscribed to the Google Groups "phy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phy-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/phy-users/0e8e062a-2098-474e-865c-ec93e4b3f44c%40googlegroups.com.

Diogo Duarte

unread,
Mar 12, 2020, 12:19:30 PM3/12/20
to phy-users
Done. And now I run 
pip install phy --pre --upgrade
on top of that?

Diogo Duarte

unread,
Mar 12, 2020, 5:29:11 PM3/12/20
to Cyrille Rossant, phy-...@googlegroups.com
Follow up to this thread:

Problem is solved.

MacOS Catalina Users: Update your XCode before installing phy2. Github instructions then work right away.

@Cyrille Rossant : Thank you for the help.

Diogo


On Thu, 12 Mar 2020 at 16:42, Diogo Duarte <diogo....@research.fchampalimaud.org> wrote:
Is building dependent on xcode? 

On Thu, 12 Mar 2020 at 16:39, Diogo Duarte <diogo....@research.fchampalimaud.org> wrote:
Done. Stuck again in

Building wheel for PyYAML (setup.py) ... -
  



On Thu, 12 Mar 2020 at 16:30, Cyrille Rossant <cyrille...@gmail.com> wrote:
before that could you try
conda install yaml
and then try installing phy again?
Cyrille


Le jeu. 12 mars 2020 à 17:27, Diogo Duarte <diogo....@research.fchampalimaud.org> a écrit :
It gets stuck on Building wheel for PyYAML (setup.py) ... -  all the same.

Should I redo the env and send you the output after 'pip install phy'?

On Thu, 12 Mar 2020 at 16:21, Cyrille Rossant <cyrille...@gmail.com> wrote:
Yep.
If that doesn't work could you send me the output of :
 
pip list

?
Cyrille


--
You received this message because you are subscribed to the Google Groups "phy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phy-users+...@googlegroups.com.


--
Diogo Duarte

PhD Student @ Neural Circuits and Behavior Laboratory
Champalimaud Centre for the Unknown
Lisboa, Portugal


--
Diogo Duarte

PhD Student @ Neural Circuits and Behavior Laboratory
Champalimaud Centre for the Unknown
Lisboa, Portugal


--
Diogo Duarte

PhD Student @ Neural Circuits and Behavior Laboratory
Champalimaud Centre for the Unknown
Lisboa, Portugal


--
Diogo Duarte

PhD Student @ Neural Circuits and Behavior Laboratory
Champalimaud Centre for the Unknown
Lisboa, Portugal
Reply all
Reply to author
Forward
0 new messages