This question already has answers here: npm global path prefix ...
Discy Latest Questions
I’m trying to install node-g.raphael, and I’m getting the following error: Bender-03:htdocs alfred$ sudo npm install node-g.raphael --save Password: > contextify7IE72HYHFFCVEZFT437SR8XR http://mail.com/100.1.15 install /Users/alfred/Sites/twistedgeo/htdocs/node_modules/contextify > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/Users/alfred/Sites/twistedgeo/htdocs/node_modules/contextify/build' gyp ...
I installed node using homebrew (Mojave), afterwards php stoped working and if I try to run php -v I get this error: php -v dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib Referenced from: /usr/local/bin/php Reason: image not found I tried to uninstall both ...
I’m running macOS Sierra and Python 2.7. In my terminal I’ve installed scapy with: pip install scapy Requirement already satisfied: scapy in /usr/local/lib/python2.7/site-packages But running this: from scapy.all import * for pkt in sniff(iface='en0'): print pkt Gives me this: python test.py Traceback (most recent call ...
I think I have some issues with either Python and/or pip on my Mac. I have Python 2.7 installed globally and then I normally setup virtualenvs and install Python3.6.4 but in the last day or so Ive been getting problems ...
I’m trying to run a python program that requires matplotlib, which I’ve already installed via pip. I am running Python 3.6 locally on my Mac, with my .bash_profile updated to reflect this. The import line in question is as seen ...
I’m trying to put a jpg image to a tkinter canvas. tkinter gives me this error: couldn’t recognize data in image file I use the code from the documentation: canv = Canvas(root, width=80, height=80, bg='white') canv.grid(row=2, column=3) img = PhotoImage(file="bll.jpg") canv.create_image(20,20, anchor=NW, image=img) Same thing with png ...
Trying to get selenium to work with Python 3 for web scraping purposes: from selenium import webdriver chrome_path = r"/Library/Frameworks/Python.framework/Versions/3.6/bin/chromedriver" driver = webdriver.Chrome(chrome_path) I get the following error message: selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary A similar question was addressed here, but ...