Can't run library on machines that have anaconda installedWhat sets up sys.path with Python, and when?import modules in shell on MacError in installing Tensorflow in macUsing Selenium with Python on LinkedInMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Issues with Flask-MySQLdb using Python3.7Issue with add method in tensorflow : AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'IntegrityError at /likes/9/ FOREIGN KEY constraint failedFailed to load the native TensorFlow runtime. when running g2p-seq2seq --version

Are there nouns that change meaning based on gender?

Was 'help' pronounced starting with a vowel sound?

Is it safe to remove the bottom chords of a series of garage roof trusses?

Was this pillow joke on Friends intentional or a mistake?

Should my "average" PC be able to discern the potential of encountering a gelatinous cube from subtle clues?

Replace backtick ` with power ^ in math mode

How do you call it when two celestial bodies come as close to each other as they will in their current orbits?

Do I have to learn /o/ or /ɔ/ separately?

How did Apollo 15's depressurization work?

How can I support the recycling, but not the new production of aluminum?

Is there a commercial liquid with refractive index greater than n=2?

Sous vide chicken without an internal temperature of 165 °F (75 °C)

Is refusing to concede in the face of an unstoppable Nexus combo punishable?

To "hit home" in German

Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?

Why don't sharp and flat root note chords seem to be present in much guitar music?

Is a butterfly one or two animals?

Most practical knots for hitching a line to an object while keeping the bitter end as tight as possible, without sag?

How to compare two different formulations of a problem?

How can I pack my food so it doesn't smell?

Is it appropriate for a prospective landlord to ask me for my credit report?

Can I submit a paper under an alias so as to avoid trouble in my country?

Co-author responds to email by mistake cc'ing the EiC

Does C++20 mandate source code being stored in files?



Can't run library on machines that have anaconda installed


What sets up sys.path with Python, and when?import modules in shell on MacError in installing Tensorflow in macUsing Selenium with Python on LinkedInMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Issues with Flask-MySQLdb using Python3.7Issue with add method in tensorflow : AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'IntegrityError at /likes/9/ FOREIGN KEY constraint failedFailed to load the native TensorFlow runtime. when running g2p-seq2seq --version






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm TA in a Programming course. This week's challenge was to build a basic chess game. Teacher made a game.py library, that would help them. The problem is, when calling the LostGame class, which is defined as follows (and uses Arcade library):



class LostGame(arcade.Window):

def __init__(self):
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
self.sprites_list = None
self.background = None
arcade.set_background_color(arcade.color.RED)
self.moves = []
self.doing = 0
self.started = 0
self.current_text = "Comienza el juego"


We will have the following error:



Traceback (most recent call last):
File "test.py", line 4, in <module>
juego = game.LostGame()
File "/Users/daniel/Documents/Doctorado/Ayudantías/IIC2115/L02/game.py", line 39, in __init__
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/application.py", line 53, in __init__
resizable=resizable, config=config)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/window/__init__.py", line 643, in __init__
self._create()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create
self.context.attach(self.canvas)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/gl/cocoa.py", line 289, in attach
self._nscontext.setView_(canvas.nsview)
AttributeError: 'NoneType' object has no attribute 'setView_'


We noticed that this error would happen in all computers that have Anaconda installed. We thing it may be because it Anaconda's python doesn't recognise Arcade library. We have already ran the code on an independent version of Python 3.7, without success.



Thanks in advance for your help!










share|improve this question
























  • well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

    – wpercy
    Mar 27 at 15:32











  • I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

    – Prayson W. Daniel
    Mar 27 at 15:59

















0















I'm TA in a Programming course. This week's challenge was to build a basic chess game. Teacher made a game.py library, that would help them. The problem is, when calling the LostGame class, which is defined as follows (and uses Arcade library):



class LostGame(arcade.Window):

def __init__(self):
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
self.sprites_list = None
self.background = None
arcade.set_background_color(arcade.color.RED)
self.moves = []
self.doing = 0
self.started = 0
self.current_text = "Comienza el juego"


We will have the following error:



Traceback (most recent call last):
File "test.py", line 4, in <module>
juego = game.LostGame()
File "/Users/daniel/Documents/Doctorado/Ayudantías/IIC2115/L02/game.py", line 39, in __init__
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/application.py", line 53, in __init__
resizable=resizable, config=config)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/window/__init__.py", line 643, in __init__
self._create()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create
self.context.attach(self.canvas)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/gl/cocoa.py", line 289, in attach
self._nscontext.setView_(canvas.nsview)
AttributeError: 'NoneType' object has no attribute 'setView_'


We noticed that this error would happen in all computers that have Anaconda installed. We thing it may be because it Anaconda's python doesn't recognise Arcade library. We have already ran the code on an independent version of Python 3.7, without success.



Thanks in advance for your help!










share|improve this question
























  • well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

    – wpercy
    Mar 27 at 15:32











  • I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

    – Prayson W. Daniel
    Mar 27 at 15:59













0












0








0








I'm TA in a Programming course. This week's challenge was to build a basic chess game. Teacher made a game.py library, that would help them. The problem is, when calling the LostGame class, which is defined as follows (and uses Arcade library):



class LostGame(arcade.Window):

def __init__(self):
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
self.sprites_list = None
self.background = None
arcade.set_background_color(arcade.color.RED)
self.moves = []
self.doing = 0
self.started = 0
self.current_text = "Comienza el juego"


We will have the following error:



Traceback (most recent call last):
File "test.py", line 4, in <module>
juego = game.LostGame()
File "/Users/daniel/Documents/Doctorado/Ayudantías/IIC2115/L02/game.py", line 39, in __init__
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/application.py", line 53, in __init__
resizable=resizable, config=config)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/window/__init__.py", line 643, in __init__
self._create()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create
self.context.attach(self.canvas)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/gl/cocoa.py", line 289, in attach
self._nscontext.setView_(canvas.nsview)
AttributeError: 'NoneType' object has no attribute 'setView_'


We noticed that this error would happen in all computers that have Anaconda installed. We thing it may be because it Anaconda's python doesn't recognise Arcade library. We have already ran the code on an independent version of Python 3.7, without success.



Thanks in advance for your help!










share|improve this question














I'm TA in a Programming course. This week's challenge was to build a basic chess game. Teacher made a game.py library, that would help them. The problem is, when calling the LostGame class, which is defined as follows (and uses Arcade library):



class LostGame(arcade.Window):

def __init__(self):
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
self.sprites_list = None
self.background = None
arcade.set_background_color(arcade.color.RED)
self.moves = []
self.doing = 0
self.started = 0
self.current_text = "Comienza el juego"


We will have the following error:



Traceback (most recent call last):
File "test.py", line 4, in <module>
juego = game.LostGame()
File "/Users/daniel/Documents/Doctorado/Ayudantías/IIC2115/L02/game.py", line 39, in __init__
super().__init__(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/application.py", line 53, in __init__
resizable=resizable, config=config)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/window/__init__.py", line 643, in __init__
self._create()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create
self.context.attach(self.canvas)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyglet/gl/cocoa.py", line 289, in attach
self._nscontext.setView_(canvas.nsview)
AttributeError: 'NoneType' object has no attribute 'setView_'


We noticed that this error would happen in all computers that have Anaconda installed. We thing it may be because it Anaconda's python doesn't recognise Arcade library. We have already ran the code on an independent version of Python 3.7, without success.



Thanks in advance for your help!







python anaconda






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 27 at 15:28









idmdvanidmdvan

142 bronze badges




142 bronze badges















  • well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

    – wpercy
    Mar 27 at 15:32











  • I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

    – Prayson W. Daniel
    Mar 27 at 15:59

















  • well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

    – wpercy
    Mar 27 at 15:32











  • I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

    – Prayson W. Daniel
    Mar 27 at 15:59
















well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

– wpercy
Mar 27 at 15:32





well it definitely recognizes that arcade is installed, you can see it try to call _create here: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/arcade/monkey_patch_pyglet.py", line 81, in _create

– wpercy
Mar 27 at 15:32













I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

– Prayson W. Daniel
Mar 27 at 15:59





I am not sure it is Anaconda issue. Look at the packages dependencies in the PC to which the code is running. Get the Python version, library used. With Anaconda(conda) you can create an environment with the same requirements and then run the code in that environment.

– Prayson W. Daniel
Mar 27 at 15:59












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380918%2fcant-run-library-on-machines-that-have-anaconda-installed%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380918%2fcant-run-library-on-machines-that-have-anaconda-installed%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript