I have installed python on windows and i used to install packages by opening cmd and typing `pip install package`. Now when i try to install any package trough pip i get this error:

`ERROR: Could not install packages due to an EnvironmentError: Please check proxy URL. It is malformed and could be missing the host.`

I have tried to google for the error but the only possible solutions i have found are turning to 1 LongPathsEnabled in the regedit or starting the cmd as administrator, but both didnt work for me.

**Edit:** for some reason in "Internet Options > Connections > LAN Settings" the proxy setting was activated but without any actual proxy. After deactivating it i could use pip properly.