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

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현