cabal
cabal copied to clipboard
Error Could not find module `Network.Simple.TCP' and `Network.Socket'
Hello, I am fairly new to Haskell and I am trying to make a server using import Network.Simple.TCP import Network.Socket (socketToHandle) When I tried to install the package using cabal I find the same error when I tried to update and what ever was on the internet to fix my problem,
"Config file path source is default config file. Config file \university network\students\0\912590\AppData\Roaming\cabal\config not found. Writing default configuration to \university network\students\0\912590\AppData\Roaming\cabal\config \university network\students\0\912590\AppData\Roaming\cabal\config.tmp: openFile: does not exist (No such file or directory)"
Do I have to create my own config folder? I only have a config file but I think cabal cannot recognize it.
\university network\students\0\912590\AppData\Roaming\cabal\config.tmp: openFile: does not exist (No such file or directory)"
Well, you can surely try creating \university network\students\0\912590\AppData\Roaming\cabal\ by hand, but I'd expect cabal itself to create it. Maybe some invocation of createDirectoryIfMissing in cabal-install should have its first argument (createParents) set to True instead of False.
This looks like a user question about some issue in their setup and probably isn’t relevant anymore. Should we close it?
Hmm it could be a problem handling remote folders in windows (I guess he they are using them from the paths names) It would be great to check if newer cabal version handle such folders fine