phy icon indicating copy to clipboard operation
phy copied to clipboard

Windows didn't install Phy environment

Open crewl2 opened this issue 3 years ago • 16 comments

I'm not sure were I went wrong here but I tried to install Phy, which I've done before, and it isn't installing. Unfortunately, I closed down the command prompt so I don't have the error.

crewl2 avatar Oct 19 '21 19:10 crewl2

image

crewl2 avatar Oct 19 '21 19:10 crewl2

image

I've also ran into these errors. I'm not sure where I went wrong.

crewl2 avatar Oct 19 '21 22:10 crewl2

Hi, I have a very similar error. Tried to install Phy on two different PCs and I get stuck here:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spyder 4.2.5 requires pyqt5<5.13, but you have pyqt5 5.15.4 which is incompatible. spyder 4.2.5 requires pyqtwebengine<5.13, but you have pyqtwebengine 5.15.4 which is incompatible. spyder 4.2.5 requires watchdog<2.0.0,>=0.10.3, but you have watchdog 2.1.6 which is incompatible.

I tried to manually install the compatible packages, but it also did not work.

A few months back I successfully installed Phy on another machine, so it's not clear from where these errors come from. Maybe something is changed in the Anaconda environment?

antimo-buonocore avatar Oct 22 '21 12:10 antimo-buonocore

Yes! That was my same error!

crewl2 avatar Oct 22 '21 18:10 crewl2

I’ve had success installing all every other computer except this one for some reason.

crewl2 avatar Oct 22 '21 18:10 crewl2

Do you mean at this moment in time or in the past? I tried on two different computers and I get in both the same error. Any ideas on how to solve this?

antimo-buonocore avatar Oct 25 '21 11:10 antimo-buonocore

This moment, with this specific computer. I've had success installing it on my laptop and another computer, but failed to install it on my other lab computer. I have no idea how to solve this issue.

crewl2 avatar Oct 25 '21 16:10 crewl2

Hi, any update on this?

I tried a couple of things and if you manually create a new environment in anaconda and then install phy it works. I think in the previous version of the instructions they were explicitly specifying this step but now they removed anything related to anacoda and the command to create the new environment (you can check the history of the readme file).

So, for some reason, if you try to install phy on the base environment you would get conflicts.

Hope it makes sense (and that it's correct this way!).

antimo-buonocore avatar Nov 05 '21 08:11 antimo-buonocore

I tried that, but when I try to install phy again it just says requirements already satisfied. Is it too late? Should I reinstall windows?

crewl2 avatar Nov 05 '21 21:11 crewl2

I don't think you need to reinstall windows. Uninstall phy with with pip uninstall, then delete the environment so that you can start from scratch. Create a new environment in anaconda, install pip, install phy. This should work.

antimo-buonocore avatar Nov 06 '21 06:11 antimo-buonocore

Okay, so I uninstall phy. Then I create the phy environment, then do I activate environment and install pip and phy in the activated environment??

crewl2 avatar Nov 08 '21 18:11 crewl2

This worked for me. I believe you need a fresh environment (different from anaconda "base" environment ) to install phy. Before you were installing phy in anaconda "base" environment and this was not working.

antimo-buonocore avatar Nov 08 '21 19:11 antimo-buonocore

It worked. I uninstalled phy, created a phy environment, then installed pip and phy in the activated phy environment. Installing pip was a challenge for me because python commands were not installed in the environment, but I used the anaconda navigator to install everything in the phy environment.

Thanks so much for the help. It worked!

crewl2 avatar Nov 09 '21 17:11 crewl2

Great that it worked!

If I'm not wrong, you can install pip just with "conda install pip".

antimo-buonocore avatar Nov 10 '21 17:11 antimo-buonocore

To be precise, when you do "conda install pip" it will also install other packages needed by pip and python is one of them. So maybe to be precise, one should first create a new environment specifying the python version and then install pip and phy.

antimo-buonocore avatar Nov 11 '21 07:11 antimo-buonocore

I was having the exact same problem, using xubuntu 18.04, and didn't understand why I couldn't install phy anymore. It would be good for a update on the installation instructions

eliezyer avatar Dec 13 '21 17:12 eliezyer