LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   scons problem stops emerge and pip (https://www.linuxquestions.org/questions/gentoo-87/scons-problem-stops-emerge-and-pip-4175562750/)

CollieJim 12-30-2015 08:13 PM

scons problem stops emerge and pip
 
When I installed PlatformIO, scons was replaced with a different version. Now I have a problem. Neither emerge nor pip work:
Code:

# pip install -U scons

scons: *** No SConstruct file found.
File "/usr/lib/python2.7/site-packages/scons-2.4.1/SCons/Script/Main.py", line 923, in _main

# emerge -s scons

scons: *** No SConstruct file found.
File "/usr/lib/python2.7/site-packages/scons-2.4.1/SCons/Script/Main.py", line 923, in _main

There appear to be no SConstruct files at all.
Short of restoring from backup, how can I recover?

Emerson 12-31-2015 02:46 PM

Yes, that's what you get when you run pip as root. Never had this trouble myself, but I have seen the solution on Gentoo forums.


All times are GMT -5. The time now is 10:50 AM.